Files
codeql/csharp/ql/test/library-tests/expressions/Literals1.ql
2018-12-20 10:19:59 +01:00

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