Files
codeql/csharp/ql/test/library-tests/csharp11/cil/refField.ql
2024-03-07 09:40:34 +01:00

6 lines
175 B
Plaintext

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