mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
C#: Fix some qltests.
This commit is contained in:
@@ -38,21 +38,3 @@ namespace RequestForgery.Controllers
|
||||
}
|
||||
}
|
||||
}
|
||||
// Missing stubs:
|
||||
namespace System.Net.Http
|
||||
{
|
||||
public class HttpClient
|
||||
{
|
||||
public async Task SendAsync(HttpRequestMessage request) => throw null;
|
||||
}
|
||||
|
||||
public class HttpRequestMessage
|
||||
{
|
||||
public HttpRequestMessage(HttpMethod method, string requestUri) => throw null;
|
||||
}
|
||||
|
||||
public class HttpMethod
|
||||
{
|
||||
public static readonly HttpMethod Get;
|
||||
}
|
||||
}
|
||||
|
||||
1
csharp/ql/test/experimental/CWE-918/options
Normal file
1
csharp/ql/test/experimental/CWE-918/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: /r:System.Net.Http.dll
|
||||
Reference in New Issue
Block a user