Files
codeql/csharp/ql/test/library-tests/csharp11/cil/refField.ql
2023-01-30 14:28:35 +01:00

6 lines
164 B
Plaintext

import cil
query predicate cilfields(CIL::Field f, string type) {
f.isRef() and type = f.getType().toString() and f.getDeclaringType().getName() = "RefStruct"
}