CodeQL library for C#
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()