Member predicate LocalVariable::getInitializer
Gets the initializer expression of this local variable, if any.
For example, the initializer of total
is 0
, and s
has no
initializer, in
void M(string[] ss) {
int total = 0;
...
foreach (var s in ss)
...
}