File tree Expand file tree Collapse file tree 1 file changed +1
-25
lines changed
csharp/ql/test/resources/stubs Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Original file line number Diff line number Diff line change @@ -184,31 +184,7 @@ public class HttpRequest
184184 public string UserAgent ( string s ) => null ;
185185 public string UrlReferrer ( string s ) => null ;
186186 public NameValueCollection ServerVariables => null ;
187- // Default property that goes through the collections
188- // QueryString, Form, Cookies, ClientCertificate and ServerVariables
189- public String this [ String key ]
190- {
191- get
192- {
193- String s ;
194-
195- s = QueryString [ key ] ;
196- if ( s != null )
197- return s ;
198-
199- s = Form [ key ] ;
200- if ( s != null )
201- return s ;
202-
203- HttpCookie c = Cookies [ key ] ;
204- if ( c != null )
205- return c . Value ;
206-
207- s = ServerVariables [ key ] ;
208- if ( s != null )
209- return s ;
210- }
211- }
187+ public String this [ String key ] => null ;
212188 }
213189
214190 public class HttpRequestWrapper : System . Web . HttpRequestBase
You can’t perform that action at this time.
0 commit comments