CodeQL library for C#
codeql/csharp-all 3.0.2-dev (changelog, source)
Search

Member predicate Parameter::getDefaultValue

Gets the default value of this parameter, if any. For example, the default value of numberOfTries is 3 in

void Connect(int numberOfTries = 3) {
  ...
}
Expr getDefaultValue()