3 references to Throws
Microsoft.AspNetCore.InternalTesting (1)
ExceptionAssertions.cs (1)
72
return
Throws
<TException>(() => { testCode(); }, exceptionMessage);
Microsoft.AspNetCore.Routing.Tests (2)
RouteConstraintBuilderTest.cs (2)
79
ExceptionAssert.
Throws
<RouteCreationException>(
95
ExceptionAssert.
Throws
<InvalidOperationException>(