2 instantiations of TestCorsMetadata
Microsoft.AspNetCore.Routing.Tests (2)
RouteEndpointBuilderTest.cs (2)
88
Metadata = { new
TestCorsMetadata
(), new HttpMethodMetadata(new[] { HttpMethods.Delete }, acceptCorsPreflight: false) }
108
Metadata = { new HttpMethodMetadata(new[] { HttpMethods.Get }, acceptCorsPreflight: false), new
TestCorsMetadata
(), new HttpMethodMetadata(new[] { HttpMethods.Delete }, acceptCorsPreflight: false) }