Пример #1
0
 public virtual void VisitBracketedParameterList(BracketedParameterListSyntax node)
 {
     DefaultVisit(node);
 }
Пример #2
0
        public static BracketedParameterListSyntax BracketedParameterList(params ParameterSyntax[] parameters)
        {
            var result = new BracketedParameterListSyntax();

            if (parameters != null)
                result.Parameters.AddRange(parameters);

            return result;
        }
Пример #3
0
        public static IndexerDeclarationSyntax IndexerDeclaration(IEnumerable<AttributeListSyntax> attributeLists = null, Modifiers modifiers = default(Modifiers), string type = null, ExplicitInterfaceSpecifierSyntax explicitInterfaceSpecifier = null, BracketedParameterListSyntax parameterList = null, AccessorListSyntax accessorList = null)
        {
            var result = new IndexerDeclarationSyntax();

            if (attributeLists != null)
                result.AttributeLists.AddRange(attributeLists);
            result.Modifiers = modifiers;
            if (type != null)
                result.Type = ParseName(type);
            result.ExplicitInterfaceSpecifier = explicitInterfaceSpecifier;
            result.ParameterList = parameterList;
            result.AccessorList = accessorList;

            return result;
        }
Пример #4
0
        public static BracketedParameterListSyntax BracketedParameterList(IEnumerable<ParameterSyntax> parameters = null)
        {
            var result = new BracketedParameterListSyntax();

            if (parameters != null)
                result.Parameters.AddRange(parameters);

            return result;
        }
Пример #5
0
 public virtual void VisitBracketedParameterList(BracketedParameterListSyntax node)
 {
     DefaultVisit(node);
 }