mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
C#: Add test for tuple expressions.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
| expressions.cs:492:29:492:41 | access to type (Int32,String) | expressions.cs:492:29:492:41 | (Int32,String) |
|
||||
| expressions.cs:493:29:493:49 | access to type (Boolean,Int32[],Object) | expressions.cs:493:29:493:49 | (Boolean,Int32[],Object) |
|
||||
| expressions.cs:494:28:494:40 | access to type (Int32,String) | expressions.cs:492:29:492:41 | (Int32,String) |
|
||||
| expressions.cs:495:28:495:49 | access to type (Boolean,Int32[],dynamic) | expressions.cs:495:28:495:49 | (Boolean,Int32[],dynamic) |
|
||||
5
csharp/ql/test/library-tests/expressions/Tuples1.ql
Normal file
5
csharp/ql/test/library-tests/expressions/Tuples1.ql
Normal file
@@ -0,0 +1,5 @@
|
||||
import csharp
|
||||
|
||||
from TypeAccess access, TupleType type
|
||||
where type = access.getTarget()
|
||||
select access, type
|
||||
Reference in New Issue
Block a user