mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
C#: Add namespace_access_expr because of nameof(Namespace)
This commit is contained in:
@@ -164,4 +164,9 @@ unsafe class ArrayTypesTest
|
||||
int*[][] field;
|
||||
}
|
||||
|
||||
class NameofNamespace
|
||||
{
|
||||
string s = nameof(System);
|
||||
}
|
||||
|
||||
// semmle-extractor-options: /r:System.Dynamic.Runtime.dll
|
||||
|
||||
@@ -79,3 +79,4 @@
|
||||
| Program.cs:164:3:164:5 | Int32 |
|
||||
| Program.cs:164:3:164:6 | Int32* |
|
||||
| Program.cs:164:3:164:10 | Int32*[][] |
|
||||
| Program.cs:169:5:169:10 | String |
|
||||
|
||||
Reference in New Issue
Block a user