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

12 lines
324 B
Plaintext

/**
* @name Test logical operators
*/
import csharp
from LogicalOperation o, int i, Location loc
where loc = o.getLocation()
and loc.getStartLine() = loc.getEndLine()
and o.getEnclosingCallable().getName() = "LogicalOperators"
select loc.getStartLine(), loc.getStartColumn(), loc.getEndColumn(), o, i, o.getChild(i)