예제 #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);
 }