mirror of
https://github.com/github/codeql.git
synced 2026-03-28 10:18:17 +01:00
12 lines
180 B
Plaintext
12 lines
180 B
Plaintext
/**
|
|
* @name Test for literals
|
|
*/
|
|
import csharp
|
|
|
|
from Method m, IntLiteral l
|
|
where m.hasName("MainLiterals")
|
|
and l.getEnclosingCallable() = m
|
|
and l.getValue() = "1"
|
|
select l
|
|
|