mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
15 lines
268 B
Plaintext
15 lines
268 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
|