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