Files
codeql/csharp/ql/test/library-tests/fields/Fields10.ql
2023-11-10 08:46:15 +01:00

14 lines
263 B
Plaintext

/**
* @name Test for fields
*/
import csharp
from Field f, SimpleType t
where
f.getName() = "MaxValue" and
f.getDeclaringType() = t and
t.hasFullyQualifiedName("System", "Decimal") and
f.isPublic()
select f.toString(), f.getDeclaringType().toString()