51 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}\")";
Microsoft.Extensions.Http.Diagnostics (1)
Http\DownstreamDependencyMetadataManager.cs (1)
52return GetRequestMetadataInternal(requestMessage.Method.Method, requestMessage.RequestUri.AbsolutePath, hostMetadata);
Stress.AppHost (1)
ResourceBuilderExtensions.cs (1)
47var commandType = $"http-{method.Method.ToLowerInvariant()}-{path.ToLowerInvariant()}-request";
System.Net.Http (17)
System\Net\Http\DiagnosticsHandler.cs (3)
116activity.DisplayName = HttpMethod.GetKnownMethod(request.Method.Method)?.Method ?? "HTTP"; 125activity.SetTag("http.request.method_original", request.Method.Method);
System\Net\Http\DiagnosticsHelper.cs (2)
48HttpMethod? known = HttpMethod.GetKnownMethod(method.Method); 50return new KeyValuePair<string, object?>("http.request.method", isUnknownMethod ? "_OTHER" : known!.Method);
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\SocketsHttpHandler\AuthenticationHelper.Digest.cs (1)
147string a2 = request.Method.Method + ":" + request.RequestUri.PathAndQuery;
System.Net.Requests (4)
System\Net\HttpWebRequest.cs (3)
39private string _originVerb = HttpMethod.Get.Method; 1077if (string.Equals(HttpMethod.Get.Method, _originVerb, StringComparison.OrdinalIgnoreCase) || 1078string.Equals(HttpMethod.Head.Method, _originVerb, StringComparison.OrdinalIgnoreCase) ||
System\Net\HttpWebResponse.cs (1)
225return _httpResponseMessage.RequestMessage!.Method.Method;