mirror of
https://github.com/github/codeql.git
synced 2026-03-22 07:26:45 +01:00
11 lines
262 B
Plaintext
11 lines
262 B
Plaintext
/**
|
|
* @name Tests conditional method calls
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from MethodCall mc, string conditional
|
|
where (mc.isConditional() and conditional="Conditional")
|
|
or (not mc.isConditional() and conditional="Unconditional")
|
|
select mc, mc.getQualifier(), conditional
|