mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
14 lines
266 B
Plaintext
14 lines
266 B
Plaintext
/**
|
|
* @name Test for literals
|
|
*/
|
|
import csharp
|
|
|
|
from Method m, BoolLiteral t, BoolLiteral f
|
|
where m.hasName("MainLiterals")
|
|
and t.getEnclosingCallable() = m
|
|
and t.getValue() = "true"
|
|
and f.getEnclosingCallable() = m
|
|
and f.getValue() = "false"
|
|
select t, f
|
|
|