public virtual void VisitConstructorInitializer(ConstructorInitializerSyntax node) { DefaultVisit(node); }
public static ConstructorDeclarationSyntax ConstructorDeclaration(IEnumerable<AttributeListSyntax> attributeLists = null, Modifiers modifiers = default(Modifiers), string identifier = null, ParameterListSyntax parameterList = null, ConstructorInitializerSyntax initializer = null, BlockSyntax body = null) { var result = new ConstructorDeclarationSyntax(); if (attributeLists != null) result.AttributeLists.AddRange(attributeLists); result.Modifiers = modifiers; result.Identifier = identifier; result.ParameterList = parameterList; result.Initializer = initializer; result.Body = body; return result; }
public static ConstructorInitializerSyntax ConstructorInitializer(ThisOrBase kind = default(ThisOrBase), ArgumentListSyntax argumentList = null) { var result = new ConstructorInitializerSyntax(); result.Kind = kind; result.ArgumentList = argumentList; return result; }