Files
codeql/csharp/ql/test/library-tests/expressions/Literals1.ql
2018-08-02 17:53:23 +01:00

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