@@ -24,7 +24,6 @@ public static class EndpointRouteBuilderExtensions
2424    private  static   readonly  string [ ]  PutVerb  =  new [ ]  {  HttpMethods . Put  } ; 
2525    private  static   readonly  string [ ]  DeleteVerb  =  new [ ]  {  HttpMethods . Delete  } ; 
2626    private  static   readonly  string [ ]  PatchVerb  =  new [ ]  {  HttpMethods . Patch  } ; 
27-     private  static   readonly  string [ ]  QueryVerb  =  new [ ]  {  HttpMethods . Query  } ; 
2827
2928    /// <summary> 
3029    /// Creates a <see cref="RouteGroupBuilder"/> for defining endpoints all prefixed with the specified <paramref name="prefix"/>. 
@@ -135,22 +134,6 @@ public static IEndpointConventionBuilder MapPatch(
135134        return  MapMethods ( endpoints ,  pattern ,  PatchVerb ,  requestDelegate ) ; 
136135    } 
137136
138-     /// <summary> 
139-     /// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP QUERY requests 
140-     /// for the specified pattern. 
141-     /// </summary> 
142-     /// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param> 
143-     /// <param name="pattern">The route pattern.</param> 
144-     /// <param name="requestDelegate">The delegate executed when the endpoint is matched.</param> 
145-     /// <returns>A <see cref="IEndpointConventionBuilder"/> that can be used to further customize the endpoint.</returns> 
146-     public  static   IEndpointConventionBuilder  MapQuery ( 
147-         this  IEndpointRouteBuilder  endpoints , 
148-         [ StringSyntax ( "Route" ) ]  string  pattern , 
149-         RequestDelegate  requestDelegate ) 
150-     { 
151-         return  MapMethods ( endpoints ,  pattern ,  QueryVerb ,  requestDelegate ) ; 
152-     } 
153- 
154137    /// <summary> 
155138    /// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP requests 
156139    /// for the specified HTTP methods and pattern. 
@@ -324,24 +307,6 @@ public static RouteHandlerBuilder MapPatch(
324307        return  MapMethods ( endpoints ,  pattern ,  PatchVerb ,  handler ) ; 
325308    } 
326309
327-     /// <summary> 
328-     /// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP QUERY requests 
329-     /// for the specified pattern. 
330-     /// </summary> 
331-     /// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param> 
332-     /// <param name="pattern">The route pattern.</param> 
333-     /// <param name="handler">The <see cref="Delegate" /> executed when the endpoint is matched.</param> 
334-     /// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 
335-     [ RequiresUnreferencedCode ( MapEndpointUnreferencedCodeWarning ) ] 
336-     [ RequiresDynamicCode ( MapEndpointDynamicCodeWarning ) ] 
337-     public  static   RouteHandlerBuilder  MapQuery ( 
338-         this  IEndpointRouteBuilder  endpoints , 
339-         [ StringSyntax ( "Route" ) ]  string  pattern , 
340-         Delegate  handler ) 
341-     { 
342-         return  MapMethods ( endpoints ,  pattern ,  QueryVerb ,  handler ) ; 
343-     } 
344- 
345310    /// <summary> 
346311    /// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP requests 
347312    /// for the specified HTTP methods and pattern. 
0 commit comments