11 references to Patch
Microsoft.AspNetCore.Hosting (2)
Internal\HostingMetrics.cs (2)
127KeyValuePair.Create(HttpMethods.Patch, HttpMethods.Patch),
Microsoft.AspNetCore.Http.Abstractions (2)
HttpMethods.cs (2)
125return Equals(Patch, method); 177string _ when IsPatch(method) => Patch,
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
HttpMethodslTests.cs (1)
22(new string[] { "PATCH", "Patch", "patch" }, HttpMethods.Patch),
Microsoft.AspNetCore.Routing (3)
Builder\EndpointRouteBuilderExtensions.cs (1)
26private static readonly string[] PatchVerb = new[] { HttpMethods.Patch };
Matching\HttpMethodDestinationsLookup.cs (2)
69else if (method.Equals(HttpMethods.Patch, StringComparison.OrdinalIgnoreCase)) 112_ => (HttpMethods.Patch, _patchDestination),
Microsoft.AspNetCore.Routing.Microbenchmarks (2)
Matching\HttpMethodMatcherPolicyBenchmark.cs (1)
11private static string[] TestHttpMethods = ["*", HttpMethods.Get, HttpMethods.Connect, HttpMethods.Delete, HttpMethods.Head, HttpMethods.Options, HttpMethods.Patch, HttpMethods.Put, HttpMethods.Post, HttpMethods.Trace, "MERGE"];
Matching\HttpMethodPolicyJumpTableBenchmark.cs (1)
40KeyValuePair.Create(HttpMethods.Patch, 6),
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Infrastructure\HttpUtilities.Generated.cs (1)
56_methodNames[(byte)HttpMethod.Patch] = HttpMethods.Patch;