mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
12 lines
237 B
Plaintext
12 lines
237 B
Plaintext
/**
|
|
* @name Test for operators
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from IncrementOperator o
|
|
where
|
|
o.getDeclaringType().hasQualifiedName("Operators", "IntVector") and
|
|
o.getStatementBody().getStmt(2) instanceof ReturnStmt
|
|
select o, o.getReturnType()
|