mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
C#: Add a test for compiler generated statements.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
| fixed.cs:3:7:3:11 | {...} | fixed.cs:3:7:3:11 | Fixed |
|
||||
| statements.cs:7:11:7:15 | {...} | statements.cs:7:11:7:15 | Class |
|
||||
| statements.cs:243:15:243:25 | {...} | statements.cs:243:15:243:25 | AccountLock |
|
||||
@@ -0,0 +1,5 @@
|
||||
import csharp
|
||||
|
||||
from Stmt stmt
|
||||
where stmt.isCompilerGenerated()
|
||||
select stmt, stmt.getEnclosingCallable()
|
||||
Reference in New Issue
Block a user