8 references to AllowAnyMethod
Microsoft.AspNetCore.Cors (2)
Infrastructure\CorsPolicy.cs (1)
152
builder.Append(
AllowAnyMethod
);
Infrastructure\CorsService.cs (1)
118
var allowedMethods = policy.
AllowAnyMethod
?
Microsoft.AspNetCore.Cors.Test (6)
CorsPolicyBuilderTests.cs (5)
29
Assert.False(corsPolicy.
AllowAnyMethod
);
59
Assert.False(corsPolicy.
AllowAnyMethod
);
77
Assert.False(corsPolicy.
AllowAnyMethod
);
101
Assert.False(corsPolicy.
AllowAnyMethod
);
243
Assert.True(corsPolicy.
AllowAnyMethod
);
CorsPolicyTests.cs (1)
16
Assert.False(corsPolicy.
AllowAnyMethod
);