mirror of
https://github.com/github/codeql.git
synced 2026-03-22 07:26:45 +01:00
13 lines
253 B
Plaintext
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()
|
|
|