We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d119c6c commit a1bb354Copy full SHA for a1bb354
src/testing/exceptiontest.cs
@@ -56,11 +56,11 @@ public static bool ThrowException()
56
throw new OverflowException("error");
57
}
58
59
- public static IEnumerable<int> ThrowExceptionInIterator()
+ public static IEnumerable<int> ThrowExceptionInIterator(Exception e)
60
{
61
yield return 1;
62
yield return 2;
63
- throw new OverflowException("error");
+ throw e;
64
65
66
public static void ThrowChainedExceptions()
0 commit comments