mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
14 lines
290 B
Plaintext
14 lines
290 B
Plaintext
/**
|
|
* @name Test for user-defined operator "calls"
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from Method m, OperatorCall e, ExplicitConversionOperator o
|
|
where
|
|
m.hasName("MainConversionOperator") and
|
|
e.getEnclosingCallable() = m and
|
|
e.getTarget() = o and
|
|
e.getArgument(0).getValue() = "8"
|
|
select m, e, o
|