47 references to Method
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpRequestMessageProperty.cs (1)
292return this.HttpRequestMessage.Method.Method;
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterHandler.cs (1)
224stringBuilder.Append(httpMethod.Method);
Microsoft.AspNetCore.SignalR.Client.Tests (1)
LongPollingTransportTests.cs (1)
282switch (request.Method.Method)
Microsoft.AspNetCore.StaticFiles.Tests (21)
CacheHeaderTests.cs (21)
192.SendAsync(method.Method); 198.SendAsync(method.Method); 211.SendAsync(method.Method); 217.SendAsync(method.Method); 224.SendAsync(method.Method); 237.SendAsync(method.Method); 247.SendAsync(method.Method); 253.SendAsync(method.Method); 259.SendAsync(method.Method); 288.SendAsync(method.Method); 303.SendAsync(method.Method); 324.SendAsync(method.Method); 329.SendAsync(method.Method); 342.SendAsync(method.Method); 356.SendAsync(method.Method); 371.SendAsync(method.Method); 376.SendAsync(method.Method); 391.SendAsync(method.Method); 406.SendAsync(method.Method); 420.SendAsync(method.Method); 425.SendAsync(method.Method);
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (4)
Languages\angular\Angular.cs (1)
347return method.Method.ToLowerInvariant();
Languages\csharp\CSharp.cs (3)
212method.Method.ToLower() == "patch" || method == HttpMethod.Post || method == HttpMethod.Put) 214return $"RequestMethod.{Helpers.PascalCase(method.Method.ToLower().AsSpan())}"; 217return $"RequestMethod.Parse(\"{method.Method}\")";
System.Net.Http (14)
System\Net\Http\HttpClient.cs (1)
582!string.Equals(request.Method.Method, "HEAD", StringComparison.OrdinalIgnoreCase);
System\Net\Http\HttpMethod.SocketsHttpHandler.cs (10)
51HttpMethod? knownMethod = GetKnownMethod(Method); 56Debug.Assert(Ascii.IsValid(Method)); 58string method = knownMethod?.Method ?? Method; 75HttpMethod? knownMethod = GetKnownMethod(Method); 84_ => HPackEncoder.EncodeLiteralHeaderFieldWithoutIndexingToAllocatedArray(H2StaticTable.MethodGet, knownMethod?.Method ?? Method) 99HttpMethod? knownMethod = GetKnownMethod(Method); 106: QPackEncoder.EncodeLiteralHeaderFieldWithStaticNameReferenceToArray(H3StaticTable.MethodGet, knownMethod?.Method ?? Method);
System\Net\Http\Metrics\MetricsHandler.cs (2)
208HttpMethod? known = HttpMethod.GetKnownMethod(method.Method); 209return new KeyValuePair<string, object?>("http.request.method", known?.Method ?? "_OTHER");
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.Digest.cs (1)
147string a2 = request.Method.Method + ":" + request.RequestUri.PathAndQuery;
System.Net.Requests (4)
System\Net\HttpWebRequest.cs (3)
37private string _originVerb = HttpMethod.Get.Method; 1075if (string.Equals(HttpMethod.Get.Method, _originVerb, StringComparison.OrdinalIgnoreCase) || 1076string.Equals(HttpMethod.Head.Method, _originVerb, StringComparison.OrdinalIgnoreCase) ||
System\Net\HttpWebResponse.cs (1)
225return _httpResponseMessage.RequestMessage!.Method.Method;
System.ServiceModel.Http (1)
System\ServiceModel\Channels\HttpRequestMessageProperty.cs (1)
275return HttpRequestMessage.Method.Method;