mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
13 lines
326 B
Plaintext
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)
|