17 references to Equals
Microsoft.AspNetCore.Http.Abstractions (10)
HttpMethods.cs (10)
69return Equals(Connect, method); 81return Equals(Delete, method); 93return Equals(Get, method); 105return Equals(Head, method); 117return Equals(Options, method); 129return Equals(Patch, method); 141return Equals(Post, method); 153return Equals(Put, method); 165return Equals(Query, method); 177return Equals(Trace, method);
Microsoft.AspNetCore.Routing (7)
Matching\HttpMethodMatcherPolicy.cs (5)
118HttpMethods.Equals(httpMethod, PreflightHttpMethod) && 131if (!HttpMethods.Equals(httpMethod, candidateMethod)) 410if (HttpMethods.Equals(methods[i], httpMethod)) 424return HttpMethods.Equals(httpMethod, PreflightHttpMethod) && 476HttpMethods.Equals(HttpMethod, other.HttpMethod);
Matching\HttpMethodSingleEntryPolicyJumpTable.cs (2)
39return HttpMethods.Equals(accessControlRequestMethod.ToString(), _method) ? _corsPreflightDestination : _corsPreflightExitDestination; 42return HttpMethods.Equals(httpMethod, _method) ? _destination : _exitDestination;