CodeQL library for C#
codeql/csharp-all 0.7.4 ( 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 ( )