Files
codeql/csharp/ql/test/library-tests/fields/Fields10.ql
2018-12-20 10:19:59 +01:00

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()