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

13 lines
326 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)