22 references to Equals
InMemory.FunctionalTests (2)
Http2\Http2StreamTests.cs (2)
185Assert.True(HttpMethods.Equals(method, context.Request.Method)); 236Assert.True(HttpMethods.Equals(method, context.Request.Method));
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;
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (3)
Http2Tests.cs (3)
117Assert.True(HttpMethods.Equals(method, httpContext.Request.Method)); 167Assert.True(HttpMethods.Equals(method, httpContext.Request.Method)); 231Assert.True(HttpMethods.Equals(method, httpContext.Request.Method));