mirror of
https://github.com/github/codeql.git
synced 2026-02-28 04:43:42 +01:00
12 lines
279 B
Plaintext
12 lines
279 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()
|
|
|