mirror of
https://github.com/github/codeql.git
synced 2026-03-01 13:23:49 +01:00
10 lines
285 B
Plaintext
10 lines
285 B
Plaintext
import csharp
|
|
|
|
from Callable m, Parameter p, Expr v, string value
|
|
where m.getDeclaringType().hasName("TestDefaultParameters")
|
|
and p=m.getAParameter()
|
|
and v=p.getDefaultValue()
|
|
and p.hasDefaultValue()
|
|
and if exists(v.getValue()) then value=v.getValue() else value=""
|
|
select p, v, value
|