1 instantiation of TestException
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
UtilityTest\TaskExtensionsTests.cs (1)
29
private static int ThrowTestException() => throw new
TestException
();
2 references to TestException
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
UtilityTest\TaskExtensionsTests.cs (2)
24
var
ex = Assert.Throws<
TestException
>(() => Task.Run(() => ThrowTestException()).WaitAndGetResult_CanCallOnBackground(CancellationToken.None));