mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02: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
|
|
|