ArrayList parameters = new ArrayList(); // [ParameterDeclarationExpression] #endregion Fields #region Constructors public ConstructorDeclaration(string name, Modifier modifier, ArrayList parameters, ConstructorInitializer constructorInitializer, ArrayList attributes) { this.name = name; this.modifier = modifier; if (parameters != null) { this.parameters = parameters; } this.constructorInitializer = constructorInitializer; this.attributes = attributes; }
void ConstructorInitializer( #line 1441 "cs.ATG" out ConstructorInitializer ci) { #line 1442 "cs.ATG" Expression expr; ci = new ConstructorInitializer(); Expect(9); if (la.kind == 50) { lexer.NextToken(); #line 1446 "cs.ATG" ci.ConstructorInitializerType = ConstructorInitializerType.Base; } else if (la.kind == 110) { lexer.NextToken(); #line 1447 "cs.ATG" ci.ConstructorInitializerType = ConstructorInitializerType.This; } else SynErr(158); Expect(18); if (StartOf(21)) { Argument( #line 1450 "cs.ATG" out expr); #line 1450 "cs.ATG" ci.Arguments.Add(expr); while (la.kind == 12) { lexer.NextToken(); Argument( #line 1450 "cs.ATG" out expr); #line 1450 "cs.ATG" ci.Arguments.Add(expr); } } Expect(19); }