mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
14 lines
365 B
Plaintext
14 lines
365 B
Plaintext
import csharp
|
|
|
|
query predicate arguments(Attribute attribute, int index, Expr e) {
|
|
e = attribute.getArgument(index)
|
|
}
|
|
|
|
query predicate constructorArguments(Attribute attribute, int index, Expr e) {
|
|
e = attribute.getConstructorArgument(index)
|
|
}
|
|
|
|
query predicate namedArguments(Attribute attribute, string name, Expr e) {
|
|
e = attribute.getNamedArgument(name)
|
|
}
|