4 references to Throws
Microsoft.AspNetCore.DataProtection.Tests (1)
RegistryPolicyResolverTests.cs (1)
64
var ex = ExceptionAssert.
Throws
<InvalidOperationException>(() => RunTestWithRegValues(registryEntries));
Microsoft.AspNetCore.InternalTesting (3)
ExceptionAssertions.cs (3)
37
var ex =
Throws
<TException>(testCode);
93
var ex =
Throws
<TException>(testCode);
137
var ex =
Throws
<ArgumentNullException>(testCode);