mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
10 lines
281 B
Plaintext
10 lines
281 B
Plaintext
import csharp
|
|
|
|
query predicate noBody(LocalFunction lf) { not lf.hasBody() }
|
|
|
|
query predicate localFunctionModifier(LocalFunction lf, string modifier) {
|
|
lf.hasModifier(modifier)
|
|
}
|
|
|
|
query predicate localFunctionAttribute(LocalFunction lf, Attribute a) { a = lf.getAnAttribute() }
|