mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
12 lines
177 B
Plaintext
12 lines
177 B
Plaintext
/**
|
|
* @name Test for enums
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from EnumConstant c
|
|
where
|
|
c.getName() = "Red" and
|
|
c.getDeclaringType().hasQualifiedName("Enums.Color")
|
|
select c, c.getType()
|