C#: Base the asp/basic tests on stubs only.

This commit is contained in:
Michael Nebel
2023-12-12 11:20:01 +01:00
parent 0b39f1155e
commit 4fc8762444
2 changed files with 5 additions and 3 deletions

View File

@@ -1,2 +1,2 @@
| script.aspx:1:1:1:75 | <%@Page ...%> | Test.cs:11:11:11:24 | CodeBehindPage |
| test.aspx:1:1:1:56 | <%@Page ...%> | Test.cs:11:11:11:24 | CodeBehindPage |
| script.aspx:1:1:1:75 | <%@Page ...%> | Test.cs:13:11:13:24 | CodeBehindPage |
| test.aspx:1:1:1:56 | <%@Page ...%> | Test.cs:13:11:13:24 | CodeBehindPage |

View File

@@ -1,4 +1,6 @@
// semmle-extractor-options: ${testdir}/../../../resources/stubs/System.Web.cs /r:System.Collections.Specialized.dll
// semmle-extractor-options: /nostdlib /noconfig
// semmle-extractor-options: --load-sources-from-project:${testdir}/../../../resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj
// semmle-extractor-options: ${testdir}/../../../resources/stubs/System.Web.cs
using System;
using System.Web;