Files
codeql/csharp/ql/test/library-tests/csharp11/nameofScope.ql

8 lines
184 B
Plaintext

import csharp
query predicate nameof(NameOfExpr e, string parent, string v) {
e.getFile().getStem() = "NameofScope" and
e.getParent().toString() = parent and
v = e.getValue()
}