public virtual void VisitBracketedParameterList(BracketedParameterListSyntax node) { DefaultVisit(node); }
public static BracketedParameterListSyntax BracketedParameterList(params ParameterSyntax[] parameters) { var result = new BracketedParameterListSyntax(); if (parameters != null) result.Parameters.AddRange(parameters); return result; }
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; }
public static BracketedParameterListSyntax BracketedParameterList(IEnumerable<ParameterSyntax> parameters = null) { var result = new BracketedParameterListSyntax(); if (parameters != null) result.Parameters.AddRange(parameters); return result; }