mirror of
https://github.com/github/codeql.git
synced 2026-03-22 15:36:48 +01:00
12 lines
324 B
Plaintext
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)
|