mirror of
https://github.com/github/codeql.git
synced 2026-02-16 15:03:41 +01:00
12 lines
185 B
Plaintext
12 lines
185 B
Plaintext
/**
|
|
* @name Test for enums
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from EnumConstant c
|
|
where
|
|
c.getName() = "Red" and
|
|
c.getDeclaringType().hasFullyQualifiedName("Enums", "Color")
|
|
select c, c.getType()
|