mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
13 lines
281 B
Plaintext
13 lines
281 B
Plaintext
/**
|
|
* @name Test for operators
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from IncrementOperator o
|
|
where
|
|
o.getDeclaringType().hasQualifiedName("Operators", "IntVector") and
|
|
o.getReturnType() = o.getDeclaringType() and
|
|
o.getParameter(0).getType() = o.getDeclaringType()
|
|
select o, o.getReturnType()
|