mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
13 lines
326 B
Plaintext
13 lines
326 B
Plaintext
import csharp
|
|
|
|
query predicate members1(TupleType t, string m) {
|
|
t.fromSource() and
|
|
m = t.getAMember().toStringWithTypes()
|
|
}
|
|
|
|
query predicate members2(TupleType t, string s, string m) {
|
|
t.fromSource() and
|
|
s = t.getUnderlyingType().toStringWithTypes() and
|
|
m = t.getUnderlyingType().getAMember().toStringWithTypes()
|
|
}
|