C#: Add a test for compiler generated statements.

This commit is contained in:
Michael Nebel
2024-02-22 16:11:13 +01:00
parent e6f4263eff
commit ff32cf90fd
2 changed files with 8 additions and 0 deletions

View File

@@ -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 |

View File

@@ -0,0 +1,5 @@
import csharp
from Stmt stmt
where stmt.isCompilerGenerated()
select stmt, stmt.getEnclosingCallable()