C#: Add namespace_access_expr because of nameof(Namespace)

This commit is contained in:
Calum Grant
2019-07-04 15:54:35 +01:00
parent ae36359058
commit 8aeeec01ff
10 changed files with 3767 additions and 4 deletions

View File

@@ -164,4 +164,9 @@ unsafe class ArrayTypesTest
int*[][] field;
}
class NameofNamespace
{
string s = nameof(System);
}
// semmle-extractor-options: /r:System.Dynamic.Runtime.dll

View File

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