mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
14 lines
255 B
Plaintext
14 lines
255 B
Plaintext
/**
|
|
* @name Test for fields
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from Field f, SimpleType t
|
|
where
|
|
f.getName() = "MaxValue" and
|
|
f.getDeclaringType() = t and
|
|
t.hasQualifiedName("System.Decimal") and
|
|
f.isPublic()
|
|
select f.toString(), f.getDeclaringType().toString()
|