Skip to content

Commit 4fc8762

Browse files
committed
C#: Base the asp/basic tests on stubs only.
1 parent 0b39f11 commit 4fc8762

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
| script.aspx:1:1:1:75 | <%@Page ...%> | Test.cs:11:11:11:24 | CodeBehindPage |
2-
| test.aspx:1:1:1:56 | <%@Page ...%> | Test.cs:11:11:11:24 | CodeBehindPage |
1+
| script.aspx:1:1:1:75 | <%@Page ...%> | Test.cs:13:11:13:24 | CodeBehindPage |
2+
| test.aspx:1:1:1:56 | <%@Page ...%> | Test.cs:13:11:13:24 | CodeBehindPage |

csharp/ql/test/library-tests/asp/basic/Test.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
// semmle-extractor-options: ${testdir}/../../../resources/stubs/System.Web.cs /r:System.Collections.Specialized.dll
1+
// semmle-extractor-options: /nostdlib /noconfig
2+
// semmle-extractor-options: --load-sources-from-project:${testdir}/../../../resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj
3+
// semmle-extractor-options: ${testdir}/../../../resources/stubs/System.Web.cs
24

35
using System;
46
using System.Web;

0 commit comments

Comments
 (0)