Files
codeql/csharp/ql/test/library-tests/fields/Fields10.ql
2018-08-02 17:53:23 +01:00

13 lines
253 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()