mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
17 lines
312 B
Plaintext
17 lines
312 B
Plaintext
import csharp
|
|
|
|
query predicate reffields(Field f) {
|
|
f.getFile().getStem() = "Struct" and
|
|
f.isRef()
|
|
}
|
|
|
|
query predicate readonlyreffields(Field f) {
|
|
f.getFile().getStem() = "Struct" and
|
|
f.isReadonlyRef()
|
|
}
|
|
|
|
query predicate readonlyfield(Field f) {
|
|
f.getFile().getStem() = "Struct" and
|
|
f.isReadOnly()
|
|
}
|