12 references to AnyMethod
Microsoft.AspNetCore.Cors (2)
Infrastructure\CorsPolicy.cs (1)
49
if (Methods == null || Methods.Count != 1 || Methods[0] != CorsConstants.
AnyMethod
)
Infrastructure\CorsPolicyBuilder.cs (1)
174
_policy.Methods.Add(CorsConstants.
AnyMethod
);
Microsoft.AspNetCore.Cors.Test (10)
CorsServiceTests.cs (10)
342
policy.Methods.Add(CorsConstants.
AnyMethod
);
364
policy.Methods.Add(CorsConstants.
AnyMethod
);
384
policy.Methods.Add(CorsConstants.
AnyMethod
);
404
policy.Methods.Add(CorsConstants.
AnyMethod
);
424
policy.Methods.Add(CorsConstants.
AnyMethod
);
441
policy.Methods.Add(CorsConstants.
AnyMethod
);
481
policy.Methods.Add(CorsConstants.
AnyMethod
);
504
policy.Methods.Add(CorsConstants.
AnyMethod
);
527
policy.Methods.Add(CorsConstants.
AnyMethod
);
547
policy.Methods.Add(CorsConstants.
AnyMethod
);