public virtual void VisitConstructorInitializer(ConstructorInitializerSyntax node)
 {
     DefaultVisit(node);
 }
示例#2
0
        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;
        }
示例#3
0
        public static ConstructorInitializerSyntax ConstructorInitializer(ThisOrBase kind = default(ThisOrBase), ArgumentListSyntax argumentList = null)
        {
            var result = new ConstructorInitializerSyntax();

            result.Kind = kind;
            result.ArgumentList = argumentList;

            return result;
        }
示例#4
0
 public virtual void VisitConstructorInitializer(ConstructorInitializerSyntax node)
 {
     DefaultVisit(node);
 }