mirror of
https://github.com/github/codeql.git
synced 2026-03-05 15:16:47 +01:00
14 lines
270 B
Plaintext
14 lines
270 B
Plaintext
/**
|
|
* @name Test for fields
|
|
*/
|
|
import csharp
|
|
|
|
from Field f, UnboundGenericClass c
|
|
where f.getName() = "count"
|
|
and f.getDeclaringType() = c
|
|
and c.hasQualifiedName("Fields.C<>")
|
|
and f.getType() instanceof IntType
|
|
and f.isStatic()
|
|
select f, f.getDeclaringType()
|
|
|