Files
codeql/csharp/ql/test/library-tests/fields/Fields10.ql

14 lines
258 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()