133 instantiations of SyntaxList
Microsoft.CodeAnalysis (9)
Syntax\SyntaxList`1.cs (5)
25return new SyntaxList<TNode>(createGreenNode(nodes).CreateRed()); 351return new SyntaxList<TNode>(newGreen!.CreateRed()); 489return new SyntaxList<TNode>(nodes._node); 494return new SyntaxList<SyntaxNode>(nodes.Node); 499return new SyntaxList<TNode>(nodes._node);
Syntax\SyntaxListBuilder.cs (2)
110this.AddRange(new SyntaxList<SyntaxNode>(list.Node), offset, count); 145this.AddRange(new SyntaxList<SyntaxNode>(list.Node.CreateRed()), offset, length);
Syntax\SyntaxListBuilderExtensions.cs (2)
27return new SyntaxList<SyntaxNode>(listNode.CreateRed()); 39return new SyntaxList<TNode>(listNode.CreateRed());
Microsoft.CodeAnalysis.CSharp (12)
Parser\LanguageParser.cs (6)
174new SyntaxList<ExternAliasDirectiveSyntax>(), 175new SyntaxList<UsingDirectiveSyntax>(), 176new SyntaxList<AttributeListSyntax>(), 177new SyntaxList<MemberDeclarationSyntax>(), 2435new SyntaxList<AttributeListSyntax>(), 2436new SyntaxList<SyntaxToken>(),
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
43indexerNameAttributeLists: new SyntaxList<AttributeListSyntax>(),
Symbols\Synthesized\Records\SynthesizedRecordPropertySymbol.cs (1)
41indexerNameAttributeLists: new SyntaxList<AttributeListSyntax>(),
Syntax\InternalSyntax\SyntaxFactory.cs (2)
304return new SeparatedSyntaxList<TNode>(new SyntaxList<CSharpSyntaxNode>(node)); 309return new SeparatedSyntaxList<TNode>(new SyntaxList<CSharpSyntaxNode>(token));
Syntax\SyntaxFactory.cs (2)
1241return new SyntaxList<TNode>(node); 1251return new SyntaxList<TNode>(nodes);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UseSimpleUsingStatement\UseSimpleUsingStatementDiagnosticAnalyzer.cs (1)
210: new SyntaxList<StatementSyntax>(innermostUsing.Statement);
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
AutomaticCompletion\AutomaticLineEnderCommandHandler_Helpers.cs (1)
939? GetBlockNode(formattingOptions).WithStatements(new SyntaxList<StatementSyntax>(extraNodeInsertedBetweenBraces))
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\AttributeTests.cs (1)
88var list = new SyntaxList<UsingDirectiveSyntax>().AddRange(nodes);
Microsoft.CodeAnalysis.CSharp.Features (3)
CodeRefactorings\SyncNamespace\CSharpChangeNamespaceService.cs (1)
322return compilationUnit.WithMembers(new SyntaxList<MemberDeclarationSyntax>(targetNamespaceDecl))
ConvertAutoPropertyToFullProperty\CSharpConvertAutoPropertyToFullPropertyCodeRefactoringProvider.cs (1)
108new SyntaxList<StatementSyntax>((StatementSyntax)statement),
src\Analyzers\CSharp\Analyzers\UseSimpleUsingStatement\UseSimpleUsingStatementDiagnosticAnalyzer.cs (1)
210: new SyntaxList<StatementSyntax>(innermostUsing.Statement);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (91)
Generated\Syntax.Test.xml.Generated.cs (86)
10248=> SyntaxFactory.ArrayType(GenerateIdentifierName(), new SyntaxList<ArrayRankSpecifierSyntax>()); 10395=> SyntaxFactory.SimpleLambdaExpression(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), GenerateParameter(), SyntaxFactory.Token(SyntaxKind.EqualsGreaterThanToken), default(BlockSyntax), default(ExpressionSyntax)); 10401=> SyntaxFactory.ParenthesizedLambdaExpression(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), default(TypeSyntax), GenerateParameterList(), SyntaxFactory.Token(SyntaxKind.EqualsGreaterThanToken), default(BlockSyntax), default(ExpressionSyntax)); 10446=> SyntaxFactory.QueryBody(new SyntaxList<QueryClauseSyntax>(), GenerateSelectClause(), default(QueryContinuationSyntax)); 10482=> SyntaxFactory.InterpolatedStringExpression(SyntaxFactory.Token(SyntaxKind.InterpolatedStringStartToken), new SyntaxList<InterpolatedStringContentSyntax>(), SyntaxFactory.Token(SyntaxKind.InterpolatedStringEndToken)); 10551=> SyntaxFactory.GlobalStatement(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), GenerateBlock()); 10554=> SyntaxFactory.Block(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.OpenBraceToken), new SyntaxList<StatementSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBraceToken)); 10557=> SyntaxFactory.LocalFunctionStatement(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), GenerateIdentifierName(), SyntaxFactory.Identifier("Identifier"), default(TypeParameterListSyntax), GenerateParameterList(), new SyntaxList<TypeParameterConstraintClauseSyntax>(), default(BlockSyntax), default(ArrowExpressionClauseSyntax), default(SyntaxToken)); 10560=> SyntaxFactory.LocalDeclarationStatement(new SyntaxList<AttributeListSyntax>(), default(SyntaxToken), default(SyntaxToken), new SyntaxTokenList(), GenerateVariableDeclaration(), SyntaxFactory.Token(SyntaxKind.SemicolonToken)); 10581=> SyntaxFactory.ExpressionStatement(new SyntaxList<AttributeListSyntax>(), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.SemicolonToken)); 10584=> SyntaxFactory.EmptyStatement(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.SemicolonToken)); 10587=> SyntaxFactory.LabeledStatement(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Identifier("Identifier"), SyntaxFactory.Token(SyntaxKind.ColonToken), GenerateBlock()); 10590=> SyntaxFactory.GotoStatement(SyntaxKind.GotoStatement, new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.GotoKeyword), default(SyntaxToken), default(ExpressionSyntax), SyntaxFactory.Token(SyntaxKind.SemicolonToken)); 10593=> SyntaxFactory.BreakStatement(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.BreakKeyword), SyntaxFactory.Token(SyntaxKind.SemicolonToken)); 10596=> SyntaxFactory.ContinueStatement(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.ContinueKeyword), SyntaxFactory.Token(SyntaxKind.SemicolonToken)); 10599=> SyntaxFactory.ReturnStatement(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.ReturnKeyword), default(ExpressionSyntax), SyntaxFactory.Token(SyntaxKind.SemicolonToken)); 10602=> SyntaxFactory.ThrowStatement(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.ThrowKeyword), default(ExpressionSyntax), SyntaxFactory.Token(SyntaxKind.SemicolonToken)); 10605=> SyntaxFactory.YieldStatement(SyntaxKind.YieldReturnStatement, new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.YieldKeyword), SyntaxFactory.Token(SyntaxKind.ReturnKeyword), default(ExpressionSyntax), SyntaxFactory.Token(SyntaxKind.SemicolonToken)); 10608=> SyntaxFactory.WhileStatement(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.WhileKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.CloseParenToken), GenerateBlock()); 10611=> SyntaxFactory.DoStatement(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.DoKeyword), GenerateBlock(), SyntaxFactory.Token(SyntaxKind.WhileKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.CloseParenToken), SyntaxFactory.Token(SyntaxKind.SemicolonToken)); 10614=> SyntaxFactory.ForStatement(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.ForKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), default(VariableDeclarationSyntax), new SeparatedSyntaxList<ExpressionSyntax>(), SyntaxFactory.Token(SyntaxKind.SemicolonToken), default(ExpressionSyntax), SyntaxFactory.Token(SyntaxKind.SemicolonToken), new SeparatedSyntaxList<ExpressionSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseParenToken), GenerateBlock()); 10617=> SyntaxFactory.ForEachStatement(new SyntaxList<AttributeListSyntax>(), default(SyntaxToken), SyntaxFactory.Token(SyntaxKind.ForEachKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(), SyntaxFactory.Identifier("Identifier"), SyntaxFactory.Token(SyntaxKind.InKeyword), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.CloseParenToken), GenerateBlock()); 10620=> SyntaxFactory.ForEachVariableStatement(new SyntaxList<AttributeListSyntax>(), default(SyntaxToken), SyntaxFactory.Token(SyntaxKind.ForEachKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.InKeyword), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.CloseParenToken), GenerateBlock()); 10623=> SyntaxFactory.UsingStatement(new SyntaxList<AttributeListSyntax>(), default(SyntaxToken), SyntaxFactory.Token(SyntaxKind.UsingKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), default(VariableDeclarationSyntax), default(ExpressionSyntax), SyntaxFactory.Token(SyntaxKind.CloseParenToken), GenerateBlock()); 10626=> SyntaxFactory.FixedStatement(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.FixedKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), GenerateVariableDeclaration(), SyntaxFactory.Token(SyntaxKind.CloseParenToken), GenerateBlock()); 10629=> SyntaxFactory.CheckedStatement(SyntaxKind.CheckedStatement, new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.CheckedKeyword), GenerateBlock()); 10632=> SyntaxFactory.UnsafeStatement(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.UnsafeKeyword), GenerateBlock()); 10635=> SyntaxFactory.LockStatement(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.LockKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.CloseParenToken), GenerateBlock()); 10638=> SyntaxFactory.IfStatement(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.IfKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.CloseParenToken), GenerateBlock(), default(ElseClauseSyntax)); 10644=> SyntaxFactory.SwitchStatement(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.SwitchKeyword), default(SyntaxToken), GenerateIdentifierName(), default(SyntaxToken), SyntaxFactory.Token(SyntaxKind.OpenBraceToken), new SyntaxList<SwitchSectionSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBraceToken)); 10647=> SyntaxFactory.SwitchSection(new SyntaxList<SwitchLabelSyntax>(), new SyntaxList<StatementSyntax>()); 10665=> SyntaxFactory.TryStatement(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.TryKeyword), GenerateBlock(), new SyntaxList<CatchClauseSyntax>(), default(FinallyClauseSyntax)); 10680=> SyntaxFactory.CompilationUnit(new SyntaxList<ExternAliasDirectiveSyntax>(), new SyntaxList<UsingDirectiveSyntax>(), new SyntaxList<AttributeListSyntax>(), new SyntaxList<MemberDeclarationSyntax>(), SyntaxFactory.Token(SyntaxKind.EndOfFileToken)); 10689=> SyntaxFactory.NamespaceDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.NamespaceKeyword), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.OpenBraceToken), new SyntaxList<ExternAliasDirectiveSyntax>(), new SyntaxList<UsingDirectiveSyntax>(), new SyntaxList<MemberDeclarationSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBraceToken), default(SyntaxToken)); 10692=> SyntaxFactory.FileScopedNamespaceDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.NamespaceKeyword), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.SemicolonToken), new SyntaxList<ExternAliasDirectiveSyntax>(), new SyntaxList<UsingDirectiveSyntax>(), new SyntaxList<MemberDeclarationSyntax>()); 10716=> SyntaxFactory.TypeParameter(new SyntaxList<AttributeListSyntax>(), default(SyntaxToken), SyntaxFactory.Identifier("Identifier")); 10719=> SyntaxFactory.ClassDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.ClassKeyword), SyntaxFactory.Identifier("Identifier"), default(TypeParameterListSyntax), default(ParameterListSyntax), default(BaseListSyntax), new SyntaxList<TypeParameterConstraintClauseSyntax>(), default(SyntaxToken), new SyntaxList<MemberDeclarationSyntax>(), default(SyntaxToken), default(SyntaxToken)); 10722=> SyntaxFactory.StructDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.StructKeyword), SyntaxFactory.Identifier("Identifier"), default(TypeParameterListSyntax), default(ParameterListSyntax), default(BaseListSyntax), new SyntaxList<TypeParameterConstraintClauseSyntax>(), default(SyntaxToken), new SyntaxList<MemberDeclarationSyntax>(), default(SyntaxToken), default(SyntaxToken)); 10725=> SyntaxFactory.InterfaceDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.InterfaceKeyword), SyntaxFactory.Identifier("Identifier"), default(TypeParameterListSyntax), default(ParameterListSyntax), default(BaseListSyntax), new SyntaxList<TypeParameterConstraintClauseSyntax>(), default(SyntaxToken), new SyntaxList<MemberDeclarationSyntax>(), default(SyntaxToken), default(SyntaxToken)); 10728=> SyntaxFactory.RecordDeclaration(SyntaxKind.RecordDeclaration, new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Identifier("Keyword"), default(SyntaxToken), SyntaxFactory.Identifier("Identifier"), default(TypeParameterListSyntax), default(ParameterListSyntax), default(BaseListSyntax), new SyntaxList<TypeParameterConstraintClauseSyntax>(), default(SyntaxToken), new SyntaxList<MemberDeclarationSyntax>(), default(SyntaxToken), default(SyntaxToken)); 10731=> SyntaxFactory.EnumDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.EnumKeyword), SyntaxFactory.Identifier("Identifier"), default(BaseListSyntax), default(SyntaxToken), new SeparatedSyntaxList<EnumMemberDeclarationSyntax>(), default(SyntaxToken), default(SyntaxToken)); 10734=> SyntaxFactory.DelegateDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.DelegateKeyword), GenerateIdentifierName(), SyntaxFactory.Identifier("Identifier"), default(TypeParameterListSyntax), GenerateParameterList(), new SyntaxList<TypeParameterConstraintClauseSyntax>(), SyntaxFactory.Token(SyntaxKind.SemicolonToken)); 10737=> SyntaxFactory.EnumMemberDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Identifier("Identifier"), default(EqualsValueClauseSyntax)); 10770=> SyntaxFactory.FieldDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), GenerateVariableDeclaration(), SyntaxFactory.Token(SyntaxKind.SemicolonToken)); 10773=> SyntaxFactory.EventFieldDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.EventKeyword), GenerateVariableDeclaration(), SyntaxFactory.Token(SyntaxKind.SemicolonToken)); 10779=> SyntaxFactory.MethodDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), GenerateIdentifierName(), default(ExplicitInterfaceSpecifierSyntax), SyntaxFactory.Identifier("Identifier"), default(TypeParameterListSyntax), GenerateParameterList(), new SyntaxList<TypeParameterConstraintClauseSyntax>(), default(BlockSyntax), default(ArrowExpressionClauseSyntax), default(SyntaxToken)); 10782=> SyntaxFactory.OperatorDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), GenerateIdentifierName(), default(ExplicitInterfaceSpecifierSyntax), SyntaxFactory.Token(SyntaxKind.OperatorKeyword), default(SyntaxToken), SyntaxFactory.Token(SyntaxKind.PlusToken), GenerateParameterList(), default(BlockSyntax), default(ArrowExpressionClauseSyntax), default(SyntaxToken)); 10785=> SyntaxFactory.ConversionOperatorDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.ImplicitKeyword), default(ExplicitInterfaceSpecifierSyntax), SyntaxFactory.Token(SyntaxKind.OperatorKeyword), default(SyntaxToken), GenerateIdentifierName(), GenerateParameterList(), default(BlockSyntax), default(ArrowExpressionClauseSyntax), default(SyntaxToken)); 10788=> SyntaxFactory.ConstructorDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Identifier("Identifier"), GenerateParameterList(), default(ConstructorInitializerSyntax), default(BlockSyntax), default(ArrowExpressionClauseSyntax), default(SyntaxToken)); 10794=> SyntaxFactory.DestructorDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.TildeToken), SyntaxFactory.Identifier("Identifier"), GenerateParameterList(), default(BlockSyntax), default(ArrowExpressionClauseSyntax), default(SyntaxToken)); 10797=> SyntaxFactory.PropertyDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), GenerateIdentifierName(), default(ExplicitInterfaceSpecifierSyntax), SyntaxFactory.Identifier("Identifier"), default(AccessorListSyntax), default(ArrowExpressionClauseSyntax), default(EqualsValueClauseSyntax), default(SyntaxToken)); 10803=> SyntaxFactory.EventDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.EventKeyword), GenerateIdentifierName(), default(ExplicitInterfaceSpecifierSyntax), SyntaxFactory.Identifier("Identifier"), default(AccessorListSyntax), default(SyntaxToken)); 10806=> SyntaxFactory.IndexerDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), GenerateIdentifierName(), default(ExplicitInterfaceSpecifierSyntax), SyntaxFactory.Token(SyntaxKind.ThisKeyword), GenerateBracketedParameterList(), default(AccessorListSyntax), default(ArrowExpressionClauseSyntax), default(SyntaxToken)); 10809=> SyntaxFactory.AccessorList(SyntaxFactory.Token(SyntaxKind.OpenBraceToken), new SyntaxList<AccessorDeclarationSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBraceToken)); 10812=> SyntaxFactory.AccessorDeclaration(SyntaxKind.GetAccessorDeclaration, new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.GetKeyword), default(BlockSyntax), default(ArrowExpressionClauseSyntax), default(SyntaxToken)); 10821=> SyntaxFactory.Parameter(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), default(TypeSyntax), SyntaxFactory.Identifier("Identifier"), default(EqualsValueClauseSyntax)); 10824=> SyntaxFactory.FunctionPointerParameter(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), GenerateIdentifierName()); 10827=> SyntaxFactory.IncompleteMember(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), default(TypeSyntax)); 10833=> SyntaxFactory.DocumentationCommentTrivia(SyntaxKind.SingleLineDocumentationCommentTrivia, new SyntaxList<XmlNodeSyntax>(), SyntaxFactory.Token(SyntaxKind.EndOfDocumentationCommentToken)); 10863=> SyntaxFactory.XmlElement(GenerateXmlElementStartTag(), new SyntaxList<XmlNodeSyntax>(), GenerateXmlElementEndTag()); 10866=> SyntaxFactory.XmlElementStartTag(SyntaxFactory.Token(SyntaxKind.LessThanToken), GenerateXmlName(), new SyntaxList<XmlAttributeSyntax>(), SyntaxFactory.Token(SyntaxKind.GreaterThanToken)); 10872=> SyntaxFactory.XmlEmptyElement(SyntaxFactory.Token(SyntaxKind.LessThanToken), GenerateXmlName(), new SyntaxList<XmlAttributeSyntax>(), SyntaxFactory.Token(SyntaxKind.SlashGreaterThanToken));
Syntax\StructuredTriviaTests.cs (1)
56var docComment = SyntaxFactory.DocumentationCommentTrivia(SyntaxKind.SingleLineDocumentationCommentTrivia).WithContent(new SyntaxList<XmlNodeSyntax>(xmlElement));
Syntax\SyntaxListTests.cs (4)
31EqualityTesting.AssertEqual(new SyntaxList<CSharpSyntaxNode>(node1), new SyntaxList<CSharpSyntaxNode>(node1)); 33EqualityTesting.AssertNotEqual(new SyntaxList<CSharpSyntaxNode>(node1), new SyntaxList<CSharpSyntaxNode>(node2));
Microsoft.CodeAnalysis.VisualBasic (2)
Syntax\SyntaxNodeFactories.vb (2)
773Return New SyntaxList(Of TNode) 782Return New SyntaxList(Of TNode)(node)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\EventGenerator.vb (3)
96New SyntaxList(Of StatementSyntax), 100New SyntaxList(Of StatementSyntax), 104New SyntaxList(Of StatementSyntax),
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
EndConstructGeneration\EndConstructStatementVisitor_IfStatement.vb (1)
42New SyntaxList(Of ElseIfBlockSyntax),
Microsoft.CodeAnalysis.VisualBasic.Features (5)
ChangeSignature\VisualBasicChangeSignatureService.vb (1)
589attributeLists:=New SyntaxList(Of AttributeListSyntax)(),
CodeFixes\Suppression\VisualBasicSuppressionCodeFixProvider.vb (1)
131Dim attributeStatement = SyntaxFactory.AttributesStatement(New SyntaxList(Of AttributeListSyntax)().Add(attributeList))
ConvertAutoPropertyToFullProperty\VisualBasicConvertAutoPropertyToFullProperty.vb (2)
45Dim returnStatement = New SyntaxList(Of StatementSyntax)(DirectCast(generator.ReturnStatement( 57Dim setStatement = New SyntaxList(Of StatementSyntax)(DirectCast(generator.ExpressionStatement(
InitializeParameter\VisualBasicAddParameterCheckCodeRefactoringProvider.vb (1)
64statements:=New SyntaxList(Of StatementSyntax)(ifTrueStatement),
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
TestSyntaxNodes.vb (1)
2929Dim x As New SyntaxList(Of SyntaxNode)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\EventGenerator.vb (3)
96New SyntaxList(Of StatementSyntax), 100New SyntaxList(Of StatementSyntax), 104New SyntaxList(Of StatementSyntax),
1873 references to SyntaxList
Microsoft.AspNetCore.App.CodeFixes (1)
WebApplicationBuilderFixer.cs (1)
121var lambdaStatements = lambdaExpr.Block.Statements;
Microsoft.CodeAnalysis (41)
Syntax\SyntaxList`1.cs (25)
20public static SyntaxList<TNode> Create<TNode>(ReadOnlySpan<TNode> nodes) where TNode : SyntaxNode 51public readonly partial struct SyntaxList<TNode> : IReadOnlyList<TNode>, IEquatable<SyntaxList<TNode>> 220public SyntaxList<TNode> Add(TNode node) 229public SyntaxList<TNode> AddRange(IEnumerable<TNode> nodes) 239public SyntaxList<TNode> Insert(int index, TNode node) 254public SyntaxList<TNode> InsertRange(int index, IEnumerable<TNode> nodes) 283public SyntaxList<TNode> RemoveAt(int index) 297public SyntaxList<TNode> Remove(TNode node) 307public SyntaxList<TNode> Replace(TNode nodeInList, TNode newNode) 317public SyntaxList<TNode> ReplaceRange(TNode nodeInList, IEnumerable<TNode> newNodes) 343private static SyntaxList<TNode> CreateList(List<TNode> items) 347return default(SyntaxList<TNode>); 460public static bool operator ==(SyntaxList<TNode> left, SyntaxList<TNode> right) 465public static bool operator !=(SyntaxList<TNode> left, SyntaxList<TNode> right) 470public bool Equals(SyntaxList<TNode> other) 477return obj is SyntaxList<TNode> && Equals((SyntaxList<TNode>)obj); 487public static SyntaxList<TNode> op_Implicit(SyntaxList<SyntaxNode> nodes) 492public static implicit operator SyntaxList<SyntaxNode>(SyntaxList<TNode> nodes) 497public static explicit operator SyntaxList<TNode>(SyntaxList<SyntaxNode> nodes)
Syntax\SyntaxList`1.Enumerator.cs (3)
17private readonly SyntaxList<TNode> _list; 20internal Enumerator(SyntaxList<TNode> list) 66internal EnumeratorImpl(in SyntaxList<TNode> list)
Syntax\SyntaxListBuilder.cs (6)
79public void AddRange(SyntaxList<SyntaxNode> list) 84public void AddRange(SyntaxList<SyntaxNode> list, int offset, int count) 103public void AddRange<TNode>(SyntaxList<TNode> list) where TNode : SyntaxNode 108public void AddRange<TNode>(SyntaxList<TNode> list, int offset, int count) where TNode : SyntaxNode 191public static implicit operator SyntaxList<SyntaxNode>(SyntaxListBuilder builder) 195return default(SyntaxList<SyntaxNode>);
Syntax\SyntaxListBuilder`1.cs (5)
58public void AddRange(SyntaxList<TNode> nodes) 63public void AddRange(SyntaxList<TNode> nodes, int offset, int length) 73public SyntaxList<TNode> ToList() 75return (SyntaxList<TNode>)_builder.ToList(); 83public static implicit operator SyntaxList<TNode>(SyntaxListBuilder<TNode> builder)
Syntax\SyntaxListBuilderExtensions.cs (2)
19public static SyntaxList<SyntaxNode> ToList(this SyntaxListBuilder? builder) 30public static SyntaxList<TNode> ToList<TNode>(this SyntaxListBuilder? builder)
Microsoft.CodeAnalysis.CodeStyle (24)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
66protected abstract SyntaxList<TMemberDeclarationSyntax> GetMembers(TTypeDeclarationSyntax typeDeclaration);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\HeaderFacts\AbstractHeaderFacts.cs (1)
91var attributeList = SyntaxFacts.GetAttributeLists(node);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SelectedMembers\AbstractSelectedMembers.cs (2)
31protected abstract SyntaxList<TMemberDeclarationSyntax> GetMembers(TTypeDeclarationSyntax containingType); 83var members = GetMembers(containingType);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\AbstractDocumentationCommentService.cs (1)
157protected abstract SyntaxList<TXmlAttributeSyntax> GetAttributes(TXmlEmptyElementSyntax xmlEmpty);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFacts.cs (10)
313SyntaxList<SyntaxNode> GetContentsOfInterpolatedString(SyntaxNode interpolatedString); 322SyntaxList<SyntaxNode> GetAttributeLists(SyntaxNode? node); 410SyntaxList<SyntaxNode> GetMembersOfTypeDeclaration(SyntaxNode typeDeclaration); 484SyntaxList<SyntaxNode> GetContentFromDocumentationCommentTriviaSyntax(SyntaxTrivia trivia); 513void GetPartsOfBaseNamespaceDeclaration(SyntaxNode node, out SyntaxNode name, out SyntaxList<SyntaxNode> imports, out SyntaxList<SyntaxNode> members); 517void GetPartsOfCompilationUnit(SyntaxNode node, out SyntaxList<SyntaxNode> imports, out SyntaxList<SyntaxNode> attributeLists, out SyntaxList<SyntaxNode> members); 521void GetPartsOfInterpolationExpression(SyntaxNode node, out SyntaxToken stringStartToken, out SyntaxList<SyntaxNode> contents, out SyntaxToken stringEndToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (9)
452var attributeList = syntaxFacts.GetAttributeLists(node); 534public static SyntaxList<SyntaxNode> GetImportsOfBaseNamespaceDeclaration(this ISyntaxFacts syntaxFacts, SyntaxNode node) 536syntaxFacts.GetPartsOfBaseNamespaceDeclaration(node, out _, out var imports, out _); 540public static SyntaxList<SyntaxNode> GetImportsOfCompilationUnit(this ISyntaxFacts syntaxFacts, SyntaxNode node) 542syntaxFacts.GetPartsOfCompilationUnit(node, out var imports, out _, out _); 552public static SyntaxList<SyntaxNode> GetMembersOfBaseNamespaceDeclaration(this ISyntaxFacts syntaxFacts, SyntaxNode node) 554syntaxFacts.GetPartsOfBaseNamespaceDeclaration(node, out _, out _, out var members); 558public static SyntaxList<SyntaxNode> GetMembersOfCompilationUnit(this ISyntaxFacts syntaxFacts, SyntaxNode node) 560syntaxFacts.GetPartsOfCompilationUnit(node, out _, out _, out var members);
Microsoft.CodeAnalysis.CodeStyle.Fixes (8)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (5)
189SyntaxList<TDeclaration> declarationList, 195Func<SyntaxList<TDeclaration>, TDeclaration?>? after = null, 196Func<SyntaxList<TDeclaration>, TDeclaration?>? before = null) 297SyntaxList<TDeclarationSyntax> declarationList, 322SyntaxList<TDeclarationSyntax> declarationList,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\AddImports\AbstractAddImportsService.cs (2)
32protected abstract SyntaxList<TUsingOrAliasSyntax> GetUsingsAndAliases(SyntaxNode node); 33protected abstract SyntaxList<TExternSyntax> GetExterns(SyntaxNode node);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\AddImports\AddImportHelpers.cs (1)
18SyntaxList<TImportDirectiveSyntax> existingImports,
Microsoft.CodeAnalysis.CSharp (372)
Binder\Binder.QueryUnboundLambdaState.cs (1)
35public override SyntaxList<AttributeListSyntax> ParameterAttributes(int index) => default;
Binder\Binder_Constraints.cs (1)
27SyntaxList<TypeParameterConstraintClauseSyntax> clauses,
Binder\Binder_Expressions.cs (1)
4470SyntaxList<ArrayRankSpecifierSyntax> rankSpecifiers = arrayTypeSyntax.RankSpecifiers;
Binder\Binder_Lambda.cs (3)
51ImmutableArray<SyntaxList<AttributeListSyntax>> parameterAttributes = default; 125var attributesBuilder = ArrayBuilder<SyntaxList<AttributeListSyntax>>.GetInstance(); 263static void checkAttributes(AnonymousFunctionExpressionSyntax syntax, SyntaxList<AttributeListSyntax> attributeLists, BindingDiagnosticBag diagnostics)
Binder\Binder_Statements.cs (1)
3210private ImmutableArray<BoundCatchBlock> BindCatchBlocks(SyntaxList<CatchClauseSyntax> catchClauses, BindingDiagnosticBag diagnostics)
Binder\LocalScopeBinder.cs (3)
148protected ImmutableArray<LocalSymbol> BuildLocals(SyntaxList<StatementSyntax> statements, Binder enclosingBinder) 296protected ImmutableArray<LocalFunctionSymbol> BuildLocalFunctions(SyntaxList<StatementSyntax> statements) 353protected void BuildLabels(SyntaxList<StatementSyntax> statements, ref ArrayBuilder<LabelSymbol> labels)
Binder\SwitchBinder.cs (1)
200private void BuildSwitchLabels(SyntaxList<SwitchLabelSyntax> labelsSyntax, Binder sectionBinder, ArrayBuilder<LabelSymbol> labels, BindingDiagnosticBag tempDiagnosticBag)
Binder\WithExternAndUsingAliasesBinder.cs (1)
173SyntaxList<UsingDirectiveSyntax> usingDirectives;
BoundTree\UnboundLambda.cs (6)
396ImmutableArray<SyntaxList<AttributeListSyntax>> parameterAttributes, 477public SyntaxList<AttributeListSyntax> ParameterAttributes(int index) { return Data.ParameterAttributes(index); } 554public abstract SyntaxList<AttributeListSyntax> ParameterAttributes(int index); 1430private readonly ImmutableArray<SyntaxList<AttributeListSyntax>> _parameterAttributes; 1445ImmutableArray<SyntaxList<AttributeListSyntax>> parameterAttributes, 1517public override SyntaxList<AttributeListSyntax> ParameterAttributes(int index)
CSharpExtensions.cs (2)
83public static int IndexOf<TNode>(this SyntaxList<TNode> list, SyntaxKind kind) 92public static bool Any<TNode>(this SyntaxList<TNode> list, SyntaxKind kind)
Declarations\DeclarationTreeBuilder.cs (5)
125SyntaxList<MemberDeclarationSyntax> members, 362SyntaxList<UsingDirectiveSyntax> usings, bool global) 475private static void CheckFeatureAvailabilityForUsings(DiagnosticBag diagnostics, SyntaxList<UsingDirectiveSyntax> usings) 487private static void CheckFeatureAvailabilityForExterns(DiagnosticBag diagnostics, SyntaxList<ExternAliasDirectiveSyntax> externs) 869private static QuickAttributes GetQuickAttributes(SyntaxList<AttributeListSyntax> attributeLists)
Declarations\MergedTypeDeclaration.cs (3)
55public ImmutableArray<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations(QuickAttributes? quickAttributes) 57var attributeSyntaxListBuilder = ArrayBuilder<SyntaxList<AttributeListSyntax>>.GetInstance(); 73SyntaxList<AttributeListSyntax> attributesSyntaxList;
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (1)
623private static TextSpan SkipAttributes(SyntaxNode syntax, SyntaxList<AttributeListSyntax> attributes, SyntaxTokenList modifiers, SyntaxToken keyword, TypeSyntax? type)
Parser\DocumentationCommentParser.cs (1)
464default(SyntaxList<SyntaxToken>),
Parser\LanguageParser.cs (94)
238SyntaxList<AttributeListSyntax> attributeLists, 249SyntaxList<AttributeListSyntax> attributeLists, 1067private SyntaxList<AttributeListSyntax> ParseAttributeDeclarations(bool inExpressionContext) 1686private MemberDeclarationSyntax ParseTypeDeclaration(SyntaxList<AttributeListSyntax> attributes, SyntaxListBuilder modifiers) 1719private TypeDeclarationSyntax ParseClassOrStructOrInterfaceDeclaration(SyntaxList<AttributeListSyntax> attributes, SyntaxListBuilder modifiers) 1885static TypeDeclarationSyntax constructTypeDeclaration(ContextAwareSyntax syntaxFactory, SyntaxList<AttributeListSyntax> attributes, SyntaxListBuilder modifiers, SyntaxToken keyword, SyntaxToken? recordModifier, 1889var modifiersList = (SyntaxList<SyntaxToken>)modifiers.ToList(); 1890var membersList = (SyntaxList<MemberDeclarationSyntax>)members; 1891var constraintsList = (SyntaxList<TypeParameterConstraintClauseSyntax>)constraints; 2471var attributes = this.ParseStatementAttributeDeclarations(); 2791bool tryParseLocalDeclarationStatement<DeclarationSyntax>(SyntaxList<AttributeListSyntax> attributes, out MemberDeclarationSyntax result) where DeclarationSyntax : StatementSyntax 2811bool tryParseStatement(SyntaxList<AttributeListSyntax> attributes, ref ResetPoint afterAttributesPoint, out MemberDeclarationSyntax result) 2842bool tryParseLocalDeclarationStatementFromStartPoint<DeclarationSyntax>(SyntaxList<AttributeListSyntax> attributes, ref ResetPoint startPoint, out MemberDeclarationSyntax result) where DeclarationSyntax : StatementSyntax 2899private bool IsMisplacedModifier(SyntaxListBuilder modifiers, SyntaxList<AttributeListSyntax> attributes, TypeSyntax type, out MemberDeclarationSyntax result) 2921private bool IsNoneOrIncompleteMember(SyntaxKind parentKind, SyntaxList<AttributeListSyntax> attributes, SyntaxListBuilder modifiers, TypeSyntax type, 2985private bool TryParseIndexerOrPropertyDeclaration(SyntaxList<AttributeListSyntax> attributes, SyntaxListBuilder modifiers, TypeSyntax type, 3045var attributes = this.ParseAttributeDeclarations(inExpressionContext: false); 3286SyntaxList<AttributeListSyntax> attributes, SyntaxListBuilder modifiers) 3340private DestructorDeclarationSyntax ParseDestructorDeclaration(SyntaxList<AttributeListSyntax> attributes, SyntaxListBuilder modifiers) 3448SyntaxList<AttributeListSyntax> attributes, 3531private ConversionOperatorDeclarationSyntax TryParseConversionOperatorDeclaration(SyntaxList<AttributeListSyntax> attributes, SyntaxListBuilder modifiers) 3773SyntaxList<AttributeListSyntax> attributes, 3943SyntaxList<AttributeListSyntax> attributes, 4003SyntaxList<AttributeListSyntax> attributes, 4099var accessors = default(SyntaxList<AccessorDeclarationSyntax>); 4381var accAttrs = this.ParseAttributeDeclarations(inExpressionContext: false); 4668var attributes = this.ParseAttributeDeclarations(inExpressionContext: false); 4764SyntaxList<AttributeListSyntax> attributes, 4782SyntaxList<AttributeListSyntax> attributes, 4797SyntaxList<AttributeListSyntax> attributes, 4824default(SyntaxList<AccessorDeclarationSyntax>), 4900SyntaxList<AttributeListSyntax> attributes, 4922SyntaxList<AttributeListSyntax> attributes, 5000SyntaxList<AttributeListSyntax> attributes, 5001SyntaxList<SyntaxToken> mods, 5187SyntaxList<AttributeListSyntax> attributes, 5188SyntaxList<SyntaxToken> mods, 5461private FieldDeclarationSyntax ParseConstantFieldDeclaration(SyntaxList<AttributeListSyntax> attributes, SyntaxListBuilder modifiers, SyntaxKind parentKind) 5475private DelegateDeclarationSyntax ParseDelegateDeclaration(SyntaxList<AttributeListSyntax> attributes, SyntaxListBuilder modifiers) 5508private EnumDeclarationSyntax ParseEnumDeclaration(SyntaxList<AttributeListSyntax> attributes, SyntaxListBuilder modifiers) 5599var memberAttrs = this.ParseAttributeDeclarations(inExpressionContext: false); 5816default(SyntaxList<AttributeListSyntax>), 5821var attrs = default(SyntaxList<AttributeListSyntax>); 6338var attrs = default(SyntaxList<AttributeListSyntax>); 7858private SyntaxList<AttributeListSyntax> ParseStatementAttributeDeclarations() 7937var attributes = isCollectionExpression ? default : ParseAttributeDeclarations(inExpressionContext: true); 7946private StatementSyntax ParseStatementCore(SyntaxList<AttributeListSyntax> attributes, bool isGlobal) 8028private StatementSyntax TryReuseStatement(SyntaxList<AttributeListSyntax> attributes, bool isGlobal) 8041private StatementSyntax ParseStatementCoreRest(SyntaxList<AttributeListSyntax> attributes, bool isGlobal, ref ResetPoint resetPointBeforeStatement) 8092private StatementSyntax TryParseStatementStartingWithIdentifier(SyntaxList<AttributeListSyntax> attributes, bool isGlobal) 8127private StatementSyntax ParseStatementStartingWithUsing(SyntaxList<AttributeListSyntax> attributes) 8131private StatementSyntax TryParseStatementStartingWithUnsafe(SyntaxList<AttributeListSyntax> attributes) 8646private BlockSyntax ParseMethodOrAccessorBodyBlock(SyntaxList<AttributeListSyntax> attributes, bool isAccessorBody) 8686private BlockSyntax ParseBlock(SyntaxList<AttributeListSyntax> attributes) 8834private FixedStatementSyntax ParseFixedStatement(SyntaxList<AttributeListSyntax> attributes) 8900private BreakStatementSyntax ParseBreakStatement(SyntaxList<AttributeListSyntax> attributes) 8908private ContinueStatementSyntax ParseContinueStatement(SyntaxList<AttributeListSyntax> attributes) 8916private TryStatementSyntax ParseTryStatement(SyntaxList<AttributeListSyntax> attributes) 9075private StatementSyntax ParseCheckedStatement(SyntaxList<AttributeListSyntax> attributes) 9092private DoStatementSyntax ParseDoStatement(SyntaxList<AttributeListSyntax> attributes) 9121private StatementSyntax ParseForOrForEachStatement(SyntaxList<AttributeListSyntax> attributes) 9154private ForStatementSyntax ParseForStatement(SyntaxList<AttributeListSyntax> attributes) 9291SyntaxList<AttributeListSyntax> attributes, SyntaxToken awaitTokenOpt) 9509private GotoStatementSyntax ParseGotoStatement(SyntaxList<AttributeListSyntax> attributes) 9542private IfStatementSyntax ParseIfStatement(SyntaxList<AttributeListSyntax> attributes) 9607private IfStatementSyntax ParseMisplacedElse(SyntaxList<AttributeListSyntax> attributes) 9630private LockStatementSyntax ParseLockStatement(SyntaxList<AttributeListSyntax> attributes) 9642private ReturnStatementSyntax ParseReturnStatement(SyntaxList<AttributeListSyntax> attributes) 9652private YieldStatementSyntax ParseYieldStatement(SyntaxList<AttributeListSyntax> attributes) 9689private SwitchStatementSyntax ParseSwitchStatement(SyntaxList<AttributeListSyntax> attributes) 9837private ThrowStatementSyntax ParseThrowStatement(SyntaxList<AttributeListSyntax> attributes) 9847private UnsafeStatementSyntax ParseUnsafeStatement(SyntaxList<AttributeListSyntax> attributes) 9856private UsingStatementSyntax ParseUsingStatement(SyntaxList<AttributeListSyntax> attributes, SyntaxToken awaitTokenOpt = null) 9983private WhileStatementSyntax ParseWhileStatement(SyntaxList<AttributeListSyntax> attributes) 9995private LabeledStatementSyntax ParseLabeledStatement(SyntaxList<AttributeListSyntax> attributes) 10011private StatementSyntax ParseLocalDeclarationStatement(SyntaxList<AttributeListSyntax> attributes) 10248SyntaxList<AttributeListSyntax> attributes, 10249SyntaxList<SyntaxToken> mods, 10423SyntaxList<AttributeListSyntax> attributes, 10424SyntaxList<SyntaxToken> modifiers, 10540private ExpressionStatementSyntax ParseExpressionStatement(SyntaxList<AttributeListSyntax> attributes) 10545private ExpressionStatementSyntax ParseExpressionStatement(SyntaxList<AttributeListSyntax> attributes, ExpressionSyntax expression) 12535var attributeDeclarations = ParseAttributeDeclarations(inExpressionContext: true); 13178var modifiers = ParseAnonymousFunctionModifiers(); 13225private SyntaxList<SyntaxToken> ParseAnonymousFunctionModifiers() 13289var attributes = ParseAttributeDeclarations(inExpressionContext: true); 13304var modifiers = ParseAnonymousFunctionModifiers(); 13414var attributes = ParseAttributeDeclarations(inExpressionContext: false);
Parser\SyntaxParser.cs (1)
726SyntaxList<CSharpSyntaxNode> triviaList = new SyntaxList<CSharpSyntaxNode>(trivia);
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
334private static IEnumerable<SyntaxNode> GetAttributes(SyntaxList<AttributeListSyntax> attributeLists)
Symbols\ConstraintsHelper.cs (2)
349SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, 379SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses)
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
29protected abstract OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations();
Symbols\Source\GlobalExpressionVariable.cs (2)
59protected override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations() => OneOrMany<SyntaxList<AttributeListSyntax>>.Empty;
Symbols\Source\LambdaParameterSymbol.cs (3)
14private readonly SyntaxList<AttributeListSyntax> _attributeLists; 19SyntaxList<AttributeListSyntax> attributeLists, 49internal override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations() => OneOrMany.Create(_attributeLists);
Symbols\Source\LambdaSymbol.cs (2)
273internal override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations() 378var attributeLists = unboundLambda.ParameterAttributes(p);
Symbols\Source\LocalFunctionSymbol.cs (2)
346internal override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations() 395private void ReportAttributesDisallowed(SyntaxList<AttributeListSyntax> attributes, BindingDiagnosticBag diagnostics)
Symbols\Source\QuickAttributeChecker.cs (1)
85internal QuickAttributeChecker AddAliasesIfAny(SyntaxList<UsingDirectiveSyntax> usingsSyntax, bool onlyGlobalAliases = false)
Symbols\Source\SourceAssemblySymbol.cs (2)
1550internal ImmutableArray<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations() 1552var builder = ArrayBuilder<SyntaxList<AttributeListSyntax>>.GetInstance();
Symbols\Source\SourceComplexParameterSymbol.cs (3)
511internal sealed override SyntaxList<AttributeListSyntax> AttributeDeclarationList 516return (syntax != null) ? syntax.AttributeLists : default(SyntaxList<AttributeListSyntax>); 523internal virtual OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations()
Symbols\Source\SourceConstructorSymbol.cs (1)
181internal override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations()
Symbols\Source\SourceConstructorSymbolBase.cs (2)
157internal sealed override OneOrMany<SyntaxList<AttributeListSyntax>> GetReturnTypeAttributeDeclarations() 160return OneOrMany.Create(default(SyntaxList<AttributeListSyntax>));
Symbols\Source\SourceCustomEventAccessorSymbol.cs (1)
80internal override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations()
Symbols\Source\SourceDelegateMethodSymbol.cs (5)
192internal sealed override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations() 229internal override OneOrMany<SyntaxList<AttributeListSyntax>> GetReturnTypeAttributeDeclarations() 232return OneOrMany.Create(default(SyntaxList<AttributeListSyntax>)); 376internal override OneOrMany<SyntaxList<AttributeListSyntax>> GetReturnTypeAttributeDeclarations() 381return OneOrMany.Create(default(SyntaxList<AttributeListSyntax>));
Symbols\Source\SourceDestructorSymbol.cs (3)
145internal override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations() 151internal override OneOrMany<SyntaxList<AttributeListSyntax>> GetReturnTypeAttributeDeclarations() 154return OneOrMany.Create(default(SyntaxList<AttributeListSyntax>));
Symbols\Source\SourceEnumConstantSymbol.cs (2)
89protected override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations() 96return OneOrMany<SyntaxList<AttributeListSyntax>>.Empty;
Symbols\Source\SourceEventSymbol.cs (1)
136internal SyntaxList<AttributeListSyntax> AttributeDeclarationSyntaxList
Symbols\Source\SourceMemberContainerSymbol.cs (2)
2817private static bool All<T>(SyntaxList<T> list, Func<T, bool> predicate) where T : CSharpSyntaxNode 4887SyntaxList<MemberDeclarationSyntax> members,
Symbols\Source\SourceMemberFieldSymbol.cs (2)
411protected override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations() 418return OneOrMany<SyntaxList<AttributeListSyntax>>.Empty;
Symbols\Source\SourceMethodSymbolWithAttributes.cs (3)
175internal virtual OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations() 177return OneOrMany.Create(default(SyntaxList<AttributeListSyntax>)); 183internal virtual OneOrMany<SyntaxList<AttributeListSyntax>> GetReturnTypeAttributeDeclarations()
Symbols\Source\SourceNamedTypeSymbol.cs (6)
327var constraintClauses = GetConstraintClauses((CSharpSyntaxNode)syntaxRef.GetSyntax(), out TypeParameterListSyntax typeParameterList); 408var constraintClauses = GetConstraintClauses((CSharpSyntaxNode)syntaxRef.GetSyntax(), out TypeParameterListSyntax typeParameterList); 464private static SyntaxList<TypeParameterConstraintClauseSyntax> GetConstraintClauses(CSharpSyntaxNode node, out TypeParameterListSyntax typeParameterList) 776internal ImmutableArray<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations(QuickAttributes? quickAttributes = null) 1266ImmutableArray<SyntaxList<AttributeListSyntax>> attributeLists = GetAttributeDeclarations(QuickAttributes.TypeIdentifier); 1268foreach (SyntaxList<AttributeListSyntax> list in attributeLists)
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (4)
427SyntaxList<ExternAliasDirectiveSyntax> externAliasDirectives; 466SyntaxList<ExternAliasDirectiveSyntax> syntaxList, 554SyntaxList<UsingDirectiveSyntax> usingDirectives; 616SyntaxList<UsingDirectiveSyntax> usingDirectives,
Symbols\Source\SourceOrdinaryMethodSymbol.cs (3)
394internal sealed override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations() 410private SyntaxList<AttributeListSyntax> AttributeDeclarationSyntaxList 420return default(SyntaxList<AttributeListSyntax>);
Symbols\Source\SourceOrdinaryMethodSymbolBase.cs (1)
93internal abstract override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations();
Symbols\Source\SourceParameterSymbol.cs (1)
189internal abstract SyntaxList<AttributeListSyntax> AttributeDeclarationList { get; }
Symbols\Source\SourcePropertyAccessorSymbol.cs (2)
634internal sealed override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations() 653private SyntaxList<AttributeListSyntax> AttributeDeclarationList
Symbols\Source\SourcePropertySymbol.cs (1)
191public override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations()
Symbols\Source\SourcePropertySymbolBase.cs (2)
98SyntaxList<AttributeListSyntax> indexerNameAttributeLists, 1254public abstract OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations();
Symbols\Source\SourceSimpleParameterSymbol.cs (2)
144internal override SyntaxList<AttributeListSyntax> AttributeDeclarationList 146get { return default(SyntaxList<AttributeListSyntax>); }
Symbols\Source\SourceTypeParameterSymbol.cs (2)
116internal ImmutableArray<SyntaxList<AttributeListSyntax>> MergedAttributeDeclarationSyntaxLists 120var mergedAttributesBuilder = ArrayBuilder<SyntaxList<AttributeListSyntax>>.GetInstance();
Symbols\Source\SourceUserDefinedConversionSymbol.cs (1)
122internal sealed override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations()
Symbols\Source\SourceUserDefinedOperatorSymbol.cs (1)
122internal sealed override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations()
Symbols\Symbol.cs (1)
1483SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, DiagnosticBag diagnostics)
Symbols\Symbol_Attributes.cs (4)
300OneOrMany<SyntaxList<AttributeListSyntax>> attributesSyntaxLists, 540protected ImmutableArray<(CSharpAttributeData, BoundAttribute)> BindAttributes(OneOrMany<SyntaxList<AttributeListSyntax>> attributeDeclarations, Binder? rootBinder) 585OneOrMany<SyntaxList<AttributeListSyntax>> attributeDeclarationSyntaxLists, 669private Binder GetAttributeBinder(SyntaxList<AttributeListSyntax> attributeDeclarationSyntaxList, CSharpCompilation compilation, Binder? rootBinder = null)
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (2)
73internal override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations() 75return new OneOrMany<SyntaxList<AttributeListSyntax>>(((SourceNamedTypeSymbol)ContainingType).GetAttributeDeclarations());
Symbols\Synthesized\Records\SynthesizedPrimaryConstructorParameterBackingFieldSymbol.cs (2)
36protected override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations() 37=> OneOrMany<SyntaxList<AttributeListSyntax>>.Empty;
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (2)
54public override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations() 55=> OneOrMany<SyntaxList<AttributeListSyntax>>.Empty;
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperatorBase.cs (2)
54internal sealed override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations() => OneOrMany.Create(default(SyntaxList<AttributeListSyntax>));
Symbols\Synthesized\Records\SynthesizedRecordOrdinaryMethod.cs (2)
86internal sealed override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations() => OneOrMany.Create(default(SyntaxList<AttributeListSyntax>));
Symbols\Synthesized\Records\SynthesizedRecordPropertySymbol.cs (1)
55public override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations()
Symbols\Synthesized\SynthesizedAccessorValueParameterSymbol.cs (1)
73internal override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations()
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (1)
103protected override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations()
Symbols\Synthesized\SynthesizedEventAccessorSymbol.cs (1)
68internal override OneOrMany<SyntaxList<AttributeListSyntax>> GetAttributeDeclarations()
Syntax\BaseFieldDeclarationSyntax.cs (1)
9public abstract override SyntaxList<AttributeListSyntax> AttributeLists { get; }
Syntax\BaseMethodDeclarationSyntax.cs (1)
9public abstract override SyntaxList<AttributeListSyntax> AttributeLists { get; }
Syntax\BasePropertyDeclarationSyntax.cs (1)
9public abstract override SyntaxList<AttributeListSyntax> AttributeLists { get; }
Syntax\BlockSyntax.cs (2)
11public BlockSyntax Update(SyntaxToken openBraceToken, SyntaxList<StatementSyntax> statements, SyntaxToken closeBraceToken) 20public static BlockSyntax Block(SyntaxToken openBraceToken, SyntaxList<StatementSyntax> statements, SyntaxToken closeBraceToken)
Syntax\ClassDeclarationSyntax.cs (3)
9public ClassDeclarationSyntax Update(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken keyword, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, SyntaxToken openBraceToken, SyntaxList<MemberDeclarationSyntax> members, SyntaxToken closeBraceToken, SyntaxToken semicolonToken)
Syntax\ConstructorDeclarationSyntax.cs (5)
14SyntaxList<AttributeListSyntax> attributeLists, 38SyntaxList<AttributeListSyntax> attributeLists, 55SyntaxList<AttributeListSyntax> attributeLists, 73SyntaxList<AttributeListSyntax> attributeLists, 90SyntaxList<AttributeListSyntax> attributeLists,
Syntax\ConversionOperatorDeclarationSyntax.cs (2)
10SyntaxList<AttributeListSyntax> attributeLists, 34SyntaxList<AttributeListSyntax> attributeLists,
Syntax\CSharpSyntaxRewriter.cs (2)
139public virtual SyntaxList<TNode> VisitList<TNode>(SyntaxList<TNode> list) where TNode : SyntaxNode
Syntax\DestructorDeclarationSyntax.cs (5)
14SyntaxList<AttributeListSyntax> attributeLists, 38SyntaxList<AttributeListSyntax> attributeLists, 54SyntaxList<AttributeListSyntax> attributeLists, 72SyntaxList<AttributeListSyntax> attributeLists, 88SyntaxList<AttributeListSyntax> attributeLists,
Syntax\EnumMemberDeclarationSyntax.cs (1)
9public EnumMemberDeclarationSyntax Update(SyntaxList<AttributeListSyntax> attributeLists, SyntaxToken identifier, EqualsValueClauseSyntax equalsValue)
Syntax\EventDeclarationSyntax.cs (2)
13public EventDeclarationSyntax Update(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken eventKeyword, TypeSyntax type, ExplicitInterfaceSpecifierSyntax explicitInterfaceSpecifier, SyntaxToken identifier, AccessorListSyntax accessorList) 18public EventDeclarationSyntax Update(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken eventKeyword, TypeSyntax type, ExplicitInterfaceSpecifierSyntax explicitInterfaceSpecifier, SyntaxToken identifier, SyntaxToken semicolonToken)
Syntax\IndexerDeclarationSyntax.cs (1)
37SyntaxList<AttributeListSyntax> attributeLists,
Syntax\InterfaceDeclarationSyntax.cs (3)
9public InterfaceDeclarationSyntax Update(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken keyword, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, SyntaxToken openBraceToken, SyntaxList<MemberDeclarationSyntax> members, SyntaxToken closeBraceToken, SyntaxToken semicolonToken)
Syntax\InternalSyntax\CSharpSyntaxRewriter.cs (4)
42public SyntaxList<TNode> VisitList<TNode>(SyntaxList<TNode> list) where TNode : CSharpSyntaxNode 75var withSeps = (SyntaxList<CSharpSyntaxNode>)list.GetWithSeparators();
Syntax\InternalSyntax\SyntaxFactory.cs (7)
257public static SyntaxList<TNode> List<TNode>() where TNode : CSharpSyntaxNode 259return default(SyntaxList<TNode>); 262public static SyntaxList<TNode> List<TNode>(TNode node) where TNode : CSharpSyntaxNode 267public static SyntaxList<TNode> List<TNode>(TNode node0, TNode node1) where TNode : CSharpSyntaxNode 277public static SyntaxList<TNode> List<TNode>(TNode node0, TNode node1, TNode node2) where TNode : CSharpSyntaxNode 287public static SyntaxList<TNode> List<TNode>(params TNode[] nodes) where TNode : CSharpSyntaxNode 294return default(SyntaxList<TNode>);
Syntax\InternalSyntax\SyntaxListPoolExtensions.cs (1)
11public static SyntaxList<SyntaxToken> ToTokenListAndFree(this SyntaxListPool pool, SyntaxListBuilder builder)
Syntax\InternalSyntax\SyntaxToken.cs (2)
332internal SyntaxList<CSharpSyntaxNode> LeadingTrivia 337internal SyntaxList<CSharpSyntaxNode> TrailingTrivia
Syntax\InterpolatedStringExpressionSyntax.cs (1)
14public static InterpolatedStringExpressionSyntax InterpolatedStringExpression(SyntaxToken stringStartToken, SyntaxList<InterpolatedStringContentSyntax> contents)
Syntax\LocalFunctionStatementSyntax.cs (3)
12public LocalFunctionStatementSyntax Update(SyntaxTokenList modifiers, TypeSyntax returnType, SyntaxToken identifier, TypeParameterListSyntax typeParameterList, ParameterListSyntax parameterList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, BlockSyntax body, ArrowExpressionClauseSyntax expressionBody, SyntaxToken semicolonToken) 24public static LocalFunctionStatementSyntax LocalFunctionStatement(SyntaxTokenList modifiers, TypeSyntax returnType, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, ParameterListSyntax parameterList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, BlockSyntax? body, ArrowExpressionClauseSyntax? expressionBody) 30public static LocalFunctionStatementSyntax LocalFunctionStatement(SyntaxTokenList modifiers, TypeSyntax returnType, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, ParameterListSyntax parameterList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, BlockSyntax? body, ArrowExpressionClauseSyntax? expressionBody, SyntaxToken semicolonToken)
Syntax\LookupPosition.cs (1)
98internal static bool IsInAttributeSpecification(int position, SyntaxList<AttributeListSyntax> attributesSyntaxList)
Syntax\MethodDeclarationSyntax.cs (2)
28SyntaxList<AttributeListSyntax> attributeLists, 35SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses,
Syntax\NamespaceDeclarationSyntax.cs (3)
21public NamespaceDeclarationSyntax Update(SyntaxToken namespaceKeyword, NameSyntax name, SyntaxToken openBraceToken, SyntaxList<ExternAliasDirectiveSyntax> externs, SyntaxList<UsingDirectiveSyntax> usings, SyntaxList<MemberDeclarationSyntax> members, SyntaxToken closeBraceToken, SyntaxToken semicolonToken)
Syntax\OperatorDeclarationSyntax.cs (2)
10SyntaxList<AttributeListSyntax> attributeLists, 34SyntaxList<AttributeListSyntax> attributeLists,
Syntax\ParenthesizedLambdaExpressionSyntax.cs (2)
36public ParenthesizedLambdaExpressionSyntax Update(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, ParameterListSyntax parameterList, SyntaxToken arrowToken, BlockSyntax? block, ExpressionSyntax? expressionBody) 57public static ParenthesizedLambdaExpressionSyntax ParenthesizedLambdaExpression(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, ParameterListSyntax parameterList, BlockSyntax? block, ExpressionSyntax? expressionBody)
Syntax\PropertyDeclarationSyntax.cs (2)
34public AccessorDeclarationSyntax Update(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken keyword, BlockSyntax? body, SyntaxToken semicolonToken) 46return SyntaxFactory.AccessorDeclaration(kind, default(SyntaxList<AttributeListSyntax>), default(SyntaxTokenList), SyntaxFactory.Token(GetAccessorDeclarationKeywordKind(kind)), body, expressionBody: null, default(SyntaxToken));
Syntax\RecordDeclarationSyntax.cs (9)
13public RecordDeclarationSyntax Update(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken keyword, SyntaxToken identifier, 14TypeParameterListSyntax? typeParameterList, ParameterListSyntax? parameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, 15SyntaxToken openBraceToken, SyntaxList<MemberDeclarationSyntax> members, SyntaxToken closeBraceToken, SyntaxToken semicolonToken) 27public static RecordDeclarationSyntax RecordDeclaration(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken keyword, SyntaxToken identifier, 28TypeParameterListSyntax? typeParameterList, ParameterListSyntax? parameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, 29SyntaxToken openBraceToken, SyntaxList<MemberDeclarationSyntax> members, SyntaxToken closeBraceToken, SyntaxToken semicolonToken) 35public static RecordDeclarationSyntax RecordDeclaration(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken keyword, SyntaxToken identifier, 36TypeParameterListSyntax? typeParameterList, ParameterListSyntax? parameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, SyntaxList<MemberDeclarationSyntax> members)
Syntax\StructDeclarationSyntax.cs (3)
9public StructDeclarationSyntax Update(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken keyword, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, SyntaxToken openBraceToken, SyntaxList<MemberDeclarationSyntax> members, SyntaxToken closeBraceToken, SyntaxToken semicolonToken)
Syntax\SwitchStatementSyntax.cs (2)
11public SwitchStatementSyntax Update(SyntaxToken switchKeyword, SyntaxToken openParenToken, ExpressionSyntax expression, SyntaxToken closeParenToken, SyntaxToken openBraceToken, SyntaxList<SwitchSectionSyntax> sections, SyntaxToken closeBraceToken) 20public static SwitchStatementSyntax SwitchStatement(SyntaxToken switchKeyword, SyntaxToken openParenToken, ExpressionSyntax expression, SyntaxToken closeParenToken, SyntaxToken openBraceToken, SyntaxList<SwitchSectionSyntax> sections, SyntaxToken closeBraceToken)
Syntax\SyntaxExtensions.cs (4)
268SyntaxList<AttributeListSyntax> attributeLists, 290SyntaxList<AttributeListSyntax> attributeLists, 313SyntaxList<AttributeListSyntax> attributeLists, 320SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses,
Syntax\SyntaxFactory.cs (72)
688public static XmlElementSyntax XmlSummaryElement(SyntaxList<XmlNodeSyntax> content) 716public static XmlElementSyntax XmlSeeAlsoElement(Uri linkAddress, SyntaxList<XmlNodeSyntax> linkText) 802public static XmlElementSyntax XmlRemarksElement(SyntaxList<XmlNodeSyntax> content) 820public static XmlElementSyntax XmlReturnsElement(SyntaxList<XmlNodeSyntax> content) 838public static XmlElementSyntax XmlValueElement(SyntaxList<XmlNodeSyntax> content) 858public static XmlElementSyntax XmlExceptionElement(CrefSyntax cref, SyntaxList<XmlNodeSyntax> content) 879public static XmlElementSyntax XmlPermissionElement(CrefSyntax cref, SyntaxList<XmlNodeSyntax> content) 898public static XmlElementSyntax XmlExampleElement(SyntaxList<XmlNodeSyntax> content) 917public static XmlElementSyntax XmlParaElement(SyntaxList<XmlNodeSyntax> content) 941public static XmlElementSyntax XmlParamElement(string parameterName, SyntaxList<XmlNodeSyntax> content) 990public static XmlElementSyntax XmlPlaceholderElement(SyntaxList<XmlNodeSyntax> content) 1009public static XmlElementSyntax XmlElement(string localName, SyntaxList<XmlNodeSyntax> content) 1019public static XmlElementSyntax XmlElement(XmlNameSyntax name, SyntaxList<XmlNodeSyntax> content) 1075public static XmlElementSyntax XmlMultiLineElement(string localName, SyntaxList<XmlNodeSyntax> content) 1085public static XmlElementSyntax XmlMultiLineElement(XmlNameSyntax name, SyntaxList<XmlNodeSyntax> content) 1228public static SyntaxList<TNode> List<TNode>() where TNode : SyntaxNode 1230return default(SyntaxList<TNode>); 1239public static SyntaxList<TNode> SingletonList<TNode>(TNode node) where TNode : SyntaxNode 1249public static SyntaxList<TNode> List<TNode>(IEnumerable<TNode> nodes) where TNode : SyntaxNode 2012public static bool AreEquivalent<TNode>(SyntaxList<TNode> oldList, SyntaxList<TNode> newList, bool topLevel) 2027public static bool AreEquivalent<TNode>(SyntaxList<TNode> oldList, SyntaxList<TNode> newList, Func<SyntaxKind, bool>? ignoreChildNode = null) 2451SyntaxList<AttributeListSyntax> attributeLists, 2470SyntaxList<AttributeListSyntax> attributeLists, 2492SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, 2515SyntaxList<AttributeListSyntax> attributeLists, 2536SyntaxList<AttributeListSyntax> attributeLists, 2563SyntaxList<AttributeListSyntax> attributeLists, 2586SyntaxList<AttributeListSyntax> attributeLists, 2611SyntaxList<AttributeListSyntax> attributeLists, 2632SyntaxList<AttributeListSyntax> attributeLists, 2687public static AccessorDeclarationSyntax AccessorDeclaration(SyntaxKind kind, SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, BlockSyntax body) 2689public static AccessorDeclarationSyntax AccessorDeclaration(SyntaxKind kind, SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken keyword, BlockSyntax body, SyntaxToken semicolonToken) 2691public static AccessorDeclarationSyntax AccessorDeclaration(SyntaxKind kind, SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, ArrowExpressionClauseSyntax expressionBody) 2693public static AccessorDeclarationSyntax AccessorDeclaration(SyntaxKind kind, SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken keyword, ArrowExpressionClauseSyntax expressionBody, SyntaxToken semicolonToken) 2696public static EnumMemberDeclarationSyntax EnumMemberDeclaration(SyntaxList<AttributeListSyntax> attributeLists, SyntaxToken identifier, EqualsValueClauseSyntax? equalsValue) 2700public static NamespaceDeclarationSyntax NamespaceDeclaration(NameSyntax name, SyntaxList<ExternAliasDirectiveSyntax> externs, SyntaxList<UsingDirectiveSyntax> usings, SyntaxList<MemberDeclarationSyntax> members) 2704public static NamespaceDeclarationSyntax NamespaceDeclaration(SyntaxToken namespaceKeyword, NameSyntax name, SyntaxToken openBraceToken, SyntaxList<ExternAliasDirectiveSyntax> externs, SyntaxList<UsingDirectiveSyntax> usings, SyntaxList<MemberDeclarationSyntax> members, SyntaxToken closeBraceToken, SyntaxToken semicolonToken) 2709public static EventDeclarationSyntax EventDeclaration(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken eventKeyword, TypeSyntax type, ExplicitInterfaceSpecifierSyntax explicitInterfaceSpecifier, SyntaxToken identifier, AccessorListSyntax accessorList) 2715public static EventDeclarationSyntax EventDeclaration(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken eventKeyword, TypeSyntax type, ExplicitInterfaceSpecifierSyntax explicitInterfaceSpecifier, SyntaxToken identifier, SyntaxToken semicolonToken) 2721public static SwitchStatementSyntax SwitchStatement(ExpressionSyntax expression, SyntaxList<SwitchSectionSyntax> sections) 2740return SyntaxFactory.SwitchStatement(expression, default(SyntaxList<SwitchSectionSyntax>)); 2857public static ClassDeclarationSyntax ClassDeclaration(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken keyword, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, SyntaxToken openBraceToken, SyntaxList<MemberDeclarationSyntax> members, SyntaxToken closeBraceToken, SyntaxToken semicolonToken) 2866public static ClassDeclarationSyntax ClassDeclaration(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, SyntaxList<MemberDeclarationSyntax> members) 2872public static ClassDeclarationSyntax ClassDeclaration(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, ParameterListSyntax? parameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, SyntaxList<MemberDeclarationSyntax> members) 2884public static StructDeclarationSyntax StructDeclaration(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken keyword, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, SyntaxToken openBraceToken, SyntaxList<MemberDeclarationSyntax> members, SyntaxToken closeBraceToken, SyntaxToken semicolonToken) 2893public static StructDeclarationSyntax StructDeclaration(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, SyntaxList<MemberDeclarationSyntax> members) 2899public static StructDeclarationSyntax StructDeclaration(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, ParameterListSyntax? parameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, SyntaxList<MemberDeclarationSyntax> members) 2911public static InterfaceDeclarationSyntax InterfaceDeclaration(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken keyword, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, SyntaxToken openBraceToken, SyntaxList<MemberDeclarationSyntax> members, SyntaxToken closeBraceToken, SyntaxToken semicolonToken) 2917public static InterfaceDeclarationSyntax InterfaceDeclaration(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, SyntaxList<MemberDeclarationSyntax> members) 2929public static EnumDeclarationSyntax EnumDeclaration(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken identifier, BaseListSyntax? baseList, SeparatedSyntaxList<EnumMemberDeclarationSyntax> members)
Syntax\SyntaxReplacer.cs (2)
418public override SyntaxList<TNode> VisitList<TNode>(SyntaxList<TNode> list)
Syntax\TryStatementSyntax.cs (3)
11public TryStatementSyntax Update(SyntaxToken tryKeyword, BlockSyntax block, SyntaxList<CatchClauseSyntax> catches, FinallyClauseSyntax @finally) 20public static TryStatementSyntax TryStatement(BlockSyntax block, SyntaxList<CatchClauseSyntax> catches, FinallyClauseSyntax? @finally) 23public static TryStatementSyntax TryStatement(SyntaxToken tryKeyword, BlockSyntax block, SyntaxList<CatchClauseSyntax> catches, FinallyClauseSyntax? @finally)
Syntax\TypeDeclarationSyntax.cs (7)
27public new TypeDeclarationSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) 89default(SyntaxList<AttributeListSyntax>), 95default(SyntaxList<TypeParameterConstraintClauseSyntax>), 97default(SyntaxList<MemberDeclarationSyntax>), 109SyntaxList<AttributeListSyntax> attributes, 115SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, 117SyntaxList<MemberDeclarationSyntax> members,
Microsoft.CodeAnalysis.CSharp.CodeStyle (38)
src\Analyzers\CSharp\Analyzers\AddAccessibilityModifiers\CSharpAddAccessibilityModifiersDiagnosticAnalyzer.cs (1)
30SyntaxList<MemberDeclarationSyntax> members)
src\Analyzers\CSharp\Analyzers\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionDiagnosticAnalyzer.Analyzer.cs (3)
110var sections = switchStatement.Sections; 133private bool CanConvertLabelsToArms(SyntaxList<SwitchLabelSyntax> labels) 231private static SyntaxKind Aggregate<T>(SyntaxKind seed, SyntaxList<T> nodes, Func<SyntaxKind, T, SyntaxKind> func)
src\Analyzers\CSharp\Analyzers\RemoveUnusedMembers\CSharpRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
33protected override SyntaxList<MemberDeclarationSyntax> GetMembers(TypeDeclarationSyntax typeDeclaration)
src\Analyzers\CSharp\Analyzers\UseSimpleUsingStatement\UseSimpleUsingStatementDiagnosticAnalyzer.cs (1)
208var innerStatements = innermostUsing.Statement is BlockSyntax block
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions_GetAttributes.cs (1)
13public static SyntaxList<AttributeListSyntax> GetAttributes(this MemberDeclarationSyntax member)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxListExtensions.cs (4)
15public static SyntaxList<T> RemoveRange<T>(this SyntaxList<T> syntaxList, int index, int count) where T : SyntaxNode 22public static SyntaxList<T> Insert<T>(this SyntaxList<T> list, int index, T item) where T : SyntaxNode
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
157public static SyntaxList<AttributeListSyntax> GetAttributeLists(this SyntaxNode? declaration)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
491var attributes = node.GetAttributes();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SuppressFormattingRule.cs (1)
160var attributes = memberDeclNode.GetAttributes();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (2)
234var usings = GetUsings(currentUsing.Parent); 248private static SyntaxList<UsingDirectiveSyntax> GetUsings(SyntaxNode node)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SelectedMembers\CSharpSelectedMembers.cs (1)
42protected override SyntaxList<MemberDeclarationSyntax> GetMembers(TypeDeclarationSyntax containingType)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (1)
145private static void AppendAliasNames(SyntaxList<UsingDirectiveSyntax> usings, ImmutableHashSet<string>.Builder builder)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpDocumentationCommentService.cs (1)
31protected override SyntaxList<XmlAttributeSyntax> GetAttributes(XmlEmptyElementSyntax xmlEmpty)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (11)
919public SyntaxList<SyntaxNode> GetMembersOfTypeDeclaration(SyntaxNode typeDeclaration) 1080private static void AppendConstructors(SyntaxList<MemberDeclarationSyntax> members, List<SyntaxNode> constructors, CancellationToken cancellationToken) 1193public SyntaxList<SyntaxNode> GetContentsOfInterpolatedString(SyntaxNode interpolatedString) 1423public SyntaxList<SyntaxNode> GetAttributeLists(SyntaxNode? node) 1430public SyntaxList<SyntaxNode> GetContentFromDocumentationCommentTriviaSyntax(SyntaxTrivia trivia) 1611public void GetPartsOfCompilationUnit(SyntaxNode node, out SyntaxList<SyntaxNode> imports, out SyntaxList<SyntaxNode> attributeLists, out SyntaxList<SyntaxNode> members) 1650out SyntaxToken stringStartToken, out SyntaxList<SyntaxNode> contents, out SyntaxToken stringEndToken) 1673public void GetPartsOfBaseNamespaceDeclaration(SyntaxNode node, out SyntaxNode name, out SyntaxList<SyntaxNode> imports, out SyntaxList<SyntaxNode> members)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesOrganizer.cs (8)
17SyntaxList<ExternAliasDirectiveSyntax> externAliasList, 18SyntaxList<UsingDirectiveSyntax> usingList, 21out SyntaxList<ExternAliasDirectiveSyntax> organizedExternAliasList, 22out SyntaxList<UsingDirectiveSyntax> organizedUsingList) 96SyntaxList<ExternAliasDirectiveSyntax> externAliasList, 97SyntaxList<UsingDirectiveSyntax> usingList, 100out SyntaxList<ExternAliasDirectiveSyntax> organizedExternAliasList, 101out SyntaxList<UsingDirectiveSyntax> organizedUsingList)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (78)
src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (2)
130private static PatternSyntax GetPattern(SyntaxList<SwitchLabelSyntax> switchLabels, out WhenClauseSyntax? whenClause) 205private ExpressionSyntax RewriteStatements(SyntaxList<StatementSyntax> statements)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (3)
437private static SyntaxList<AttributeListSyntax> GetModifiedAttributeListsForProperty(PositionalParameterInfo result) 717private static SyntaxTriviaList? SearchInNodes(SyntaxList<XmlNodeSyntax> nodes) 785var summaryContent = ((XmlElementSyntax)summaryNode).Content;
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\PositionalParameterInfo.cs (1)
161var accessors = property.AccessorList.Accessors;
src\Analyzers\CSharp\CodeFixes\MisplacedUsingDirectives\MisplacedUsingDirectivesCodeFixProvider.cs (3)
120void Recurse(SyntaxList<MemberDeclarationSyntax> members) 233var newUsings = compilationUnitWithReplacedNamespaces.Usings.AddRange(deduplicatedUsings); 306private static SyntaxList<MemberDeclarationSyntax> GetMembers(SyntaxNode node)
src\Analyzers\CSharp\CodeFixes\UseLocalFunction\CSharpUseLocalFunctionCodeFixProvider.cs (2)
220var constraintClauses = default(SyntaxList<TypeParameterConstraintClauseSyntax>);
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (1)
153var finalAttributeLists = currentTypeDeclaration.AttributeLists.AddRange(
src\Analyzers\CSharp\CodeFixes\UseSimpleUsingStatement\UseSimpleUsingStatementCodeFixProvider.cs (1)
143var statements = blockSyntax.Statements;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\AttributeGenerator.cs (1)
21public static SyntaxList<AttributeListSyntax> GenerateAttributeLists(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConstructorGenerator.cs (2)
23private static MemberDeclarationSyntax? LastConstructorOrField(SyntaxList<MemberDeclarationSyntax> members) 37var members = Insert(destination.Members, constructorDeclaration, info,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConversionGenerator.cs (1)
29var members = Insert(destination.Members, methodDeclaration, info, availableIndices, after: LastOperator);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationHelpers.cs (12)
29SyntaxList<MemberDeclarationSyntax> members) where TDeclarationSyntax : MemberDeclarationSyntax 73TypeDeclarationSyntax destination, SyntaxList<MemberDeclarationSyntax> members, CancellationToken cancellationToken) 151public static MemberDeclarationSyntax? FirstMember(SyntaxList<MemberDeclarationSyntax> members) 154public static MemberDeclarationSyntax? FirstMethod(SyntaxList<MemberDeclarationSyntax> members) 157public static MemberDeclarationSyntax? LastField(SyntaxList<MemberDeclarationSyntax> members) 160public static MemberDeclarationSyntax? LastConstructor(SyntaxList<MemberDeclarationSyntax> members) 163public static MemberDeclarationSyntax? LastMethod(SyntaxList<MemberDeclarationSyntax> members) 166public static MemberDeclarationSyntax? LastOperator(SyntaxList<MemberDeclarationSyntax> members) 169public static SyntaxList<TDeclaration> Insert<TDeclaration>( 170SyntaxList<TDeclaration> declarationList, 174Func<SyntaxList<TDeclaration>, TDeclaration?>? after = null, 175Func<SyntaxList<TDeclaration>, TDeclaration?>? before = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (2)
439private static SyntaxList<AttributeListSyntax> RemoveAttributeFromAttributeLists( 440SyntaxList<AttributeListSyntax> attributeLists,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\DestructorGenerator.cs (2)
21private static MemberDeclarationSyntax? LastConstructorOrField(SyntaxList<MemberDeclarationSyntax> members) 35var members = Insert(destination.Members, destructorDeclaration, info,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\EventGenerator.cs (4)
25SyntaxList<MemberDeclarationSyntax> members, 48SyntaxList<MemberDeclarationSyntax> members, 73var members = Insert(destination.Members, declaration, info, availableIndices, 87var members = Insert(destination.Members, declaration, info, availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\FieldGenerator.cs (3)
25SyntaxList<MemberDeclarationSyntax> members, 65var members = Insert(destination.Members, declaration, info, availableIndices, 81var members = Insert(destination.Members, declaration, info, availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\MethodGenerator.cs (6)
38var members = Insert(destination.Members, declaration, info, availableIndices, after: LastMethod); 53var members = Insert(destination.Members, declaration, info, availableIndices, after: LastMethod); 68var members = Insert(destination.Members, methodDeclaration, info, availableIndices, after: LastMethod); 194private static SyntaxList<AttributeListSyntax> GenerateAttributes( 208private static SyntaxList<TypeParameterConstraintClauseSyntax> GenerateConstraintClauses( 216private static SyntaxList<TypeParameterConstraintClauseSyntax> GenerateDefaultConstraints(IMethodSymbol method)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamedTypeGenerator.cs (5)
34var members = Insert(destination.Members, declaration, info, availableIndices); 48var members = Insert(destination.Members, declaration, info, availableIndices); 63var members = Insert(destination.Members, declaration, info, availableIndices); 260private static SyntaxList<AttributeListSyntax> GenerateAttributeDeclarations( 331private static SyntaxList<TypeParameterConstraintClauseSyntax> GenerateConstraintClauses(INamedTypeSymbol namedType)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamespaceGenerator.cs (4)
40var members = Insert(destination.Members, namespaceDeclaration, info, availableIndices); 62var members = Insert(destination.Members, namespaceDeclaration, info, availableIndices); 102var usings = GenerateUsingDirectives(innermostNamespace); 139private static SyntaxList<UsingDirectiveSyntax> GenerateUsingDirectives(INamespaceSymbol innermostNamespace)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\OperatorGenerator.cs (1)
31var members = Insert(destination.Members, methodDeclaration, info, availableIndices, after: LastOperator);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ParameterGenerator.cs (1)
121private static SyntaxList<AttributeListSyntax> GenerateAttributes(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (3)
30SyntaxList<MemberDeclarationSyntax> members) 47var members = Insert(destination.Members, declaration, info, 62var members = Insert(destination.Members, declaration, info,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\StatementGenerator.cs (1)
15internal static SyntaxList<StatementSyntax> GenerateStatements(IEnumerable<SyntaxNode> statements)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\CompilationUnitSyntaxExtensions.cs (2)
54var usings = namespaceDeclaration.Usings; 61var rootUsings = root.Usings;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeParameterSymbolExtensions.cs (2)
17public static SyntaxList<TypeParameterConstraintClauseSyntax> GenerateConstraintClauses( 23public static SyntaxList<TypeParameterConstraintClauseSyntax> GenerateConstraintClauses(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\QueryExpressionSyntaxExtensions.cs (1)
44var clauses = SyntaxFactory.List(allClauses.Take(allClauses.Count() - 1).Cast<QueryClauseSyntax>());
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\TypeDeclarationSyntaxExtensions.cs (1)
23var members = destination.Members;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\UsingDirectiveSyntaxExtensions.cs (1)
16SyntaxList<UsingDirectiveSyntax> existingDirectives,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (1)
410var clauses = queryBody.Clauses;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpAddImportsService.cs (2)
71protected override SyntaxList<UsingDirectiveSyntax> GetUsingsAndAliases(SyntaxNode node) 79protected override SyntaxList<ExternAliasDirectiveSyntax> GetExterns(SyntaxNode node)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpRemoveUnnecessaryImportsService.cs (1)
96private static int GetEndPosition(SyntaxNode container, SyntaxList<MemberDeclarationSyntax> list)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpRemoveUnnecessaryImportsService.Rewriter.cs (6)
44SyntaxList<UsingDirectiveSyntax> usings, 46out SyntaxList<UsingDirectiveSyntax> finalUsings, 130SyntaxList<UsingDirectiveSyntax> oldUsings, 131SyntaxList<UsingDirectiveSyntax> newUsings) 157ProcessUsings(compilationUnit.Usings, usingsToRemove, out var finalUsings, out var finalTrivia); 209ProcessUsings(namespaceDeclaration.Usings, usingsToRemove, out var finalUsings, out var finalTrivia);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\AttributeTests.cs (1)
88var list = new SyntaxList<UsingDirectiveSyntax>().AddRange(nodes);
Microsoft.CodeAnalysis.CSharp.Features (69)
CodeRefactorings\SyncNamespace\CSharpChangeNamespaceService.cs (2)
84protected override SyntaxList<MemberDeclarationSyntax> GetMemberDeclarationsInContainer(SyntaxNode container) 270var members = namespaceDecl.Members;
Completion\CompletionProviders\XmlDocCommentCompletionProvider.cs (5)
229var attributes = default(SyntaxList<XmlAttributeSyntax>); 257private static (string? name, SyntaxList<XmlAttributeSyntax> attributes) GetElementNameAndAttributes(SyntaxNode node) 260SyntaxList<XmlAttributeSyntax> attributes; 355(var name, var attributes) = GetElementNameAndAttributes(node);
ConvertForToForEach\CSharpConvertForToForEachCodeRefactoringProvider.cs (1)
36protected override SyntaxList<StatementSyntax> GetBodyStatements(ForStatementSyntax forStatement)
ConvertToRawString\ConvertInterpolatedStringToRawStringCodeRefactoringProvider.cs (1)
428private static SyntaxList<InterpolatedStringContentSyntax> ConvertContents(
EditAndContinue\BreakpointSpans.cs (1)
974private static TextSpan? CreateSpanForAccessors(SyntaxList<AccessorDeclarationSyntax> accessors, int position)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
557using var _ = ArrayBuilder<SyntaxList<MemberDeclarationSyntax>>.GetInstance(out var stack);
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.CallSiteContainerRewriter.cs (11)
293private SyntaxList<TSyntax> ReplaceList<TSyntax>(SyntaxList<TSyntax> list) 316private SyntaxList<StatementSyntax> ReplaceStatements(SyntaxList<StatementSyntax> statements) 319private SyntaxList<AccessorDeclarationSyntax> ReplaceAccessors(SyntaxList<AccessorDeclarationSyntax> accessors) 322private SyntaxList<MemberDeclarationSyntax> ReplaceMembers(SyntaxList<MemberDeclarationSyntax> members, bool global) 413var newAccessors = VisitList(ReplaceAccessors(node.Accessors)); 425var newMembers = VisitList(ReplaceMembers(node.Members, global: true)); 431var newMembers = VisitList(ReplaceMembers(node.Members, global: false));
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (1)
548var statements = blockBody.Statements;
GenerateType\CSharpGenerateTypeService.cs (1)
595private BaseNamespaceDeclarationSyntax FindNamespaceInMemberDeclarations(SyntaxList<MemberDeclarationSyntax> members, int indexDone, List<string> containers)
IntroduceUsingStatement\CSharpIntroduceUsingStatementCodeRefactoringProvider.cs (5)
35protected override (SyntaxList<StatementSyntax> tryStatements, SyntaxList<StatementSyntax> finallyStatements) GetTryFinallyStatements(TryStatementSyntax tryStatement) 41protected override SyntaxList<StatementSyntax> GetSurroundingStatements(LocalDeclarationStatementSyntax declarationStatement) 49protected override SyntaxNode WithStatements(SyntaxNode parentOfStatementsToSurround, SyntaxList<StatementSyntax> statements) 57protected override StatementSyntax CreateUsingStatement(LocalDeclarationStatementSyntax declarationStatement, SyntaxList<StatementSyntax> statementsToSurround)
IntroduceVariable\CSharpIntroduceVariableService_IntroduceField.cs (6)
85SyntaxList<MemberDeclarationSyntax> oldMembers, 86SyntaxList<MemberDeclarationSyntax> newMembers) 125SyntaxList<MemberDeclarationSyntax> oldMembers, 126SyntaxList<MemberDeclarationSyntax> newMembers) 163private static int DetermineFirstChange(SyntaxList<MemberDeclarationSyntax> oldMembers, SyntaxList<MemberDeclarationSyntax> newMembers)
IntroduceVariable\CSharpIntroduceVariableService_IntroduceLocal.cs (6)
352var statements = InsertWithinTriviaOfNext(GetStatements(newInnerMostBlock), declarationStatement, firstStatementAffectedIndex); 409var statementsInBlock = GetStatements(innermostCommonBlock); 416private static SyntaxList<StatementSyntax> InsertWithinTriviaOfNext( 417SyntaxList<StatementSyntax> oldStatements, 447private static SyntaxList<StatementSyntax> GetStatements(SyntaxNode blockLike) 455private static SyntaxNode WithStatements(SyntaxNode blockLike, SyntaxList<StatementSyntax> statements)
InvertIf\CSharpInvertIfCodeRefactoringProvider.cs (1)
85protected override SyntaxList<StatementSyntax> GetStatements(SyntaxNode node)
LineSeparators\CSharpLineSeparatorService.cs (2)
244private static void ProcessUsings(SyntaxList<UsingDirectiveSyntax> usings, ArrayBuilder<TextSpan> spans, CancellationToken cancellationToken) 259private static void ProcessNodeList<T>(SyntaxList<T> children, ArrayBuilder<TextSpan> spans, CancellationToken cancellationToken) where T : SyntaxNode
MetadataAsSource\CSharpMetadataAsSourceService.cs (2)
161private SyntaxList<MemberDeclarationSyntax> AddNullableRegions( 162SyntaxList<MemberDeclarationSyntax> members,
Organizing\Organizers\MemberDeclarationsOrganizer.cs (2)
20public static SyntaxList<MemberDeclarationSyntax> Organize( 21SyntaxList<MemberDeclarationSyntax> members,
src\Analyzers\CSharp\Analyzers\AddAccessibilityModifiers\CSharpAddAccessibilityModifiersDiagnosticAnalyzer.cs (1)
30SyntaxList<MemberDeclarationSyntax> members)
src\Analyzers\CSharp\Analyzers\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionDiagnosticAnalyzer.Analyzer.cs (3)
110var sections = switchStatement.Sections; 133private bool CanConvertLabelsToArms(SyntaxList<SwitchLabelSyntax> labels) 231private static SyntaxKind Aggregate<T>(SyntaxKind seed, SyntaxList<T> nodes, Func<SyntaxKind, T, SyntaxKind> func)
src\Analyzers\CSharp\Analyzers\RemoveUnusedMembers\CSharpRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
33protected override SyntaxList<MemberDeclarationSyntax> GetMembers(TypeDeclarationSyntax typeDeclaration)
src\Analyzers\CSharp\Analyzers\UseSimpleUsingStatement\UseSimpleUsingStatementDiagnosticAnalyzer.cs (1)
208var innerStatements = innermostUsing.Statement is BlockSyntax block
src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (2)
130private static PatternSyntax GetPattern(SyntaxList<SwitchLabelSyntax> switchLabels, out WhenClauseSyntax? whenClause) 205private ExpressionSyntax RewriteStatements(SyntaxList<StatementSyntax> statements)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (3)
437private static SyntaxList<AttributeListSyntax> GetModifiedAttributeListsForProperty(PositionalParameterInfo result) 717private static SyntaxTriviaList? SearchInNodes(SyntaxList<XmlNodeSyntax> nodes) 785var summaryContent = ((XmlElementSyntax)summaryNode).Content;
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\PositionalParameterInfo.cs (1)
161var accessors = property.AccessorList.Accessors;
src\Analyzers\CSharp\CodeFixes\MisplacedUsingDirectives\MisplacedUsingDirectivesCodeFixProvider.cs (3)
120void Recurse(SyntaxList<MemberDeclarationSyntax> members) 233var newUsings = compilationUnitWithReplacedNamespaces.Usings.AddRange(deduplicatedUsings); 306private static SyntaxList<MemberDeclarationSyntax> GetMembers(SyntaxNode node)
src\Analyzers\CSharp\CodeFixes\UseLocalFunction\CSharpUseLocalFunctionCodeFixProvider.cs (2)
220var constraintClauses = default(SyntaxList<TypeParameterConstraintClauseSyntax>);
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (1)
153var finalAttributeLists = currentTypeDeclaration.AttributeLists.AddRange(
src\Analyzers\CSharp\CodeFixes\UseSimpleUsingStatement\UseSimpleUsingStatementCodeFixProvider.cs (1)
143var statements = blockSyntax.Statements;
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
334private static IEnumerable<SyntaxNode> GetAttributes(SyntaxList<AttributeListSyntax> attributeLists)
UseAutoProperty\CSharpUseAutoPropertyCodeFixProvider.cs (1)
148var fieldAttributes = field.AttributeLists;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\ReadOnlyStructsTests.cs (1)
1268var statements = testMethodSyntax.Body.Statements;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (9)
Compilation\GetSemanticInfoTests.cs (4)
245var mainStats = mainMethod.Body.Statements; 377var mainStats = mainMethod.Body.Statements; 480var mainStats = mainMethod.Body.Statements; 533var mainStats = mainMethod.Body.Statements;
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (4)
307var accessorList = propertyDecl.AccessorList.Accessors; 388var accessorList = eventDecl.AccessorList.Accessors; 2847var classMemberNodes = classNode.Members; 2866var explicitPropertyAccessors = explicitPropertyNode.AccessorList.Accessors;
Symbols\MethodEqualityTests.cs (1)
211var stmts = mDecl.Body.Statements;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (23)
LexicalAndXml\PreprocessorTests.cs (1)
439var actual = node.Members;
LexicalAndXml\XmlDocCommentTests.cs (1)
3392private void VerifyXmlAttributes(SyntaxList<XmlAttributeSyntax> xmlAttributes, Dictionary<string, string> attributes)
Parsing\DeclarationParsingTests.cs (1)
2954var accessors = propertySyntax.AccessorList.Accessors;
Parsing\ParsingErrorRecoveryTests.cs (9)
6568var accessorDecls = propertyDecl.AccessorList.Accessors; 6578var getBodyStmts = getBodyDecl.Statements; 6600var accessorDecls = propertyDecl.AccessorList.Accessors; 7072var usings = file.Usings; 7087var usings = file.Usings; 7104var usings = file.Usings; 7108var members = file.Members; 7128var usings = file.Usings; 7132var members = file.Members;
Syntax\StructuredTriviaTests.cs (2)
43default(SyntaxList<XmlAttributeSyntax>), 52var xmlElement = SyntaxFactory.XmlElement(xmlStartElement, default(SyntaxList<XmlNodeSyntax>), xmlEndElement);
Syntax\SyntaxListTests.cs (9)
30EqualityTesting.AssertEqual(default(SyntaxList<CSharpSyntaxNode>), default(SyntaxList<CSharpSyntaxNode>)); 39Assert.Throws<NotSupportedException>(() => default(SyntaxList<CSharpSyntaxNode>.Enumerator).GetHashCode()); 40Assert.Throws<NotSupportedException>(() => default(SyntaxList<CSharpSyntaxNode>.Enumerator).Equals(default(SyntaxList<CSharpSyntaxNode>.Enumerator))); 189DoTestAddInsertRemoveReplaceOnEmptyList(default(SyntaxList<SyntaxNode>)); 192private void DoTestAddInsertRemoveReplaceOnEmptyList(SyntaxList<SyntaxNode> list) 199var newList = list.Add(nodeD); 268var list = SyntaxFactory.List<SyntaxNode>(
Microsoft.CodeAnalysis.CSharp.Workspaces (143)
CodeGeneration\CSharpSyntaxGenerator.cs (30)
82(SyntaxList<XmlNodeSyntax>)SyntaxFactory.List(nodes), 95return SyntaxFactory.DocumentationCommentTrivia(documentationCommentTrivia.Kind(), (SyntaxList<XmlNodeSyntax>)SyntaxFactory.List(content), documentationCommentTrivia.EndOfComment); 111private SyntaxList<UsingDirectiveSyntax> AsUsingDirectives(IEnumerable<SyntaxNode> declarations) 128private static SyntaxList<MemberDeclarationSyntax> AsNamespaceMembers(IEnumerable<SyntaxNode> declarations) 280var attributes = default(SyntaxList<AttributeListSyntax>); 458var list = SyntaxFactory.List(accessorDeclarations.Cast<AccessorDeclarationSyntax>()); 719var typeMembers = this.AsClassMembers(name, members); 726private SyntaxList<MemberDeclarationSyntax> AsClassMembers(string className, IEnumerable<SyntaxNode>? members) 766var structMembers = this.AsClassMembers(name, members); 796private SyntaxList<MemberDeclarationSyntax> AsInterfaceMembers(IEnumerable<SyntaxNode>? members) 990private static SyntaxList<AttributeListSyntax> AsAttributeLists(IEnumerable<SyntaxNode> attributes) 1034var newAttributes = AsAttributeLists(attributes); 1047var lists = declaration.GetAttributeLists(); 1048var newList = lists.AddRange(newAttributes); 1082var lists = d.GetAttributeLists(); 1083var newList = lists.AddRange(newAttributes); 1094private static SyntaxList<AttributeListSyntax> AsAssemblyAttributes(IEnumerable<AttributeListSyntax> attributes) 1099private static SyntaxList<AttributeListSyntax> WithRequiredTargetSpecifier(SyntaxList<AttributeListSyntax> attributes, SyntaxNode declaration) 1197internal static SyntaxList<AttributeListSyntax> GetAttributeLists(SyntaxNode declaration) 1208private static SyntaxNode WithAttributeLists(SyntaxNode declaration, SyntaxList<AttributeListSyntax> attributeLists) 1246var usingsToInsert = this.AsUsingDirectives(imports); 1846private static SyntaxList<TypeParameterConstraintClauseSyntax> WithTypeConstraints( 1847SyntaxList<TypeParameterConstraintClauseSyntax> clauses, 2180var newSections = statement.Sections.InsertRange(index, switchSections.Cast<SwitchSectionSyntax>()); 3140private static SyntaxList<StatementSyntax> AsStatementList(IEnumerable<SyntaxNode>? nodes) 3573private static SyntaxList<SwitchLabelSyntax> AsSwitchLabels(IEnumerable<SyntaxNode> expressions) 3575var labels = default(SyntaxList<SwitchLabelSyntax>);
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (6)
107private static void ProcessUsings(List<Dictionary<string, string>> aliasMaps, SyntaxList<UsingDirectiveSyntax> usings) 458protected override SyntaxList<MemberDeclarationSyntax> GetChildren(CompilationUnitSyntax node) 461protected override SyntaxList<MemberDeclarationSyntax> GetChildren(BaseNamespaceDeclarationSyntax node) 464protected override SyntaxList<MemberDeclarationSyntax> GetChildren(TypeDeclarationSyntax node) 470protected override SyntaxList<UsingDirectiveSyntax> GetUsingAliases(CompilationUnitSyntax node) 473protected override SyntaxList<UsingDirectiveSyntax> GetUsingAliases(BaseNamespaceDeclarationSyntax node)
OrganizeImports\CSharpOrganizeImportsService.Rewriter.cs (8)
40out var organizedExternAliasList, out var organizedUsingList); 65out var organizedExternAliasList, out var organizedUsingList); 77private void AddTextChange<TSyntax>(SyntaxList<TSyntax> list, SyntaxList<TSyntax> organizedList) 84private static string GetNewText<TSyntax>(SyntaxList<TSyntax> organizedList) where TSyntax : SyntaxNode 87private static TextSpan GetTextSpan<TSyntax>(SyntaxList<TSyntax> list) where TSyntax : SyntaxNode
Rename\CSharpRenameRewriterLanguageService.cs (1)
878SyntaxList<UsingDirectiveSyntax> usings;
SemanticModelReuse\CSharpSemanticModelReuseLanguageService.cs (1)
37protected override SyntaxList<AccessorDeclarationSyntax> GetAccessors(BasePropertyDeclarationSyntax baseProperty)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions_GetAttributes.cs (1)
13public static SyntaxList<AttributeListSyntax> GetAttributes(this MemberDeclarationSyntax member)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxListExtensions.cs (4)
15public static SyntaxList<T> RemoveRange<T>(this SyntaxList<T> syntaxList, int index, int count) where T : SyntaxNode 22public static SyntaxList<T> Insert<T>(this SyntaxList<T> list, int index, T item) where T : SyntaxNode
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
157public static SyntaxList<AttributeListSyntax> GetAttributeLists(this SyntaxNode? declaration)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
491var attributes = node.GetAttributes();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SuppressFormattingRule.cs (1)
160var attributes = memberDeclNode.GetAttributes();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (2)
234var usings = GetUsings(currentUsing.Parent); 248private static SyntaxList<UsingDirectiveSyntax> GetUsings(SyntaxNode node)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SelectedMembers\CSharpSelectedMembers.cs (1)
42protected override SyntaxList<MemberDeclarationSyntax> GetMembers(TypeDeclarationSyntax containingType)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (1)
145private static void AppendAliasNames(SyntaxList<UsingDirectiveSyntax> usings, ImmutableHashSet<string>.Builder builder)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpDocumentationCommentService.cs (1)
31protected override SyntaxList<XmlAttributeSyntax> GetAttributes(XmlEmptyElementSyntax xmlEmpty)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (11)
919public SyntaxList<SyntaxNode> GetMembersOfTypeDeclaration(SyntaxNode typeDeclaration) 1080private static void AppendConstructors(SyntaxList<MemberDeclarationSyntax> members, List<SyntaxNode> constructors, CancellationToken cancellationToken) 1193public SyntaxList<SyntaxNode> GetContentsOfInterpolatedString(SyntaxNode interpolatedString) 1423public SyntaxList<SyntaxNode> GetAttributeLists(SyntaxNode? node) 1430public SyntaxList<SyntaxNode> GetContentFromDocumentationCommentTriviaSyntax(SyntaxTrivia trivia) 1611public void GetPartsOfCompilationUnit(SyntaxNode node, out SyntaxList<SyntaxNode> imports, out SyntaxList<SyntaxNode> attributeLists, out SyntaxList<SyntaxNode> members) 1650out SyntaxToken stringStartToken, out SyntaxList<SyntaxNode> contents, out SyntaxToken stringEndToken) 1673public void GetPartsOfBaseNamespaceDeclaration(SyntaxNode node, out SyntaxNode name, out SyntaxList<SyntaxNode> imports, out SyntaxList<SyntaxNode> members)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesOrganizer.cs (8)
17SyntaxList<ExternAliasDirectiveSyntax> externAliasList, 18SyntaxList<UsingDirectiveSyntax> usingList, 21out SyntaxList<ExternAliasDirectiveSyntax> organizedExternAliasList, 22out SyntaxList<UsingDirectiveSyntax> organizedUsingList) 96SyntaxList<ExternAliasDirectiveSyntax> externAliasList, 97SyntaxList<UsingDirectiveSyntax> usingList, 100out SyntaxList<ExternAliasDirectiveSyntax> organizedExternAliasList, 101out SyntaxList<UsingDirectiveSyntax> organizedUsingList)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\AttributeGenerator.cs (1)
21public static SyntaxList<AttributeListSyntax> GenerateAttributeLists(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConstructorGenerator.cs (2)
23private static MemberDeclarationSyntax? LastConstructorOrField(SyntaxList<MemberDeclarationSyntax> members) 37var members = Insert(destination.Members, constructorDeclaration, info,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConversionGenerator.cs (1)
29var members = Insert(destination.Members, methodDeclaration, info, availableIndices, after: LastOperator);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationHelpers.cs (12)
29SyntaxList<MemberDeclarationSyntax> members) where TDeclarationSyntax : MemberDeclarationSyntax 73TypeDeclarationSyntax destination, SyntaxList<MemberDeclarationSyntax> members, CancellationToken cancellationToken) 151public static MemberDeclarationSyntax? FirstMember(SyntaxList<MemberDeclarationSyntax> members) 154public static MemberDeclarationSyntax? FirstMethod(SyntaxList<MemberDeclarationSyntax> members) 157public static MemberDeclarationSyntax? LastField(SyntaxList<MemberDeclarationSyntax> members) 160public static MemberDeclarationSyntax? LastConstructor(SyntaxList<MemberDeclarationSyntax> members) 163public static MemberDeclarationSyntax? LastMethod(SyntaxList<MemberDeclarationSyntax> members) 166public static MemberDeclarationSyntax? LastOperator(SyntaxList<MemberDeclarationSyntax> members) 169public static SyntaxList<TDeclaration> Insert<TDeclaration>( 170SyntaxList<TDeclaration> declarationList, 174Func<SyntaxList<TDeclaration>, TDeclaration?>? after = null, 175Func<SyntaxList<TDeclaration>, TDeclaration?>? before = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (2)
439private static SyntaxList<AttributeListSyntax> RemoveAttributeFromAttributeLists( 440SyntaxList<AttributeListSyntax> attributeLists,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\DestructorGenerator.cs (2)
21private static MemberDeclarationSyntax? LastConstructorOrField(SyntaxList<MemberDeclarationSyntax> members) 35var members = Insert(destination.Members, destructorDeclaration, info,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\EventGenerator.cs (4)
25SyntaxList<MemberDeclarationSyntax> members, 48SyntaxList<MemberDeclarationSyntax> members, 73var members = Insert(destination.Members, declaration, info, availableIndices, 87var members = Insert(destination.Members, declaration, info, availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\FieldGenerator.cs (3)
25SyntaxList<MemberDeclarationSyntax> members, 65var members = Insert(destination.Members, declaration, info, availableIndices, 81var members = Insert(destination.Members, declaration, info, availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\MethodGenerator.cs (6)
38var members = Insert(destination.Members, declaration, info, availableIndices, after: LastMethod); 53var members = Insert(destination.Members, declaration, info, availableIndices, after: LastMethod); 68var members = Insert(destination.Members, methodDeclaration, info, availableIndices, after: LastMethod); 194private static SyntaxList<AttributeListSyntax> GenerateAttributes( 208private static SyntaxList<TypeParameterConstraintClauseSyntax> GenerateConstraintClauses( 216private static SyntaxList<TypeParameterConstraintClauseSyntax> GenerateDefaultConstraints(IMethodSymbol method)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamedTypeGenerator.cs (5)
34var members = Insert(destination.Members, declaration, info, availableIndices); 48var members = Insert(destination.Members, declaration, info, availableIndices); 63var members = Insert(destination.Members, declaration, info, availableIndices); 260private static SyntaxList<AttributeListSyntax> GenerateAttributeDeclarations( 331private static SyntaxList<TypeParameterConstraintClauseSyntax> GenerateConstraintClauses(INamedTypeSymbol namedType)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamespaceGenerator.cs (4)
40var members = Insert(destination.Members, namespaceDeclaration, info, availableIndices); 62var members = Insert(destination.Members, namespaceDeclaration, info, availableIndices); 102var usings = GenerateUsingDirectives(innermostNamespace); 139private static SyntaxList<UsingDirectiveSyntax> GenerateUsingDirectives(INamespaceSymbol innermostNamespace)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\OperatorGenerator.cs (1)
31var members = Insert(destination.Members, methodDeclaration, info, availableIndices, after: LastOperator);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ParameterGenerator.cs (1)
121private static SyntaxList<AttributeListSyntax> GenerateAttributes(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (3)
30SyntaxList<MemberDeclarationSyntax> members) 47var members = Insert(destination.Members, declaration, info, 62var members = Insert(destination.Members, declaration, info,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\StatementGenerator.cs (1)
15internal static SyntaxList<StatementSyntax> GenerateStatements(IEnumerable<SyntaxNode> statements)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\CompilationUnitSyntaxExtensions.cs (2)
54var usings = namespaceDeclaration.Usings; 61var rootUsings = root.Usings;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeParameterSymbolExtensions.cs (2)
17public static SyntaxList<TypeParameterConstraintClauseSyntax> GenerateConstraintClauses( 23public static SyntaxList<TypeParameterConstraintClauseSyntax> GenerateConstraintClauses(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\QueryExpressionSyntaxExtensions.cs (1)
44var clauses = SyntaxFactory.List(allClauses.Take(allClauses.Count() - 1).Cast<QueryClauseSyntax>());
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\TypeDeclarationSyntaxExtensions.cs (1)
23var members = destination.Members;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\UsingDirectiveSyntaxExtensions.cs (1)
16SyntaxList<UsingDirectiveSyntax> existingDirectives,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (1)
410var clauses = queryBody.Clauses;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpAddImportsService.cs (2)
71protected override SyntaxList<UsingDirectiveSyntax> GetUsingsAndAliases(SyntaxNode node) 79protected override SyntaxList<ExternAliasDirectiveSyntax> GetExterns(SyntaxNode node)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpRemoveUnnecessaryImportsService.cs (1)
96private static int GetEndPosition(SyntaxNode container, SyntaxList<MemberDeclarationSyntax> list)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpRemoveUnnecessaryImportsService.Rewriter.cs (6)
44SyntaxList<UsingDirectiveSyntax> usings, 46out SyntaxList<UsingDirectiveSyntax> finalUsings, 130SyntaxList<UsingDirectiveSyntax> oldUsings, 131SyntaxList<UsingDirectiveSyntax> newUsings) 157ProcessUsings(compilationUnit.Usings, usingsToRemove, out var finalUsings, out var finalTrivia); 209ProcessUsings(namespaceDeclaration.Usings, usingsToRemove, out var finalUsings, out var finalTrivia);
Microsoft.CodeAnalysis.Features (29)
ChangeSignature\AbstractChangeSignatureService.cs (1)
994var structuredContent = syntaxFacts.GetContentFromDocumentationCommentTriviaSyntax(trivia);
CodeRefactorings\SyncNamespace\AbstractChangeNamespaceService.cs (3)
80protected abstract SyntaxList<TMemberDeclarationSyntax> GetMemberDeclarationsInContainer(SyntaxNode compilationUnitOrNamespaceDecl); 325var memberDecls = GetMemberDeclarationsInContainer(container); 371var declarations = GetMemberDeclarationsInContainer(container);
ConvertForToForEach\AbstractConvertForToForEachCodeRefactoringProvider.cs (3)
38protected abstract SyntaxList<TStatementSyntax> GetBodyStatements(TForStatementSyntax forStatement); 125var bodyStatements = GetBodyStatements(forStatement); 387var bodyStatements = GetBodyStatements(forStatement);
DesignerAttribute\DesignerAttributeDiscoveryService.cs (1)
363SyntaxNode? FindFirstNonNestedClass(SyntaxList<SyntaxNode> members)
IntroduceUsingStatement\AbstractIntroduceUsingStatementCodeRefactoringProvider.cs (12)
36protected abstract SyntaxList<TStatementSyntax> GetSurroundingStatements(TLocalDeclarationSyntax declarationStatement); 37protected abstract SyntaxNode WithStatements(SyntaxNode parentOfStatementsToSurround, SyntaxList<TStatementSyntax> statements); 40protected abstract (SyntaxList<TStatementSyntax> tryStatements, SyntaxList<TStatementSyntax> finallyStatements) GetTryFinallyStatements(TTryStatementSyntax tryStatement); 42protected abstract TStatementSyntax CreateUsingStatement(TLocalDeclarationSyntax declarationStatement, SyntaxList<TStatementSyntax> statementsToSurround); 121var surroundingStatements = GetSurroundingStatements(declarationStatement); 132syntaxFacts, variableName, tryStatement, out var tryStatements)) 149var statementsToSurround = GetStatementsToSurround( 193out SyntaxList<TStatementSyntax> tryStatements) 200(tryStatements, var finallyStatements) = GetTryFinallyStatements(tryStatement); 229private static SyntaxList<TStatementSyntax> GetStatementsToSurround( 231SyntaxList<TStatementSyntax> surroundingStatements,
InvertIf\AbstractInvertIfCodeRefactoringProvider.cs (7)
44protected abstract SyntaxList<TStatementSyntax> GetStatements(SyntaxNode node); 384var statements = GetStatements(parent); 473var statements = GetStatements(currentParent); 516var statements = GetStatements(currentParent); 542var statements = GetStatements(currentParent); 566var statements = GetStatements(currentParent); 589var statements = GetStatements(currentParent);
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
66protected abstract SyntaxList<TMemberDeclarationSyntax> GetMembers(TTypeDeclarationSyntax typeDeclaration);
UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (1)
328var members = syntaxFacts.GetMembersOfTypeDeclaration(typeDeclaration);
Microsoft.CodeAnalysis.VisualBasic (693)
Binding\BackstopBinder.vb (1)
42Public Overrides Function GetBinder(stmtList As SyntaxList(Of StatementSyntax)) As Binder
Binding\Binder.vb (1)
319Public Overridable Function GetBinder(stmtList As SyntaxList(Of StatementSyntax)) As Binder
Binding\Binder_Query.vb (22)
66Dim operators As SyntaxList(Of QueryClauseSyntax).Enumerator = query.Clauses.GetEnumerator() 99operators As SyntaxList(Of QueryClauseSyntax).Enumerator, 167operators As SyntaxList(Of QueryClauseSyntax).Enumerator, 195operators As SyntaxList(Of QueryClauseSyntax).Enumerator, 302operatorsEnumerator As SyntaxList(Of QueryClauseSyntax).Enumerator, 378operatorsEnumerator As SyntaxList(Of QueryClauseSyntax).Enumerator, 650operatorsEnumerator As SyntaxList(Of QueryClauseSyntax).Enumerator, 761operatorsEnumerator As SyntaxList(Of QueryClauseSyntax).Enumerator, 865operatorsEnumerator As SyntaxList(Of QueryClauseSyntax).Enumerator 898operatorsEnumerator As SyntaxList(Of QueryClauseSyntax).Enumerator 957ByRef operatorsEnumerator As SyntaxList(Of QueryClauseSyntax).Enumerator, 971ByRef operatorsEnumerator As SyntaxList(Of QueryClauseSyntax).Enumerator, 1239ByRef operatorsEnumerator As SyntaxList(Of QueryClauseSyntax).Enumerator 1241Dim copyOfOperatorsEnumerator As SyntaxList(Of QueryClauseSyntax).Enumerator = operatorsEnumerator 1276operatorsEnumerator As SyntaxList(Of QueryClauseSyntax).Enumerator, 1377ByRef operatorsEnumerator As SyntaxList(Of QueryClauseSyntax).Enumerator, 1609operatorsEnumerator As SyntaxList(Of QueryClauseSyntax).Enumerator, 2687operatorsEnumerator As SyntaxList(Of QueryClauseSyntax).Enumerator, 2932operatorsEnumerator As SyntaxList(Of QueryClauseSyntax).Enumerator, 2979operatorsEnumerator As SyntaxList(Of QueryClauseSyntax).Enumerator, 2995Dim groupAdditionalOperators As SyntaxList(Of QueryClauseSyntax).Enumerator = aggregate.AdditionalQueryOperators.GetEnumerator() 3111operatorsEnumerator As SyntaxList(Of QueryClauseSyntax).Enumerator,
Binding\Binder_SelectCase.vb (2)
102caseBlocks As SyntaxList(Of CaseBlockSyntax), 132Dim statementsSyntax As SyntaxList(Of StatementSyntax) = node.Statements
Binding\Binder_Statements.vb (3)
2071Friend Function BindBlock(syntax As SyntaxNode, stmtList As SyntaxList(Of StatementSyntax), diagnostics As BindingDiagnosticBag) As BoundBlock 2079Friend Function BindBlock(syntax As SyntaxNode, stmtList As SyntaxList(Of StatementSyntax), diagnostics As BindingDiagnosticBag, stmtListBinder As Binder) As BoundBlock 4765Public Function BindCatchBlocks(catchClauses As SyntaxList(Of CatchBlockSyntax), diagnostics As BindingDiagnosticBag) As ImmutableArray(Of BoundCatchBlock)
Binding\Binder_Utils.vb (3)
327arrayModifierSyntax As SyntaxList(Of ArrayRankSpecifierSyntax), 351arrayModifierSyntax As SyntaxList(Of ArrayRankSpecifierSyntax), 383arrayModifierSyntax As SyntaxList(Of ArrayRankSpecifierSyntax),
Binding\Binder_XmlLiterals.vb (5)
106attributes As SyntaxList(Of XmlNodeSyntax), 107content As SyntaxList(Of XmlNodeSyntax), 147content As SyntaxList(Of XmlNodeSyntax), 601Private Sub BindXmlContent(content As SyntaxList(Of XmlNodeSyntax), childNodeBuilder As ArrayBuilder(Of BoundExpression), rootInfoOpt As XmlElementRootInfo, diagnostics As BindingDiagnosticBag) 1074attributes As SyntaxList(Of XmlNodeSyntax),
Binding\DeclarationInitializerBinder.vb (1)
83Public Overrides Function GetBinder(stmts As SyntaxList(Of StatementSyntax)) As Binder
Binding\DescendantBinderFactory.vb (3)
50Friend Function GetBinder(statementList As SyntaxList(Of StatementSyntax)) As Binder 71Private _lazyStmtListToBinderMap As ImmutableDictionary(Of SyntaxList(Of StatementSyntax), BlockBaseBinder) 74Friend ReadOnly Property StmtListToBinderMap As ImmutableDictionary(Of SyntaxList(Of StatementSyntax), BlockBaseBinder)
Binding\ExecutableCodeBinder.vb (2)
163Public Overrides Function GetBinder(stmtList As SyntaxList(Of StatementSyntax)) As Binder 185Friend ReadOnly Property StmtListToBinderMap As ImmutableDictionary(Of SyntaxList(Of StatementSyntax), BlockBaseBinder)
Binding\LocalBinderBuilder.vb (5)
30Private _listMap As ImmutableDictionary(Of SyntaxList(Of StatementSyntax), BlockBaseBinder) 37_listMap = ImmutableDictionary.Create(Of SyntaxList(Of StatementSyntax), BlockBaseBinder)() 40Public Sub New(enclosingMethod As MethodSymbol, nodeMap As ImmutableDictionary(Of SyntaxNode, BlockBaseBinder), listMap As ImmutableDictionary(Of SyntaxList(Of StatementSyntax), BlockBaseBinder)) 59Public ReadOnly Property StmtListToBinderMap As ImmutableDictionary(Of SyntaxList(Of StatementSyntax), BlockBaseBinder) 73Private Sub CreateBinderFromStatementList(list As SyntaxList(Of StatementSyntax), outerBinder As Binder)
Binding\MemberSemanticModel.vb (2)
1268Dim body As SyntaxList(Of StatementSyntax) = Nothing 2048Public Overrides Function GetBinder(list As SyntaxList(Of StatementSyntax)) As Binder
Binding\NamedTypeBinder.vb (1)
47Public Overrides Function GetBinder(stmtList As SyntaxList(Of StatementSyntax)) As Binder
Binding\StatementListBinder.vb (2)
21Private ReadOnly _statementList As SyntaxList(Of StatementSyntax) 25statementList As SyntaxList(Of StatementSyntax))
Compilation\DocumentationComments\DocumentationCommentCompiler.Common.vb (4)
302Dim attributes As SyntaxList(Of XmlNodeSyntax) = GetXmlElementAttributes(element) 345Dim attributes As SyntaxList(Of XmlNodeSyntax) = GetXmlElementAttributes(element) 615Private Shared Function GetXmlElementAttributes(element As XmlNodeSyntax) As SyntaxList(Of XmlNodeSyntax) 638Dim attributes As SyntaxList(Of XmlNodeSyntax) = GetXmlElementAttributes(element)
Declarations\DeclarationTreeBuilder.vb (7)
44Private Function VisitNamespaceChildren(node As VisualBasicSyntaxNode, members As SyntaxList(Of StatementSyntax)) As ImmutableArray(Of SingleNamespaceOrTypeDeclaration) 56members As SyntaxList(Of StatementSyntax), 418Dim members As SyntaxList(Of StatementSyntax) = typeEntry.TypeBlockSyntax.Members 454Dim members As SyntaxList(Of StatementSyntax) = typeEntry.TypeBlockSyntax.Members 571Private Shared Function GetQuickAttributes(attributeLists As SyntaxList(Of AttributeListSyntax)) As QuickAttributes 582Private Function VisitTypeChildren(members As SyntaxList(Of StatementSyntax)) As ImmutableArray(Of SingleTypeDeclaration) 614Private Function GetNonTypeMemberNames(members As SyntaxList(Of StatementSyntax), ByRef declFlags As SingleTypeDeclaration.TypeDeclarationFlags) As ImmutableHashSet(Of String)
Declarations\MergedTypeDeclaration.vb (3)
67Public Function GetAttributeDeclarations(Optional quickAttributes As QuickAttributes? = Nothing) As ImmutableArray(Of SyntaxList(Of AttributeListSyntax)) 68Dim attributeSyntaxBuilder = ArrayBuilder(Of SyntaxList(Of AttributeListSyntax)).GetInstance() 84Dim attributeSyntaxList As SyntaxList(Of AttributeListSyntax)
Generated\BoundNodes.xml.Generated.vb (4)
4351Public Sub New(syntax As SyntaxNode, statementListSyntax As SyntaxList(Of StatementSyntax), locals As ImmutableArray(Of LocalSymbol), statements As ImmutableArray(Of BoundStatement), Optional hasErrors As Boolean = False) 4363Private ReadOnly _StatementListSyntax As SyntaxList(Of StatementSyntax) 4364Public ReadOnly Property StatementListSyntax As SyntaxList(Of StatementSyntax) 4389Public Function Update(statementListSyntax As SyntaxList(Of StatementSyntax), locals As ImmutableArray(Of LocalSymbol), statements As ImmutableArray(Of BoundStatement)) As BoundBlock
Generated\Syntax.xml.Main.Generated.vb (186)
6674Public Shared Function CompilationUnit(options As SyntaxList(of OptionStatementSyntax), [imports] As SyntaxList(of ImportsStatementSyntax), attributes As SyntaxList(of AttributesStatementSyntax), members As SyntaxList(of StatementSyntax), endOfFileToken As SyntaxToken) As CompilationUnitSyntax 6702Public Shared Function CompilationUnit(options As SyntaxList(of OptionStatementSyntax), [imports] As SyntaxList(of ImportsStatementSyntax), attributes As SyntaxList(of AttributesStatementSyntax), members As SyntaxList(of StatementSyntax)) As CompilationUnitSyntax 6953Public Shared Function NamespaceBlock(namespaceStatement As NamespaceStatementSyntax, members As SyntaxList(of StatementSyntax), endNamespaceStatement As EndBlockStatementSyntax) As NamespaceBlockSyntax 6983Public Shared Function NamespaceBlock(namespaceStatement As NamespaceStatementSyntax, members As SyntaxList(of StatementSyntax)) As NamespaceBlockSyntax 7063Public Shared Function ModuleBlock(moduleStatement As ModuleStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax), endModuleStatement As EndBlockStatementSyntax) As ModuleBlockSyntax 7100Public Shared Function ModuleBlock(moduleStatement As ModuleStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax)) As ModuleBlockSyntax 7136Public Shared Function StructureBlock(structureStatement As StructureStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax), endStructureStatement As EndBlockStatementSyntax) As StructureBlockSyntax 7173Public Shared Function StructureBlock(structureStatement As StructureStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax)) As StructureBlockSyntax 7209Public Shared Function InterfaceBlock(interfaceStatement As InterfaceStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax), endInterfaceStatement As EndBlockStatementSyntax) As InterfaceBlockSyntax 7246Public Shared Function InterfaceBlock(interfaceStatement As InterfaceStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax)) As InterfaceBlockSyntax 7282Public Shared Function ClassBlock(classStatement As ClassStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax), endClassStatement As EndBlockStatementSyntax) As ClassBlockSyntax 7319Public Shared Function ClassBlock(classStatement As ClassStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax)) As ClassBlockSyntax 7349Public Shared Function EnumBlock(enumStatement As EnumStatementSyntax, members As SyntaxList(of StatementSyntax), endEnumStatement As EndBlockStatementSyntax) As EnumBlockSyntax 7380Public Shared Function EnumBlock(enumStatement As EnumStatementSyntax, members As SyntaxList(of StatementSyntax)) As EnumBlockSyntax 7501Public Shared Function ModuleStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, moduleKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax) As ModuleStatementSyntax 7535Public Shared Function ModuleStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax) As ModuleStatementSyntax 7586Public Shared Function StructureStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, structureKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax) As StructureStatementSyntax 7620Public Shared Function StructureStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax) As StructureStatementSyntax 7671Public Shared Function InterfaceStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, interfaceKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax) As InterfaceStatementSyntax 7705Public Shared Function InterfaceStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax) As InterfaceStatementSyntax 7756Public Shared Function ClassStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, classKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax) As ClassStatementSyntax 7790Public Shared Function ClassStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax) As ClassStatementSyntax 7841Public Shared Function EnumStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, enumKeyword As SyntaxToken, identifier As SyntaxToken, underlyingType As AsClauseSyntax) As EnumStatementSyntax 7875Public Shared Function EnumStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As SyntaxToken, underlyingType As AsClauseSyntax) As EnumStatementSyntax 8245Public Shared Function EnumMemberDeclaration(attributeLists As SyntaxList(of AttributeListSyntax), identifier As SyntaxToken, initializer As EqualsValueSyntax) As EnumMemberDeclarationSyntax 8284Public Shared Function SubBlock(subOrFunctionStatement As MethodStatementSyntax, statements As SyntaxList(of StatementSyntax), endSubOrFunctionStatement As EndBlockStatementSyntax) As MethodBlockSyntax 8317Public Shared Function SubBlock(subOrFunctionStatement As MethodStatementSyntax, statements As SyntaxList(of StatementSyntax)) As MethodBlockSyntax 8347Public Shared Function FunctionBlock(subOrFunctionStatement As MethodStatementSyntax, statements As SyntaxList(of StatementSyntax), endSubOrFunctionStatement As EndBlockStatementSyntax) As MethodBlockSyntax 8378Public Shared Function FunctionBlock(subOrFunctionStatement As MethodStatementSyntax, statements As SyntaxList(of StatementSyntax)) As MethodBlockSyntax 8412Public Shared Function MethodBlock(ByVal kind As SyntaxKind, subOrFunctionStatement As MethodStatementSyntax, statements As SyntaxList(of StatementSyntax), endSubOrFunctionStatement As EndBlockStatementSyntax) As MethodBlockSyntax 8484Public Shared Function ConstructorBlock(subNewStatement As SubNewStatementSyntax, statements As SyntaxList(of StatementSyntax), endSubStatement As EndBlockStatementSyntax) As ConstructorBlockSyntax 8515Public Shared Function ConstructorBlock(subNewStatement As SubNewStatementSyntax, statements As SyntaxList(of StatementSyntax)) As ConstructorBlockSyntax 8545Public Shared Function OperatorBlock(operatorStatement As OperatorStatementSyntax, statements As SyntaxList(of StatementSyntax), endOperatorStatement As EndBlockStatementSyntax) As OperatorBlockSyntax 8576Public Shared Function OperatorBlock(operatorStatement As OperatorStatementSyntax, statements As SyntaxList(of StatementSyntax)) As OperatorBlockSyntax 8609Public Shared Function GetAccessorBlock(accessorStatement As AccessorStatementSyntax, statements As SyntaxList(of StatementSyntax), endAccessorStatement As EndBlockStatementSyntax) As AccessorBlockSyntax 8650Public Shared Function GetAccessorBlock(accessorStatement As AccessorStatementSyntax, statements As SyntaxList(of StatementSyntax)) As AccessorBlockSyntax 8685Public Shared Function SetAccessorBlock(accessorStatement As AccessorStatementSyntax, statements As SyntaxList(of StatementSyntax), endAccessorStatement As EndBlockStatementSyntax) As AccessorBlockSyntax 8718Public Shared Function SetAccessorBlock(accessorStatement As AccessorStatementSyntax, statements As SyntaxList(of StatementSyntax)) As AccessorBlockSyntax 8753Public Shared Function AddHandlerAccessorBlock(accessorStatement As AccessorStatementSyntax, statements As SyntaxList(of StatementSyntax), endAccessorStatement As EndBlockStatementSyntax) As AccessorBlockSyntax 8786Public Shared Function AddHandlerAccessorBlock(accessorStatement As AccessorStatementSyntax, statements As SyntaxList(of StatementSyntax)) As AccessorBlockSyntax 8821Public Shared Function RemoveHandlerAccessorBlock(accessorStatement As AccessorStatementSyntax, statements As SyntaxList(of StatementSyntax), endAccessorStatement As EndBlockStatementSyntax) As AccessorBlockSyntax 8854Public Shared Function RemoveHandlerAccessorBlock(accessorStatement As AccessorStatementSyntax, statements As SyntaxList(of StatementSyntax)) As AccessorBlockSyntax 8889Public Shared Function RaiseEventAccessorBlock(accessorStatement As AccessorStatementSyntax, statements As SyntaxList(of StatementSyntax), endAccessorStatement As EndBlockStatementSyntax) As AccessorBlockSyntax 8922Public Shared Function RaiseEventAccessorBlock(accessorStatement As AccessorStatementSyntax, statements As SyntaxList(of StatementSyntax)) As AccessorBlockSyntax 8962Public Shared Function AccessorBlock(ByVal kind As SyntaxKind, accessorStatement As AccessorStatementSyntax, statements As SyntaxList(of StatementSyntax), endAccessorStatement As EndBlockStatementSyntax) As AccessorBlockSyntax 9051Public Shared Function PropertyBlock(propertyStatement As PropertyStatementSyntax, accessors As SyntaxList(of AccessorBlockSyntax), endPropertyStatement As EndBlockStatementSyntax) As PropertyBlockSyntax 9083Public Shared Function PropertyBlock(propertyStatement As PropertyStatementSyntax, accessors As SyntaxList(of AccessorBlockSyntax)) As PropertyBlockSyntax 9102Public Shared Function EventBlock(eventStatement As EventStatementSyntax, accessors As SyntaxList(of AccessorBlockSyntax), endEventStatement As EndBlockStatementSyntax) As EventBlockSyntax 9134Public Shared Function EventBlock(eventStatement As EventStatementSyntax, accessors As SyntaxList(of AccessorBlockSyntax)) As EventBlockSyntax 9228Public Shared Function SubStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) As MethodStatementSyntax 9282Public Shared Function SubStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) As MethodStatementSyntax 9356Public Shared Function FunctionStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) As MethodStatementSyntax 9409Public Shared Function FunctionStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) As MethodStatementSyntax 9487Public Shared Function MethodStatement(ByVal kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) As MethodStatementSyntax 9580Public Shared Function SubNewStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, subKeyword As SyntaxToken, newKeyword As SyntaxToken, parameterList As ParameterListSyntax) As SubNewStatementSyntax 9614Public Shared Function SubNewStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, parameterList As ParameterListSyntax) As SubNewStatementSyntax 9675Public Shared Function DeclareSubStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, declareKeyword As SyntaxToken, charsetKeyword As SyntaxToken, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, libKeyword As SyntaxToken, libraryName As LiteralExpressionSyntax, aliasKeyword As SyntaxToken, aliasName As LiteralExpressionSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DeclareStatementSyntax 9749Public Shared Function DeclareSubStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, charsetKeyword As SyntaxToken, identifier As SyntaxToken, libraryName As LiteralExpressionSyntax, aliasName As LiteralExpressionSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DeclareStatementSyntax 9828Public Shared Function DeclareFunctionStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, declareKeyword As SyntaxToken, charsetKeyword As SyntaxToken, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, libKeyword As SyntaxToken, libraryName As LiteralExpressionSyntax, aliasKeyword As SyntaxToken, aliasName As LiteralExpressionSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DeclareStatementSyntax 9901Public Shared Function DeclareFunctionStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, charsetKeyword As SyntaxToken, identifier As SyntaxToken, libraryName As LiteralExpressionSyntax, aliasName As LiteralExpressionSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DeclareStatementSyntax 9984Public Shared Function DeclareStatement(ByVal kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, declareKeyword As SyntaxToken, charsetKeyword As SyntaxToken, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, libKeyword As SyntaxToken, libraryName As LiteralExpressionSyntax, aliasKeyword As SyntaxToken, aliasName As LiteralExpressionSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DeclareStatementSyntax 10075Public Shared Function DeclareStatement(ByVal kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, charsetKeyword As SyntaxToken, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, libraryName As LiteralExpressionSyntax, aliasName As LiteralExpressionSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DeclareStatementSyntax 10156Public Shared Function DelegateSubStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, delegateKeyword As SyntaxToken, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DelegateStatementSyntax 10205Public Shared Function DelegateSubStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DelegateStatementSyntax 10266Public Shared Function DelegateFunctionStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, delegateKeyword As SyntaxToken, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DelegateStatementSyntax 10314Public Shared Function DelegateFunctionStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DelegateStatementSyntax 10380Public Shared Function DelegateStatement(ByVal kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, delegateKeyword As SyntaxToken, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DelegateStatementSyntax 10447Public Shared Function DelegateStatement(ByVal kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DelegateStatementSyntax 10526Public Shared Function EventStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, customKeyword As SyntaxToken, eventKeyword As SyntaxToken, identifier As SyntaxToken, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, implementsClause As ImplementsClauseSyntax) As EventStatementSyntax 10571Public Shared Function EventStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As SyntaxToken, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, implementsClause As ImplementsClauseSyntax) As EventStatementSyntax 10632Public Shared Function OperatorStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, operatorKeyword As SyntaxToken, operatorToken As SyntaxToken, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As OperatorStatementSyntax 10697Public Shared Function OperatorStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, operatorToken As SyntaxToken, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As OperatorStatementSyntax 10754Public Shared Function PropertyStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, propertyKeyword As SyntaxToken, identifier As SyntaxToken, parameterList As ParameterListSyntax, asClause As AsClauseSyntax, initializer As EqualsValueSyntax, implementsClause As ImplementsClauseSyntax) As PropertyStatementSyntax 10804Public Shared Function PropertyStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As SyntaxToken, parameterList As ParameterListSyntax, asClause As AsClauseSyntax, initializer As EqualsValueSyntax, implementsClause As ImplementsClauseSyntax) As PropertyStatementSyntax 10861Public Shared Function GetAccessorStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, accessorKeyword As SyntaxToken, parameterList As ParameterListSyntax) As AccessorStatementSyntax 10895Public Shared Function GetAccessorStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, parameterList As ParameterListSyntax) As AccessorStatementSyntax 10935Public Shared Function SetAccessorStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, accessorKeyword As SyntaxToken, parameterList As ParameterListSyntax) As AccessorStatementSyntax 10965Public Shared Function SetAccessorStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, parameterList As ParameterListSyntax) As AccessorStatementSyntax 11005Public Shared Function AddHandlerAccessorStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, accessorKeyword As SyntaxToken, parameterList As ParameterListSyntax) As AccessorStatementSyntax 11035Public Shared Function AddHandlerAccessorStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, parameterList As ParameterListSyntax) As AccessorStatementSyntax 11075Public Shared Function RemoveHandlerAccessorStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, accessorKeyword As SyntaxToken, parameterList As ParameterListSyntax) As AccessorStatementSyntax 11105Public Shared Function RemoveHandlerAccessorStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, parameterList As ParameterListSyntax) As AccessorStatementSyntax 11145Public Shared Function RaiseEventAccessorStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, accessorKeyword As SyntaxToken, parameterList As ParameterListSyntax) As AccessorStatementSyntax 11175Public Shared Function RaiseEventAccessorStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, parameterList As ParameterListSyntax) As AccessorStatementSyntax 11221Public Shared Function AccessorStatement(ByVal kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, accessorKeyword As SyntaxToken, parameterList As ParameterListSyntax) As AccessorStatementSyntax 11534Public Shared Function IncompleteMember(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, missingIdentifier As SyntaxToken) As IncompleteMemberSyntax 11567Public Shared Function FieldDeclaration(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, declarators As SeparatedSyntaxList(Of VariableDeclaratorSyntax)) As FieldDeclarationSyntax 11664Public Shared Function SimpleAsClause(asKeyword As SyntaxToken, attributeLists As SyntaxList(of AttributeListSyntax), type As TypeSyntax) As SimpleAsClauseSyntax 11703Public Shared Function SimpleAsClause(attributeLists As SyntaxList(of AttributeListSyntax), type As TypeSyntax) As SimpleAsClauseSyntax 12236Public Shared Function Parameter(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, [default] As EqualsValueSyntax) As ParameterSyntax 12277Public Shared Function ModifiedIdentifier(identifier As SyntaxToken, nullable As SyntaxToken, arrayBounds As ArgumentListSyntax, arrayRankSpecifiers As SyntaxList(of ArrayRankSpecifierSyntax)) As ModifiedIdentifierSyntax 12499Public Shared Function AttributesStatement(attributeLists As SyntaxList(of AttributeListSyntax)) As AttributesStatementSyntax 12793Public Shared Function WhileBlock(whileStatement As WhileStatementSyntax, statements As SyntaxList(of StatementSyntax), endWhileStatement As EndBlockStatementSyntax) As WhileBlockSyntax 12824Public Shared Function WhileBlock(whileStatement As WhileStatementSyntax, statements As SyntaxList(of StatementSyntax)) As WhileBlockSyntax 12855Public Shared Function UsingBlock(usingStatement As UsingStatementSyntax, statements As SyntaxList(of StatementSyntax), endUsingStatement As EndBlockStatementSyntax) As UsingBlockSyntax 12887Public Shared Function UsingBlock(usingStatement As UsingStatementSyntax, statements As SyntaxList(of StatementSyntax)) As UsingBlockSyntax 12918Public Shared Function SyncLockBlock(syncLockStatement As SyncLockStatementSyntax, statements As SyntaxList(of StatementSyntax), endSyncLockStatement As EndBlockStatementSyntax) As SyncLockBlockSyntax 12950Public Shared Function SyncLockBlock(syncLockStatement As SyncLockStatementSyntax, statements As SyntaxList(of StatementSyntax)) As SyncLockBlockSyntax 12981Public Shared Function WithBlock(withStatement As WithStatementSyntax, statements As SyntaxList(of StatementSyntax), endWithStatement As EndBlockStatementSyntax) As WithBlockSyntax 13013Public Shared Function WithBlock(withStatement As WithStatementSyntax, statements As SyntaxList(of StatementSyntax)) As WithBlockSyntax 13954Public Shared Function SingleLineIfStatement(ifKeyword As SyntaxToken, condition As ExpressionSyntax, thenKeyword As SyntaxToken, statements As SyntaxList(of StatementSyntax), elseClause As SingleLineElseClauseSyntax) As SingleLineIfStatementSyntax 14094Public Shared Function SingleLineIfStatement(condition As ExpressionSyntax, statements As SyntaxList(of StatementSyntax), elseClause As SingleLineElseClauseSyntax) As SingleLineIfStatementSyntax 14120Public Shared Function SingleLineElseClause(elseKeyword As SyntaxToken, statements As SyntaxList(of StatementSyntax)) As SingleLineElseClauseSyntax 14137Public Shared Function SingleLineElseClause(statements As SyntaxList(of StatementSyntax)) As SingleLineElseClauseSyntax 14172Public Shared Function MultiLineIfBlock(ifStatement As IfStatementSyntax, statements As SyntaxList(of StatementSyntax), elseIfBlocks As SyntaxList(of ElseIfBlockSyntax), elseBlock As ElseBlockSyntax, endIfStatement As EndBlockStatementSyntax) As MultiLineIfBlockSyntax 14212Public Shared Function MultiLineIfBlock(ifStatement As IfStatementSyntax, statements As SyntaxList(of StatementSyntax), elseIfBlocks As SyntaxList(of ElseIfBlockSyntax), elseBlock As ElseBlockSyntax) As MultiLineIfBlockSyntax 14384Public Shared Function ElseIfBlock(elseIfStatement As ElseIfStatementSyntax, statements As SyntaxList(of StatementSyntax)) As ElseIfBlockSyntax 14562Public Shared Function ElseBlock(elseStatement As ElseStatementSyntax, statements As SyntaxList(of StatementSyntax)) As ElseBlockSyntax 14581Public Shared Function ElseBlock(statements As SyntaxList(of StatementSyntax)) As ElseBlockSyntax 14637Public Shared Function TryBlock(tryStatement As TryStatementSyntax, statements As SyntaxList(of StatementSyntax), catchBlocks As SyntaxList(of CatchBlockSyntax), finallyBlock As FinallyBlockSyntax, endTryStatement As EndBlockStatementSyntax) As TryBlockSyntax 14671Public Shared Function TryBlock(statements As SyntaxList(of StatementSyntax), catchBlocks As SyntaxList(of CatchBlockSyntax), finallyBlock As FinallyBlockSyntax) As TryBlockSyntax 14718Public Shared Function CatchBlock(catchStatement As CatchStatementSyntax, statements As SyntaxList(of StatementSyntax)) As CatchBlockSyntax 14945Public Shared Function FinallyBlock(finallyStatement As FinallyStatementSyntax, statements As SyntaxList(of StatementSyntax)) As FinallyBlockSyntax 14964Public Shared Function FinallyBlock(statements As SyntaxList(of StatementSyntax)) As FinallyBlockSyntax 15659Public Shared Function SelectBlock(selectStatement As SelectStatementSyntax, caseBlocks As SyntaxList(of CaseBlockSyntax), endSelectStatement As EndBlockStatementSyntax) As SelectBlockSyntax 15690Public Shared Function SelectBlock(selectStatement As SelectStatementSyntax, caseBlocks As SyntaxList(of CaseBlockSyntax)) As SelectBlockSyntax 15863Public Shared Function CaseBlock(caseStatement As CaseStatementSyntax, statements As SyntaxList(of StatementSyntax)) As CaseBlockSyntax 15897Public Shared Function CaseElseBlock(caseStatement As CaseStatementSyntax, statements As SyntaxList(of StatementSyntax)) As CaseBlockSyntax 15935Public Shared Function CaseBlock(ByVal kind As SyntaxKind, caseStatement As CaseStatementSyntax, statements As SyntaxList(of StatementSyntax)) As CaseBlockSyntax 17758Public Shared Function SimpleDoLoopBlock(doStatement As DoStatementSyntax, statements As SyntaxList(of StatementSyntax), loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 17811Public Shared Function DoWhileLoopBlock(doStatement As DoStatementSyntax, statements As SyntaxList(of StatementSyntax), loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 17860Public Shared Function DoUntilLoopBlock(doStatement As DoStatementSyntax, statements As SyntaxList(of StatementSyntax), loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 17909Public Shared Function DoLoopWhileBlock(doStatement As DoStatementSyntax, statements As SyntaxList(of StatementSyntax), loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 17958Public Shared Function DoLoopUntilBlock(doStatement As DoStatementSyntax, statements As SyntaxList(of StatementSyntax), loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 18012Public Shared Function DoLoopBlock(ByVal kind As SyntaxKind, doStatement As DoStatementSyntax, statements As SyntaxList(of StatementSyntax), loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 19057Public Shared Function ForBlock(forStatement As ForStatementSyntax, statements As SyntaxList(of StatementSyntax), nextStatement As NextStatementSyntax) As ForBlockSyntax 19099Public Shared Function ForEachBlock(forEachStatement As ForEachStatementSyntax, statements As SyntaxList(of StatementSyntax), nextStatement As NextStatementSyntax) As ForEachBlockSyntax 26649Public Shared Function ObjectCreationExpression(newKeyword As SyntaxToken, attributeLists As SyntaxList(of AttributeListSyntax), type As TypeSyntax, argumentList As ArgumentListSyntax, initializer As ObjectCreationInitializerSyntax) As ObjectCreationExpressionSyntax 26693Public Shared Function ObjectCreationExpression(attributeLists As SyntaxList(of AttributeListSyntax), type As TypeSyntax, argumentList As ArgumentListSyntax, initializer As ObjectCreationInitializerSyntax) As ObjectCreationExpressionSyntax 26723Public Shared Function AnonymousObjectCreationExpression(newKeyword As SyntaxToken, attributeLists As SyntaxList(of AttributeListSyntax), initializer As ObjectMemberInitializerSyntax) As AnonymousObjectCreationExpressionSyntax 26751Public Shared Function AnonymousObjectCreationExpression(attributeLists As SyntaxList(of AttributeListSyntax), initializer As ObjectMemberInitializerSyntax) As AnonymousObjectCreationExpressionSyntax 26790Public Shared Function ArrayCreationExpression(newKeyword As SyntaxToken, attributeLists As SyntaxList(of AttributeListSyntax), type As TypeSyntax, arrayBounds As ArgumentListSyntax, rankSpecifiers As SyntaxList(of ArrayRankSpecifierSyntax), initializer As CollectionInitializerSyntax) As ArrayCreationExpressionSyntax 26840Public Shared Function ArrayCreationExpression(attributeLists As SyntaxList(of AttributeListSyntax), type As TypeSyntax, arrayBounds As ArgumentListSyntax, initializer As CollectionInitializerSyntax) As ArrayCreationExpressionSyntax 36561Public Shared Function MultiLineFunctionLambdaExpression(subOrFunctionHeader As LambdaHeaderSyntax, statements As SyntaxList(of StatementSyntax), endSubOrFunctionStatement As EndBlockStatementSyntax) As MultiLineLambdaExpressionSyntax 36616Public Shared Function MultiLineSubLambdaExpression(subOrFunctionHeader As LambdaHeaderSyntax, statements As SyntaxList(of StatementSyntax), endSubOrFunctionStatement As EndBlockStatementSyntax) As MultiLineLambdaExpressionSyntax 36676Public Shared Function MultiLineLambdaExpression(ByVal kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, statements As SyntaxList(of StatementSyntax), endSubOrFunctionStatement As EndBlockStatementSyntax) As MultiLineLambdaExpressionSyntax 36747Public Shared Function SubLambdaHeader(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, subOrFunctionKeyword As SyntaxToken, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As LambdaHeaderSyntax 36779Public Shared Function SubLambdaHeader(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As LambdaHeaderSyntax 36816Public Shared Function FunctionLambdaHeader(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, subOrFunctionKeyword As SyntaxToken, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As LambdaHeaderSyntax 36847Public Shared Function FunctionLambdaHeader(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As LambdaHeaderSyntax 36888Public Shared Function LambdaHeader(ByVal kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, subOrFunctionKeyword As SyntaxToken, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As LambdaHeaderSyntax 37446Public Shared Function QueryExpression(clauses As SyntaxList(of QueryClauseSyntax)) As QueryExpressionSyntax 38080Public Shared Function AggregateClause(aggregateKeyword As SyntaxToken, variables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), additionalQueryOperators As SyntaxList(of QueryClauseSyntax), intoKeyword As SyntaxToken, aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As AggregateClauseSyntax 38107Public Shared Function AggregateClause(variables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), additionalQueryOperators As SyntaxList(of QueryClauseSyntax), aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As AggregateClauseSyntax 39552Public Shared Function SimpleJoinClause(joinKeyword As SyntaxToken, joinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), additionalJoins As SyntaxList(of JoinClauseSyntax), onKeyword As SyntaxToken, joinConditions As SeparatedSyntaxList(Of JoinConditionSyntax)) As SimpleJoinClauseSyntax 39580Public Shared Function SimpleJoinClause(joinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), additionalJoins As SyntaxList(of JoinClauseSyntax), joinConditions As SeparatedSyntaxList(Of JoinConditionSyntax)) As SimpleJoinClauseSyntax 39628Public Shared Function GroupJoinClause(groupKeyword As SyntaxToken, joinKeyword As SyntaxToken, joinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), additionalJoins As SyntaxList(of JoinClauseSyntax), onKeyword As SyntaxToken, joinConditions As SeparatedSyntaxList(Of JoinConditionSyntax), intoKeyword As SyntaxToken, aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As GroupJoinClauseSyntax 39669Public Shared Function GroupJoinClause(joinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), additionalJoins As SyntaxList(of JoinClauseSyntax), joinConditions As SeparatedSyntaxList(Of JoinConditionSyntax), aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As GroupJoinClauseSyntax 40229Public Shared Function XmlDocument(declaration As XmlDeclarationSyntax, precedingMisc As SyntaxList(of XmlNodeSyntax), root As XmlNodeSyntax, followingMisc As SyntaxList(of XmlNodeSyntax)) As XmlDocumentSyntax 40346Public Shared Function XmlElement(startTag As XmlElementStartTagSyntax, content As SyntaxList(of XmlNodeSyntax), endTag As XmlElementEndTagSyntax) As XmlElementSyntax 40398Public Shared Function XmlElementStartTag(lessThanToken As SyntaxToken, name As XmlNodeSyntax, attributes As SyntaxList(of XmlNodeSyntax), greaterThanToken As SyntaxToken) As XmlElementStartTagSyntax 40425Public Shared Function XmlElementStartTag(name As XmlNodeSyntax, attributes As SyntaxList(of XmlNodeSyntax)) As XmlElementStartTagSyntax 40475Public Shared Function XmlEmptyElement(lessThanToken As SyntaxToken, name As XmlNodeSyntax, attributes As SyntaxList(of XmlNodeSyntax), slashGreaterThanToken As SyntaxToken) As XmlEmptyElementSyntax 40502Public Shared Function XmlEmptyElement(name As XmlNodeSyntax, attributes As SyntaxList(of XmlNodeSyntax)) As XmlEmptyElementSyntax 40931Public Shared Function ArrayType(elementType As TypeSyntax, rankSpecifiers As SyntaxList(of ArrayRankSpecifierSyntax)) As ArrayTypeSyntax 42007Public Shared Function DocumentationCommentTrivia(content As SyntaxList(of XmlNodeSyntax)) As DocumentationCommentTriviaSyntax 42361Public Shared Function InterpolatedStringExpression(dollarSignDoubleQuoteToken As SyntaxToken, contents As SyntaxList(of InterpolatedStringContentSyntax), doubleQuoteToken As SyntaxToken) As InterpolatedStringExpressionSyntax 42382Public Shared Function InterpolatedStringExpression(contents As SyntaxList(of InterpolatedStringContentSyntax)) As InterpolatedStringExpressionSyntax
Generated\Syntax.xml.Syntax.Generated.vb (351)
412Public ReadOnly Property Options As SyntaxList(Of OptionStatementSyntax) 424Public Shadows Function WithOptions(options as SyntaxList(Of OptionStatementSyntax)) As CompilationUnitSyntax 438Public ReadOnly Property [Imports] As SyntaxList(Of ImportsStatementSyntax) 450Public Shadows Function WithImports([imports] as SyntaxList(Of ImportsStatementSyntax)) As CompilationUnitSyntax 465Public ReadOnly Property Attributes As SyntaxList(Of AttributesStatementSyntax) 477Public Shadows Function WithAttributes(attributes as SyntaxList(Of AttributesStatementSyntax)) As CompilationUnitSyntax 493Public ReadOnly Property Members As SyntaxList(Of StatementSyntax) 505Public Shadows Function WithMembers(members as SyntaxList(Of StatementSyntax)) As CompilationUnitSyntax 590Public Function Update(options As SyntaxList(of OptionStatementSyntax), [imports] As SyntaxList(of ImportsStatementSyntax), attributes As SyntaxList(of AttributesStatementSyntax), members As SyntaxList(of StatementSyntax), endOfFileToken As SyntaxToken) As CompilationUnitSyntax 1279Public ReadOnly Property Members As SyntaxList(Of StatementSyntax) 1291Public Shadows Function WithMembers(members as SyntaxList(Of StatementSyntax)) As NamespaceBlockSyntax 1365Public Function Update(namespaceStatement As NamespaceStatementSyntax, members As SyntaxList(of StatementSyntax), endNamespaceStatement As EndBlockStatementSyntax) As NamespaceBlockSyntax 1513Public ReadOnly Property [Inherits] As SyntaxList(Of InheritsStatementSyntax) 1519Friend Overridable Function GetInheritsCore() As SyntaxList(Of InheritsStatementSyntax) 1529Public Function WithInherits([inherits] As SyntaxList(Of InheritsStatementSyntax)) As TypeBlockSyntax 1532Friend MustOverride Function WithInheritsCore([inherits] As SyntaxList(Of InheritsStatementSyntax)) As TypeBlockSyntax 1544Public ReadOnly Property [Implements] As SyntaxList(Of ImplementsStatementSyntax) 1550Friend Overridable Function GetImplementsCore() As SyntaxList(Of ImplementsStatementSyntax) 1560Public Function WithImplements([implements] As SyntaxList(Of ImplementsStatementSyntax)) As TypeBlockSyntax 1563Friend MustOverride Function WithImplementsCore([implements] As SyntaxList(Of ImplementsStatementSyntax)) As TypeBlockSyntax 1575Public ReadOnly Property Members As SyntaxList(Of StatementSyntax) 1581Friend Overridable Function GetMembersCore() As SyntaxList(Of StatementSyntax) 1591Public Function WithMembers(members As SyntaxList(Of StatementSyntax)) As TypeBlockSyntax 1594Friend MustOverride Function WithMembersCore(members As SyntaxList(Of StatementSyntax)) As TypeBlockSyntax 1652Public Shadows ReadOnly Property [Inherits] As SyntaxList(Of InheritsStatementSyntax) 1659Friend Overrides Function GetInheritsCore() As SyntaxList(Of InheritsStatementSyntax) 1663Friend Overrides Function WithInheritsCore([inherits] As SyntaxList(Of InheritsStatementSyntax)) As TypeBlockSyntax 1672Public Shadows Function WithInherits([inherits] as SyntaxList(Of InheritsStatementSyntax)) As ModuleBlockSyntax 1690Public Shadows ReadOnly Property [Implements] As SyntaxList(Of ImplementsStatementSyntax) 1697Friend Overrides Function GetImplementsCore() As SyntaxList(Of ImplementsStatementSyntax) 1701Friend Overrides Function WithImplementsCore([implements] As SyntaxList(Of ImplementsStatementSyntax)) As TypeBlockSyntax 1710Public Shadows Function WithImplements([implements] as SyntaxList(Of ImplementsStatementSyntax)) As ModuleBlockSyntax 1728Public Shadows ReadOnly Property Members As SyntaxList(Of StatementSyntax) 1735Friend Overrides Function GetMembersCore() As SyntaxList(Of StatementSyntax) 1739Friend Overrides Function WithMembersCore(members As SyntaxList(Of StatementSyntax)) As TypeBlockSyntax 1748Public Shadows Function WithMembers(members as SyntaxList(Of StatementSyntax)) As ModuleBlockSyntax 1840Public Function Update(moduleStatement As ModuleStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax), endModuleStatement As EndBlockStatementSyntax) As ModuleBlockSyntax 1904Public Shadows ReadOnly Property [Inherits] As SyntaxList(Of InheritsStatementSyntax) 1911Friend Overrides Function GetInheritsCore() As SyntaxList(Of InheritsStatementSyntax) 1915Friend Overrides Function WithInheritsCore([inherits] As SyntaxList(Of InheritsStatementSyntax)) As TypeBlockSyntax 1924Public Shadows Function WithInherits([inherits] as SyntaxList(Of InheritsStatementSyntax)) As StructureBlockSyntax 1942Public Shadows ReadOnly Property [Implements] As SyntaxList(Of ImplementsStatementSyntax) 1949Friend Overrides Function GetImplementsCore() As SyntaxList(Of ImplementsStatementSyntax) 1953Friend Overrides Function WithImplementsCore([implements] As SyntaxList(Of ImplementsStatementSyntax)) As TypeBlockSyntax 1962Public Shadows Function WithImplements([implements] as SyntaxList(Of ImplementsStatementSyntax)) As StructureBlockSyntax 1980Public Shadows ReadOnly Property Members As SyntaxList(Of StatementSyntax) 1987Friend Overrides Function GetMembersCore() As SyntaxList(Of StatementSyntax) 1991Friend Overrides Function WithMembersCore(members As SyntaxList(Of StatementSyntax)) As TypeBlockSyntax 2000Public Shadows Function WithMembers(members as SyntaxList(Of StatementSyntax)) As StructureBlockSyntax 2092Public Function Update(structureStatement As StructureStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax), endStructureStatement As EndBlockStatementSyntax) As StructureBlockSyntax 2156Public Shadows ReadOnly Property [Inherits] As SyntaxList(Of InheritsStatementSyntax) 2163Friend Overrides Function GetInheritsCore() As SyntaxList(Of InheritsStatementSyntax) 2167Friend Overrides Function WithInheritsCore([inherits] As SyntaxList(Of InheritsStatementSyntax)) As TypeBlockSyntax 2176Public Shadows Function WithInherits([inherits] as SyntaxList(Of InheritsStatementSyntax)) As InterfaceBlockSyntax 2194Public Shadows ReadOnly Property [Implements] As SyntaxList(Of ImplementsStatementSyntax) 2201Friend Overrides Function GetImplementsCore() As SyntaxList(Of ImplementsStatementSyntax) 2205Friend Overrides Function WithImplementsCore([implements] As SyntaxList(Of ImplementsStatementSyntax)) As TypeBlockSyntax 2214Public Shadows Function WithImplements([implements] as SyntaxList(Of ImplementsStatementSyntax)) As InterfaceBlockSyntax 2232Public Shadows ReadOnly Property Members As SyntaxList(Of StatementSyntax) 2239Friend Overrides Function GetMembersCore() As SyntaxList(Of StatementSyntax) 2243Friend Overrides Function WithMembersCore(members As SyntaxList(Of StatementSyntax)) As TypeBlockSyntax 2252Public Shadows Function WithMembers(members as SyntaxList(Of StatementSyntax)) As InterfaceBlockSyntax 2344Public Function Update(interfaceStatement As InterfaceStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax), endInterfaceStatement As EndBlockStatementSyntax) As InterfaceBlockSyntax 2408Public Shadows ReadOnly Property [Inherits] As SyntaxList(Of InheritsStatementSyntax) 2415Friend Overrides Function GetInheritsCore() As SyntaxList(Of InheritsStatementSyntax) 2419Friend Overrides Function WithInheritsCore([inherits] As SyntaxList(Of InheritsStatementSyntax)) As TypeBlockSyntax 2428Public Shadows Function WithInherits([inherits] as SyntaxList(Of InheritsStatementSyntax)) As ClassBlockSyntax 2446Public Shadows ReadOnly Property [Implements] As SyntaxList(Of ImplementsStatementSyntax) 2453Friend Overrides Function GetImplementsCore() As SyntaxList(Of ImplementsStatementSyntax) 2457Friend Overrides Function WithImplementsCore([implements] As SyntaxList(Of ImplementsStatementSyntax)) As TypeBlockSyntax 2466Public Shadows Function WithImplements([implements] as SyntaxList(Of ImplementsStatementSyntax)) As ClassBlockSyntax 2484Public Shadows ReadOnly Property Members As SyntaxList(Of StatementSyntax) 2491Friend Overrides Function GetMembersCore() As SyntaxList(Of StatementSyntax) 2495Friend Overrides Function WithMembersCore(members As SyntaxList(Of StatementSyntax)) As TypeBlockSyntax 2504Public Shadows Function WithMembers(members as SyntaxList(Of StatementSyntax)) As ClassBlockSyntax 2596Public Function Update(classStatement As ClassStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax), endClassStatement As EndBlockStatementSyntax) As ClassBlockSyntax 2661Public ReadOnly Property Members As SyntaxList(Of StatementSyntax) 2673Public Shadows Function WithMembers(members as SyntaxList(Of StatementSyntax)) As EnumBlockSyntax 2747Public Function Update(enumStatement As EnumStatementSyntax, members As SyntaxList(of StatementSyntax), endEnumStatement As EndBlockStatementSyntax) As EnumBlockSyntax 3038Public ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 3044Friend Overridable Function GetAttributeListsCore() As SyntaxList(Of AttributeListSyntax) 3054Public Function WithAttributeLists(attributeLists As SyntaxList(Of AttributeListSyntax)) As TypeStatementSyntax 3057Friend MustOverride Function WithAttributeListsCore(attributeLists As SyntaxList(Of AttributeListSyntax)) As TypeStatementSyntax 3186Public Shadows ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 3193Friend Overrides Function GetAttributeListsCore() As SyntaxList(Of AttributeListSyntax) 3197Friend Overrides Function WithAttributeListsCore(attributeLists As SyntaxList(Of AttributeListSyntax)) As TypeStatementSyntax 3206Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As ModuleStatementSyntax 3393Public Function Update(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, moduleKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax) As ModuleStatementSyntax 3438Public Shadows ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 3445Friend Overrides Function GetAttributeListsCore() As SyntaxList(Of AttributeListSyntax) 3449Friend Overrides Function WithAttributeListsCore(attributeLists As SyntaxList(Of AttributeListSyntax)) As TypeStatementSyntax 3458Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As StructureStatementSyntax 3645Public Function Update(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, structureKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax) As StructureStatementSyntax 3690Public Shadows ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 3697Friend Overrides Function GetAttributeListsCore() As SyntaxList(Of AttributeListSyntax) 3701Friend Overrides Function WithAttributeListsCore(attributeLists As SyntaxList(Of AttributeListSyntax)) As TypeStatementSyntax 3710Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As InterfaceStatementSyntax 3897Public Function Update(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, interfaceKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax) As InterfaceStatementSyntax 3942Public Shadows ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 3949Friend Overrides Function GetAttributeListsCore() As SyntaxList(Of AttributeListSyntax) 3953Friend Overrides Function WithAttributeListsCore(attributeLists As SyntaxList(Of AttributeListSyntax)) As TypeStatementSyntax 3962Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As ClassStatementSyntax 4149Public Function Update(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, classKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax) As ClassStatementSyntax 4196Public ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 4208Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As EnumStatementSyntax 4354Public Function Update(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, enumKeyword As SyntaxToken, identifier As SyntaxToken, underlyingType As AsClauseSyntax) As EnumStatementSyntax 5189Public ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 5201Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As EnumMemberDeclarationSyntax 5289Public Function Update(attributeLists As SyntaxList(of AttributeListSyntax), identifier As SyntaxToken, initializer As EqualsValueSyntax) As EnumMemberDeclarationSyntax 5326Public ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 5332Friend Overridable Function GetStatementsCore() As SyntaxList(Of StatementSyntax) 5342Public Function WithStatements(statements As SyntaxList(Of StatementSyntax)) As MethodBlockBaseSyntax 5345Friend MustOverride Function WithStatementsCore(statements As SyntaxList(Of StatementSyntax)) As MethodBlockBaseSyntax 5404Public Shadows ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 5411Friend Overrides Function GetStatementsCore() As SyntaxList(Of StatementSyntax) 5415Friend Overrides Function WithStatementsCore(statements As SyntaxList(Of StatementSyntax)) As MethodBlockBaseSyntax 5424Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As MethodBlockSyntax 5505Public Function Update(kind As SyntaxKind, subOrFunctionStatement As MethodStatementSyntax, statements As SyntaxList(of StatementSyntax), endSubOrFunctionStatement As EndBlockStatementSyntax) As MethodBlockSyntax 5569Public Shadows ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 5576Friend Overrides Function GetStatementsCore() As SyntaxList(Of StatementSyntax) 5580Friend Overrides Function WithStatementsCore(statements As SyntaxList(Of StatementSyntax)) As MethodBlockBaseSyntax 5589Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As ConstructorBlockSyntax 5667Public Function Update(subNewStatement As SubNewStatementSyntax, statements As SyntaxList(of StatementSyntax), endSubStatement As EndBlockStatementSyntax) As ConstructorBlockSyntax 5731Public Shadows ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 5738Friend Overrides Function GetStatementsCore() As SyntaxList(Of StatementSyntax) 5742Friend Overrides Function WithStatementsCore(statements As SyntaxList(Of StatementSyntax)) As MethodBlockBaseSyntax 5751Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As OperatorBlockSyntax 5829Public Function Update(operatorStatement As OperatorStatementSyntax, statements As SyntaxList(of StatementSyntax), endOperatorStatement As EndBlockStatementSyntax) As OperatorBlockSyntax 5899Public Shadows ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 5906Friend Overrides Function GetStatementsCore() As SyntaxList(Of StatementSyntax) 5910Friend Overrides Function WithStatementsCore(statements As SyntaxList(Of StatementSyntax)) As MethodBlockBaseSyntax 5919Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As AccessorBlockSyntax 6001Public Function Update(kind As SyntaxKind, accessorStatement As AccessorStatementSyntax, statements As SyntaxList(of StatementSyntax), endAccessorStatement As EndBlockStatementSyntax) As AccessorBlockSyntax 6064Public ReadOnly Property Accessors As SyntaxList(Of AccessorBlockSyntax) 6076Public Shadows Function WithAccessors(accessors as SyntaxList(Of AccessorBlockSyntax)) As PropertyBlockSyntax 6150Public Function Update(propertyStatement As PropertyStatementSyntax, accessors As SyntaxList(of AccessorBlockSyntax), endPropertyStatement As EndBlockStatementSyntax) As PropertyBlockSyntax 6213Public ReadOnly Property Accessors As SyntaxList(Of AccessorBlockSyntax) 6225Public Shadows Function WithAccessors(accessors as SyntaxList(Of AccessorBlockSyntax)) As EventBlockSyntax 6299Public Function Update(eventStatement As EventStatementSyntax, accessors As SyntaxList(of AccessorBlockSyntax), endEventStatement As EndBlockStatementSyntax) As EventBlockSyntax 6338Public ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 6344Friend Overridable Function GetAttributeListsCore() As SyntaxList(Of AttributeListSyntax) 6354Public Function WithAttributeLists(attributeLists As SyntaxList(Of AttributeListSyntax)) As MethodBaseSyntax 6357Friend MustOverride Function WithAttributeListsCore(attributeLists As SyntaxList(Of AttributeListSyntax)) As MethodBaseSyntax 6617Public Shadows ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 6624Friend Overrides Function GetAttributeListsCore() As SyntaxList(Of AttributeListSyntax) 6628Friend Overrides Function WithAttributeListsCore(attributeLists As SyntaxList(Of AttributeListSyntax)) As MethodBaseSyntax 6637Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As MethodStatementSyntax 6951Public Function Update(kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) As MethodStatementSyntax 6997Public Shadows ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 7004Friend Overrides Function GetAttributeListsCore() As SyntaxList(Of AttributeListSyntax) 7008Friend Overrides Function WithAttributeListsCore(attributeLists As SyntaxList(Of AttributeListSyntax)) As MethodBaseSyntax 7017Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As SubNewStatementSyntax 7198Public Function Update(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, subKeyword As SyntaxToken, newKeyword As SyntaxToken, parameterList As ParameterListSyntax) As SubNewStatementSyntax 7246Public Shadows ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 7253Friend Overrides Function GetAttributeListsCore() As SyntaxList(Of AttributeListSyntax) 7257Friend Overrides Function WithAttributeListsCore(attributeLists As SyntaxList(Of AttributeListSyntax)) As MethodBaseSyntax 7266Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As DeclareStatementSyntax 7631Public Function Update(kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, declareKeyword As SyntaxToken, charsetKeyword As SyntaxToken, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, libKeyword As SyntaxToken, libraryName As LiteralExpressionSyntax, aliasKeyword As SyntaxToken, aliasName As LiteralExpressionSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DeclareStatementSyntax 7678Public Shadows ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 7685Friend Overrides Function GetAttributeListsCore() As SyntaxList(Of AttributeListSyntax) 7689Friend Overrides Function WithAttributeListsCore(attributeLists As SyntaxList(Of AttributeListSyntax)) As MethodBaseSyntax 7698Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As DelegateStatementSyntax 7966Public Function Update(kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, delegateKeyword As SyntaxToken, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DelegateStatementSyntax 8014Public Shadows ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 8021Friend Overrides Function GetAttributeListsCore() As SyntaxList(Of AttributeListSyntax) 8025Friend Overrides Function WithAttributeListsCore(attributeLists As SyntaxList(Of AttributeListSyntax)) As MethodBaseSyntax 8034Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As EventStatementSyntax 8306Public Function Update(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, customKeyword As SyntaxToken, eventKeyword As SyntaxToken, identifier As SyntaxToken, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, implementsClause As ImplementsClauseSyntax) As EventStatementSyntax 8354Public Shadows ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 8361Friend Overrides Function GetAttributeListsCore() As SyntaxList(Of AttributeListSyntax) 8365Friend Overrides Function WithAttributeListsCore(attributeLists As SyntaxList(Of AttributeListSyntax)) As MethodBaseSyntax 8374Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As OperatorStatementSyntax 8584Public Function Update(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, operatorKeyword As SyntaxToken, operatorToken As SyntaxToken, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As OperatorStatementSyntax 8634Public Shadows ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 8641Friend Overrides Function GetAttributeListsCore() As SyntaxList(Of AttributeListSyntax) 8645Friend Overrides Function WithAttributeListsCore(attributeLists As SyntaxList(Of AttributeListSyntax)) As MethodBaseSyntax 8654Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As PropertyStatementSyntax 8927Public Function Update(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, propertyKeyword As SyntaxToken, identifier As SyntaxToken, parameterList As ParameterListSyntax, asClause As AsClauseSyntax, initializer As EqualsValueSyntax, implementsClause As ImplementsClauseSyntax) As PropertyStatementSyntax 8978Public Shadows ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 8985Friend Overrides Function GetAttributeListsCore() As SyntaxList(Of AttributeListSyntax) 8989Friend Overrides Function WithAttributeListsCore(attributeLists As SyntaxList(Of AttributeListSyntax)) As MethodBaseSyntax 8998Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As AccessorStatementSyntax 9162Public Function Update(kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, accessorKeyword As SyntaxToken, parameterList As ParameterListSyntax) As AccessorStatementSyntax 9909Public ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 9921Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As IncompleteMemberSyntax 10025Public Function Update(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, missingIdentifier As SyntaxToken) As IncompleteMemberSyntax 10074Public ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 10086Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As FieldDeclarationSyntax 10195Public Function Update(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, declarators As SeparatedSyntaxList(Of VariableDeclaratorSyntax)) As FieldDeclarationSyntax 10469Public ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 10481Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As SimpleAsClauseSyntax 10550Public Function Update(asKeyword As SyntaxToken, attributeLists As SyntaxList(of AttributeListSyntax), type As TypeSyntax) As SimpleAsClauseSyntax 11492Public ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 11504Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As ParameterSyntax 11662Public Function Update(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, [default] As EqualsValueSyntax) As ParameterSyntax 11778Public ReadOnly Property ArrayRankSpecifiers As SyntaxList(Of ArrayRankSpecifierSyntax) 11790Public Shadows Function WithArrayRankSpecifiers(arrayRankSpecifiers as SyntaxList(Of ArrayRankSpecifierSyntax)) As ModifiedIdentifierSyntax 11845Public Function Update(identifier As SyntaxToken, nullable As SyntaxToken, arrayBounds As ArgumentListSyntax, arrayRankSpecifiers As SyntaxList(of ArrayRankSpecifierSyntax)) As ModifiedIdentifierSyntax 12432Public ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 12444Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As AttributesStatementSyntax 12484Public Function Update(attributeLists As SyntaxList(of AttributeListSyntax)) As AttributesStatementSyntax 12750Public ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 12762Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As WhileBlockSyntax 12836Public Function Update(whileStatement As WhileStatementSyntax, statements As SyntaxList(of StatementSyntax), endWhileStatement As EndBlockStatementSyntax) As WhileBlockSyntax 12902Public ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 12914Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As UsingBlockSyntax 12988Public Function Update(usingStatement As UsingStatementSyntax, statements As SyntaxList(of StatementSyntax), endUsingStatement As EndBlockStatementSyntax) As UsingBlockSyntax 13054Public ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 13066Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As SyncLockBlockSyntax 13140Public Function Update(syncLockStatement As SyncLockStatementSyntax, statements As SyntaxList(of StatementSyntax), endSyncLockStatement As EndBlockStatementSyntax) As SyncLockBlockSyntax 13206Public ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 13218Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As WithBlockSyntax 13292Public Function Update(withStatement As WithStatementSyntax, statements As SyntaxList(of StatementSyntax), endWithStatement As EndBlockStatementSyntax) As WithBlockSyntax 14263Public ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 14275Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As SingleLineIfStatementSyntax 14363Public Function Update(ifKeyword As SyntaxToken, condition As ExpressionSyntax, thenKeyword As SyntaxToken, statements As SyntaxList(of StatementSyntax), elseClause As SingleLineElseClauseSyntax) As SingleLineIfStatementSyntax 14426Public ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 14438Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As SingleLineElseClauseSyntax 14483Public Function Update(elseKeyword As SyntaxToken, statements As SyntaxList(of StatementSyntax)) As SingleLineElseClauseSyntax 14551Public ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 14563Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As MultiLineIfBlockSyntax 14578Public ReadOnly Property ElseIfBlocks As SyntaxList(Of ElseIfBlockSyntax) 14590Public Shadows Function WithElseIfBlocks(elseIfBlocks as SyntaxList(Of ElseIfBlockSyntax)) As MultiLineIfBlockSyntax 14705Public Function Update(ifStatement As IfStatementSyntax, statements As SyntaxList(of StatementSyntax), elseIfBlocks As SyntaxList(of ElseIfBlockSyntax), elseBlock As ElseBlockSyntax, endIfStatement As EndBlockStatementSyntax) As MultiLineIfBlockSyntax 14908Public ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 14920Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As ElseIfBlockSyntax 14969Public Function Update(elseIfStatement As ElseIfStatementSyntax, statements As SyntaxList(of StatementSyntax)) As ElseIfBlockSyntax 15171Public ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 15183Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As ElseBlockSyntax 15232Public Function Update(elseStatement As ElseStatementSyntax, statements As SyntaxList(of StatementSyntax)) As ElseBlockSyntax 15381Public ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 15393Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As TryBlockSyntax 15408Public ReadOnly Property CatchBlocks As SyntaxList(Of CatchBlockSyntax) 15420Public Shadows Function WithCatchBlocks(catchBlocks as SyntaxList(Of CatchBlockSyntax)) As TryBlockSyntax 15534Public Function Update(tryStatement As TryStatementSyntax, statements As SyntaxList(of StatementSyntax), catchBlocks As SyntaxList(of CatchBlockSyntax), finallyBlock As FinallyBlockSyntax, endTryStatement As EndBlockStatementSyntax) As TryBlockSyntax 15681Public ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 15693Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As CatchBlockSyntax 15742Public Function Update(catchStatement As CatchStatementSyntax, statements As SyntaxList(of StatementSyntax)) As CatchBlockSyntax 16088Public ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 16100Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As FinallyBlockSyntax 16149Public Function Update(finallyStatement As FinallyStatementSyntax, statements As SyntaxList(of StatementSyntax)) As FinallyBlockSyntax 16862Public ReadOnly Property CaseBlocks As SyntaxList(Of CaseBlockSyntax) 16874Public Shadows Function WithCaseBlocks(caseBlocks as SyntaxList(Of CaseBlockSyntax)) As SelectBlockSyntax 16948Public Function Update(selectStatement As SelectStatementSyntax, caseBlocks As SyntaxList(of CaseBlockSyntax), endSelectStatement As EndBlockStatementSyntax) As SelectBlockSyntax 17157Public ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 17169Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As CaseBlockSyntax 17221Public Function Update(kind As SyntaxKind, caseStatement As CaseStatementSyntax, statements As SyntaxList(of StatementSyntax)) As CaseBlockSyntax 17997Public ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 18009Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As DoLoopBlockSyntax 18086Public Function Update(kind As SyntaxKind, doStatement As DoStatementSyntax, statements As SyntaxList(of StatementSyntax), loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 18591Public ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 18597Friend Overridable Function GetStatementsCore() As SyntaxList(Of StatementSyntax) 18607Public Function WithStatements(statements As SyntaxList(Of StatementSyntax)) As ForOrForEachBlockSyntax 18610Friend MustOverride Function WithStatementsCore(statements As SyntaxList(Of StatementSyntax)) As ForOrForEachBlockSyntax 18701Public Shadows ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 18708Friend Overrides Function GetStatementsCore() As SyntaxList(Of StatementSyntax) 18712Friend Overrides Function WithStatementsCore(statements As SyntaxList(Of StatementSyntax)) As ForOrForEachBlockSyntax 18721Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As ForBlockSyntax 18820Public Function Update(forStatement As ForStatementSyntax, statements As SyntaxList(of StatementSyntax), nextStatement As NextStatementSyntax) As ForBlockSyntax 18885Public Shadows ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 18892Friend Overrides Function GetStatementsCore() As SyntaxList(Of StatementSyntax) 18896Friend Overrides Function WithStatementsCore(statements As SyntaxList(Of StatementSyntax)) As ForOrForEachBlockSyntax 18905Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As ForEachBlockSyntax 19004Public Function Update(forEachStatement As ForEachStatementSyntax, statements As SyntaxList(of StatementSyntax), nextStatement As NextStatementSyntax) As ForEachBlockSyntax 23279Public ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 23285Friend Overridable Function GetAttributeListsCore() As SyntaxList(Of AttributeListSyntax) 23295Public Function WithAttributeLists(attributeLists As SyntaxList(Of AttributeListSyntax)) As NewExpressionSyntax 23298Friend MustOverride Function WithAttributeListsCore(attributeLists As SyntaxList(Of AttributeListSyntax)) As NewExpressionSyntax 23366Public Shadows ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 23373Friend Overrides Function GetAttributeListsCore() As SyntaxList(Of AttributeListSyntax) 23377Friend Overrides Function WithAttributeListsCore(attributeLists As SyntaxList(Of AttributeListSyntax)) As NewExpressionSyntax 23386Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As ObjectCreationExpressionSyntax 23521Public Function Update(newKeyword As SyntaxToken, attributeLists As SyntaxList(of AttributeListSyntax), type As TypeSyntax, argumentList As ArgumentListSyntax, initializer As ObjectCreationInitializerSyntax) As ObjectCreationExpressionSyntax 23592Public Shadows ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 23599Friend Overrides Function GetAttributeListsCore() As SyntaxList(Of AttributeListSyntax) 23603Friend Overrides Function WithAttributeListsCore(attributeLists As SyntaxList(Of AttributeListSyntax)) As NewExpressionSyntax 23612Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As AnonymousObjectCreationExpressionSyntax 23691Public Function Update(newKeyword As SyntaxToken, attributeLists As SyntaxList(of AttributeListSyntax), initializer As ObjectMemberInitializerSyntax) As AnonymousObjectCreationExpressionSyntax 23765Public Shadows ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 23772Friend Overrides Function GetAttributeListsCore() As SyntaxList(Of AttributeListSyntax) 23776Friend Overrides Function WithAttributeListsCore(attributeLists As SyntaxList(Of AttributeListSyntax)) As NewExpressionSyntax 23785Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As ArrayCreationExpressionSyntax 23847Public ReadOnly Property RankSpecifiers As SyntaxList(Of ArrayRankSpecifierSyntax) 23859Public Shadows Function WithRankSpecifiers(rankSpecifiers as SyntaxList(Of ArrayRankSpecifierSyntax)) As ArrayCreationExpressionSyntax 23955Public Function Update(newKeyword As SyntaxToken, attributeLists As SyntaxList(of AttributeListSyntax), type As TypeSyntax, arrayBounds As ArgumentListSyntax, rankSpecifiers As SyntaxList(of ArrayRankSpecifierSyntax), initializer As CollectionInitializerSyntax) As ArrayCreationExpressionSyntax 26103Public ReadOnly Property Statements As SyntaxList(Of StatementSyntax) 26115Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As MultiLineLambdaExpressionSyntax 26193Public Function Update(kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, statements As SyntaxList(of StatementSyntax), endSubOrFunctionStatement As EndBlockStatementSyntax) As MultiLineLambdaExpressionSyntax 26239Public Shadows ReadOnly Property AttributeLists As SyntaxList(Of AttributeListSyntax) 26246Friend Overrides Function GetAttributeListsCore() As SyntaxList(Of AttributeListSyntax) 26250Friend Overrides Function WithAttributeListsCore(attributeLists As SyntaxList(Of AttributeListSyntax)) As MethodBaseSyntax 26259Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As LambdaHeaderSyntax 26451Public Function Update(kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, subOrFunctionKeyword As SyntaxToken, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As LambdaHeaderSyntax 27106Public ReadOnly Property Clauses As SyntaxList(Of QueryClauseSyntax) 27118Public Shadows Function WithClauses(clauses as SyntaxList(Of QueryClauseSyntax)) As QueryExpressionSyntax 27158Public Function Update(clauses As SyntaxList(of QueryClauseSyntax)) As QueryExpressionSyntax 28327Public ReadOnly Property AdditionalQueryOperators As SyntaxList(Of QueryClauseSyntax) 28339Public Shadows Function WithAdditionalQueryOperators(additionalQueryOperators as SyntaxList(Of QueryClauseSyntax)) As AggregateClauseSyntax 28445Public Function Update(aggregateKeyword As SyntaxToken, variables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), additionalQueryOperators As SyntaxList(of QueryClauseSyntax), intoKeyword As SyntaxToken, aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As AggregateClauseSyntax 29204Public ReadOnly Property AdditionalJoins As SyntaxList(Of JoinClauseSyntax) 29210Friend Overridable Function GetAdditionalJoinsCore() As SyntaxList(Of JoinClauseSyntax) 29220Public Function WithAdditionalJoins(additionalJoins As SyntaxList(Of JoinClauseSyntax)) As JoinClauseSyntax 29223Friend MustOverride Function WithAdditionalJoinsCore(additionalJoins As SyntaxList(Of JoinClauseSyntax)) As JoinClauseSyntax 29506Public Shadows ReadOnly Property AdditionalJoins As SyntaxList(Of JoinClauseSyntax) 29513Friend Overrides Function GetAdditionalJoinsCore() As SyntaxList(Of JoinClauseSyntax) 29517Friend Overrides Function WithAdditionalJoinsCore(additionalJoins As SyntaxList(Of JoinClauseSyntax)) As JoinClauseSyntax 29526Public Shadows Function WithAdditionalJoins(additionalJoins as SyntaxList(Of JoinClauseSyntax)) As SimpleJoinClauseSyntax 29653Public Function Update(joinKeyword As SyntaxToken, joinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), additionalJoins As SyntaxList(of JoinClauseSyntax), onKeyword As SyntaxToken, joinConditions As SeparatedSyntaxList(Of JoinConditionSyntax)) As SimpleJoinClauseSyntax 29775Public Shadows ReadOnly Property AdditionalJoins As SyntaxList(Of JoinClauseSyntax) 29782Friend Overrides Function GetAdditionalJoinsCore() As SyntaxList(Of JoinClauseSyntax) 29786Friend Overrides Function WithAdditionalJoinsCore(additionalJoins As SyntaxList(Of JoinClauseSyntax)) As JoinClauseSyntax 29795Public Shadows Function WithAdditionalJoins(additionalJoins as SyntaxList(Of JoinClauseSyntax)) As GroupJoinClauseSyntax 29979Public Function Update(groupKeyword As SyntaxToken, joinKeyword As SyntaxToken, joinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), additionalJoins As SyntaxList(of JoinClauseSyntax), onKeyword As SyntaxToken, joinConditions As SeparatedSyntaxList(Of JoinConditionSyntax), intoKeyword As SyntaxToken, aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As GroupJoinClauseSyntax 30438Public ReadOnly Property PrecedingMisc As SyntaxList(Of XmlNodeSyntax) 30450Public Shadows Function WithPrecedingMisc(precedingMisc as SyntaxList(Of XmlNodeSyntax)) As XmlDocumentSyntax 30475Public ReadOnly Property FollowingMisc As SyntaxList(Of XmlNodeSyntax) 30487Public Shadows Function WithFollowingMisc(followingMisc as SyntaxList(Of XmlNodeSyntax)) As XmlDocumentSyntax 30550Public Function Update(declaration As XmlDeclarationSyntax, precedingMisc As SyntaxList(of XmlNodeSyntax), root As XmlNodeSyntax, followingMisc As SyntaxList(of XmlNodeSyntax)) As XmlDocumentSyntax 30922Public ReadOnly Property Content As SyntaxList(Of XmlNodeSyntax) 30934Public Shadows Function WithContent(content as SyntaxList(Of XmlNodeSyntax)) As XmlElementSyntax 31004Public Function Update(startTag As XmlElementStartTagSyntax, content As SyntaxList(of XmlNodeSyntax), endTag As XmlElementEndTagSyntax) As XmlElementSyntax 31167Public ReadOnly Property Attributes As SyntaxList(Of XmlNodeSyntax) 31179Public Shadows Function WithAttributes(attributes as SyntaxList(Of XmlNodeSyntax)) As XmlElementStartTagSyntax 31249Public Function Update(lessThanToken As SyntaxToken, name As XmlNodeSyntax, attributes As SyntaxList(of XmlNodeSyntax), greaterThanToken As SyntaxToken) As XmlElementStartTagSyntax 31445Public ReadOnly Property Attributes As SyntaxList(Of XmlNodeSyntax) 31457Public Shadows Function WithAttributes(attributes as SyntaxList(Of XmlNodeSyntax)) As XmlEmptyElementSyntax 31527Public Function Update(lessThanToken As SyntaxToken, name As XmlNodeSyntax, attributes As SyntaxList(of XmlNodeSyntax), slashGreaterThanToken As SyntaxToken) As XmlEmptyElementSyntax 32808Public ReadOnly Property RankSpecifiers As SyntaxList(Of ArrayRankSpecifierSyntax) 32820Public Shadows Function WithRankSpecifiers(rankSpecifiers as SyntaxList(Of ArrayRankSpecifierSyntax)) As ArrayTypeSyntax 32869Public Function Update(elementType As TypeSyntax, rankSpecifiers As SyntaxList(of ArrayRankSpecifierSyntax)) As ArrayTypeSyntax 34691Public ReadOnly Property Content As SyntaxList(Of XmlNodeSyntax) 34703Public Shadows Function WithContent(content as SyntaxList(Of XmlNodeSyntax)) As DocumentationCommentTriviaSyntax 34743Public Function Update(content As SyntaxList(of XmlNodeSyntax)) As DocumentationCommentTriviaSyntax 35426Public ReadOnly Property Contents As SyntaxList(Of InterpolatedStringContentSyntax) 35438Public Shadows Function WithContents(contents as SyntaxList(Of InterpolatedStringContentSyntax)) As InterpolatedStringExpressionSyntax 35504Public Function Update(dollarSignDoubleQuoteToken As SyntaxToken, contents As SyntaxList(of InterpolatedStringContentSyntax), doubleQuoteToken As SyntaxToken) As InterpolatedStringExpressionSyntax
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (1)
546Private Shared Function SkipAttributes(syntax As SyntaxNode, attributes As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, keyword As SyntaxToken) As Text.TextSpan
OptionsValidator.vb (1)
34Dim importList As SyntaxList(Of ImportsStatementSyntax) = tree.GetCompilationUnitRoot().Imports
src\Compilers\VisualBasic\BasicAnalyzerDriver\VisualBasicDeclarationComputer.vb (2)
174Private Shared Function GetAttributes(attributeStatements As SyntaxList(Of AttributesStatementSyntax)) As IEnumerable(Of SyntaxNode) 242Private Shared Iterator Function GetAttributes(attributeLists As SyntaxList(Of AttributeListSyntax)) As IEnumerable(Of SyntaxNode)
Symbols\Source\CustomEventAccessorSymbol.vb (2)
126Protected Overrides Function GetAttributeDeclarations() As OneOrMany(Of SyntaxList(Of AttributeListSyntax)) 130Protected Overrides Function GetReturnTypeAttributeDeclarations() As OneOrMany(Of SyntaxList(Of AttributeListSyntax))
Symbols\Source\QuickAttributeChecker.vb (1)
81Public Function CheckAttributes(attributeLists As SyntaxList(Of AttributeListSyntax)) As QuickAttributes
Symbols\Source\SourceAssemblySymbol.vb (2)
487Friend Function GetAttributeDeclarations() As ImmutableArray(Of SyntaxList(Of AttributeListSyntax)) 488Dim attributeBlocks = ArrayBuilder(Of SyntaxList(Of AttributeListSyntax)).GetInstance()
Symbols\Source\SourceComplexParameterSymbol.vb (3)
54Friend Overrides ReadOnly Property AttributeDeclarationList As SyntaxList(Of AttributeListSyntax) 61Private Function GetAttributeDeclarations() As OneOrMany(Of SyntaxList(Of AttributeListSyntax)) 69Dim otherAttributes As SyntaxList(Of AttributeListSyntax)
Symbols\Source\SourceDelegateMethodSymbol.vb (4)
206Protected NotOverridable Overrides Function GetAttributeDeclarations() As OneOrMany(Of SyntaxList(Of AttributeListSyntax)) 238Protected Overrides Function GetReturnTypeAttributeDeclarations() As OneOrMany(Of SyntaxList(Of AttributeListSyntax)) 313Protected Overrides Function GetReturnTypeAttributeDeclarations() As OneOrMany(Of SyntaxList(Of AttributeListSyntax)) 360Protected Overrides Function GetReturnTypeAttributeDeclarations() As OneOrMany(Of SyntaxList(Of AttributeListSyntax))
Symbols\Source\SourceEnumConstantSymbol.vb (1)
51Friend NotOverridable Overrides ReadOnly Property GetAttributeDeclarations As OneOrMany(Of SyntaxList(Of AttributeListSyntax))
Symbols\Source\SourceEventSymbol.vb (1)
578Friend ReadOnly Property AttributeDeclarationSyntaxList As SyntaxList(Of AttributeListSyntax)
Symbols\Source\SourceFieldSymbol.vb (1)
630Friend MustOverride ReadOnly Property GetAttributeDeclarations() As OneOrMany(Of SyntaxList(Of AttributeListSyntax))
Symbols\Source\SourceFile.vb (2)
187Private Shared Sub BindOptions(optionsSyntax As SyntaxList(Of OptionStatementSyntax), 239Private Shared Sub BindImports(importsListSyntax As SyntaxList(Of ImportsStatementSyntax),
Symbols\Source\SourceMemberFieldSymbol.vb (1)
55Friend NotOverridable Overrides ReadOnly Property GetAttributeDeclarations As OneOrMany(Of SyntaxList(Of AttributeListSyntax))
Symbols\Source\SourceMemberMethodSymbol.vb (1)
141Protected Overrides Function GetAttributeDeclarations() As OneOrMany(Of SyntaxList(Of AttributeListSyntax))
Symbols\Source\SourceMethodSymbol.vb (4)
1355Protected ReadOnly Property AttributeDeclarationSyntaxList As SyntaxList(Of AttributeListSyntax) 1361Protected ReadOnly Property ReturnTypeAttributeDeclarationSyntaxList As SyntaxList(Of AttributeListSyntax) 1375Protected Overridable Function GetAttributeDeclarations() As OneOrMany(Of SyntaxList(Of AttributeListSyntax)) 1379Protected Overridable Function GetReturnTypeAttributeDeclarations() As OneOrMany(Of SyntaxList(Of AttributeListSyntax))
Symbols\Source\SourceNamedTypeSymbol.vb (7)
1057Private Sub CheckNoBase(Of T As InheritsOrImplementsStatementSyntax)(baseDeclList As SyntaxList(Of T), 1070Private Function ValidateClassBase(inheritsSyntax As SyntaxList(Of InheritsStatementSyntax), 1149Private Sub ValidateInheritedInterfaces(baseSyntax As SyntaxList(Of InheritsStatementSyntax), 1206Private Sub ValidateImplementedInterfaces(baseSyntax As SyntaxList(Of ImplementsStatementSyntax), 1808Private Function GetAttributeDeclarations(Optional quickAttributes As QuickAttributes? = Nothing) As ImmutableArray(Of SyntaxList(Of AttributeListSyntax)) 2338Dim attributeLists As ImmutableArray(Of SyntaxList(Of AttributeListSyntax)) = GetAttributeDeclarations(QuickAttributes.TypeIdentifier) 2340For Each list As SyntaxList(Of AttributeListSyntax) In attributeLists
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (2)
129Dim attributeLists As ImmutableArray(Of SyntaxList(Of AttributeListSyntax)) = GetAttributeDeclarations() 132For Each list As SyntaxList(Of AttributeListSyntax) In attributeLists
Symbols\Source\SourceParameterSymbol.vb (1)
153Friend MustOverride ReadOnly Property AttributeDeclarationList As SyntaxList(Of AttributeListSyntax)
Symbols\Source\SourcePropertyAccessorSymbol.vb (2)
357Protected Overrides Function GetAttributeDeclarations() As OneOrMany(Of SyntaxList(Of AttributeListSyntax)) 365Protected Overrides Function GetReturnTypeAttributeDeclarations() As OneOrMany(Of SyntaxList(Of AttributeListSyntax))
Symbols\Source\SourcePropertySymbol.vb (2)
474Private Function GetAttributeDeclarations() As OneOrMany(Of SyntaxList(Of AttributeListSyntax)) 482Private Function GetReturnTypeAttributeDeclarations() As OneOrMany(Of SyntaxList(Of AttributeListSyntax))
Symbols\Source\SourceSimpleParameterSymbol.vb (1)
50Friend Overrides ReadOnly Property AttributeDeclarationList As SyntaxList(Of AttributeListSyntax)
Symbols\Symbol_Attributes.vb (5)
250Friend Sub LoadAndValidateAttributes(attributeBlockSyntaxList As OneOrMany(Of SyntaxList(Of AttributeListSyntax)), 308Private Function GetAttributesToBind(attributeDeclarationSyntaxLists As OneOrMany(Of SyntaxList(Of AttributeListSyntax)), 320Dim attributeDeclarationSyntaxList As SyntaxList(Of AttributeListSyntax) = attributeDeclarationSyntaxLists(listIndex) 360Friend Function GetAttributeBinder(syntaxList As SyntaxList(Of AttributeListSyntax), sourceModule As SourceModuleSymbol) As Binder 400Friend Shared Sub GetAttributesToBind(attributeBlockSyntaxList As SyntaxList(Of AttributeListSyntax), ByRef attributeSyntaxBuilder As ArrayBuilder(Of AttributeSyntax))
Syntax\SyntaxExtensions.vb (1)
84Public Function Attributes(asClauseSyntax As AsClauseSyntax) As SyntaxList(Of AttributeListSyntax)
Syntax\SyntaxFactory.vb (21)
419Public Shared Function TypeBlock(ByVal blockKind As SyntaxKind, ByVal begin As TypeStatementSyntax, Optional ByVal [inherits] As SyntaxList(Of InheritsStatementSyntax) = Nothing, Optional ByVal [implements] As SyntaxList(Of ImplementsStatementSyntax) = Nothing, Optional ByVal members As SyntaxList(Of StatementSyntax) = Nothing, Optional ByVal [end] As EndBlockStatementSyntax = Nothing) As TypeBlockSyntax 438Public Shared Function TypeStatement(ByVal statementKind As SyntaxKind, Optional ByVal attributes As SyntaxList(Of AttributeListSyntax) = Nothing, Optional ByVal modifiers As SyntaxTokenList = Nothing, Optional ByVal keyword As SyntaxToken = Nothing, Optional ByVal identifier As SyntaxToken = Nothing, Optional ByVal typeParameterList As TypeParameterListSyntax = Nothing) As TypeStatementSyntax 480Public Shared Function XmlSummaryElement(content As SyntaxList(Of XmlNodeSyntax)) As XmlElementSyntax 505Public Shared Function XmlSeeAlsoElement(linkAddress As Uri, linkText As SyntaxList(Of XmlNodeSyntax)) As XmlElementSyntax 596Public Shared Function XmlRemarksElement(content As SyntaxList(Of XmlNodeSyntax)) As XmlElementSyntax 612Public Shared Function XmlReturnsElement(content As SyntaxList(Of XmlNodeSyntax)) As XmlElementSyntax 628Public Shared Function XmlValueElement(content As SyntaxList(Of XmlNodeSyntax)) As XmlElementSyntax 646Public Shared Function XmlExceptionElement(cref As CrefReferenceSyntax, content As SyntaxList(Of XmlNodeSyntax)) As XmlElementSyntax 665Public Shared Function XmlPermissionElement(cref As CrefReferenceSyntax, content As SyntaxList(Of XmlNodeSyntax)) As XmlElementSyntax 682Public Shared Function XmlExampleElement(content As SyntaxList(Of XmlNodeSyntax)) As XmlElementSyntax 699Public Shared Function XmlParaElement(content As SyntaxList(Of XmlNodeSyntax)) As XmlElementSyntax 721Public Shared Function XmlParamElement(parameterName As String, content As SyntaxList(Of XmlNodeSyntax)) As XmlElementSyntax 774Public Shared Function XmlPlaceholderElement(content As SyntaxList(Of XmlNodeSyntax)) As XmlElementSyntax 791Public Shared Function XmlElement(localName As String, content As SyntaxList(Of XmlNodeSyntax)) As XmlElementSyntax 800Public Shared Function XmlElement(name As XmlNameSyntax, content As SyntaxList(Of XmlNodeSyntax)) As XmlElementSyntax 809Public Shared Function XmlMultiLineElement(localName As String, content As SyntaxList(Of XmlNodeSyntax)) As XmlElementSyntax 818Public Shared Function XmlMultiLineElement(name As XmlNameSyntax, content As SyntaxList(Of XmlNodeSyntax)) As XmlElementSyntax 1000Public Shared Function AreEquivalent(Of TNode As SyntaxNode)(oldList As SyntaxList(Of TNode), newList As SyntaxList(Of TNode), Optional ignoreChildNode As Func(Of SyntaxKind, Boolean) = Nothing) As Boolean
Syntax\SyntaxFacts.vb (4)
227Dim body As SyntaxList(Of StatementSyntax) = Nothing 282ByRef body As SyntaxList(Of StatementSyntax)) As Boolean 334ByRef body As SyntaxList(Of StatementSyntax), 512Dim body As SyntaxList(Of StatementSyntax) = Nothing
Syntax\SyntaxNodeFactories.vb (3)
772Public Shared Function List(Of TNode As SyntaxNode)() As SyntaxList(Of TNode) 781Public Shared Function SingletonList(Of TNode As SyntaxNode)(node As TNode) As SyntaxList(Of TNode) 790Public Shared Function List(Of TNode As SyntaxNode)(nodes As IEnumerable(Of TNode)) As SyntaxList(Of TNode)
Syntax\SyntaxNodePartials.vb (1)
82Friend ReadOnly Property Statements As SyntaxList(Of StatementSyntax)
Syntax\SyntaxNormalizer.vb (2)
683list As SyntaxList(Of TNode), 712Private Sub MarkLastStatementIfNeeded(Of TNode As SyntaxNode)(list As SyntaxList(Of TNode))
Syntax\SyntaxReplacer.vb (2)
322Public Overrides Function VisitList(Of TNode As SyntaxNode)(list As SyntaxList(Of TNode)) As SyntaxList(Of TNode)
Syntax\VisualBasicSyntaxRewriter.vb (2)
75Public Overridable Function VisitList(Of TNode As SyntaxNode)(list As SyntaxList(Of TNode)) As SyntaxList(Of TNode)
VisualBasicExtensions.vb (2)
79Public Function IndexOf(Of TNode As SyntaxNode)(list As SyntaxList(Of TNode), kind As SyntaxKind) As Integer 89Public Function Any(Of TNode As SyntaxNode)(list As SyntaxList(Of TNode), kind As SyntaxKind) As Boolean
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (33)
src\Analyzers\VisualBasic\Analyzers\AddAccessibilityModifiers\VisualBasicAddAccessibilityModifiersDiagnosticAnalyzer.vb (1)
28members As SyntaxList(Of StatementSyntax))
src\Analyzers\VisualBasic\Analyzers\RemoveUnusedMembers\VisualBasicRemoveUnusedMembersDiagnosticAnalyzer.vb (1)
62Protected Overrides Function GetMembers(typeDeclaration As TypeBlockSyntax) As SyntaxList(Of StatementSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\StatementSyntaxExtensions.vb (2)
14Public Function GetAttributes(member As StatementSyntax) As SyntaxList(Of AttributeListSyntax) 74Public Function WithAttributeLists(member As StatementSyntax, attributeLists As SyntaxList(Of AttributeListSyntax)) As StatementSyntax
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (11)
113Public Function GetStatements(node As SyntaxNode) As SyntaxList(Of StatementSyntax) 531Public Function GetExecutableBlockStatements(node As SyntaxNode) As SyntaxList(Of StatementSyntax) 580statements As SyntaxList(Of StatementSyntax), 610statements As SyntaxList(Of StatementSyntax), 639statements As SyntaxList(Of StatementSyntax), 667newStatements As SyntaxList(Of StatementSyntax), 672Dim ifStatements As SyntaxList(Of StatementSyntax) 673Dim elseStatements As SyntaxList(Of StatementSyntax) 715statements As SyntaxList(Of StatementSyntax), 890Public Function GetMembers(node As SyntaxNode) As SyntaxList(Of StatementSyntax) 1148Public Function GetAttributeLists(node As SyntaxNode) As SyntaxList(Of AttributeListSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SelectedMembers\VisualBasicSelectedMembers.vb (1)
23Protected Overrides Function GetMembers(containingType As TypeBlockSyntax) As SyntaxList(Of StatementSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicDocumentationCommentService.vb (1)
36Protected Overrides Function GetAttributes(xmlEmpty As XmlEmptyElementSyntax) As SyntaxList(Of XmlNodeSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (12)
891Private Shared Function GetSyntaxListSpan(Of T As SyntaxNode)(list As SyntaxList(Of T)) As TextSpan 919Public Function GetMembersOfTypeDeclaration(typeDeclaration As SyntaxNode) As SyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetMembersOfTypeDeclaration 1145Private Shared Sub AppendConstructors(members As SyntaxList(Of StatementSyntax), constructors As List(Of SyntaxNode), cancellationToken As CancellationToken) 1240Public Function GetContentsOfInterpolatedString(interpolatedString As SyntaxNode) As SyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetContentsOfInterpolatedString 1587Public Function GetAttributeLists(node As SyntaxNode) As SyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetAttributeLists 1643Public Function GetContentFromDocumentationCommentTriviaSyntax(trivia As SyntaxTrivia) As SyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetContentFromDocumentationCommentTriviaSyntax 1846Public Sub GetPartsOfCompilationUnit(node As SyntaxNode, ByRef [imports] As SyntaxList(Of SyntaxNode), ByRef attributeLists As SyntaxList(Of SyntaxNode), ByRef members As SyntaxList(Of SyntaxNode)) Implements ISyntaxFacts.GetPartsOfCompilationUnit 1871Public Sub GetPartsOfInterpolationExpression(node As SyntaxNode, ByRef stringStartToken As SyntaxToken, ByRef contents As SyntaxList(Of SyntaxNode), ByRef stringEndToken As SyntaxToken) Implements ISyntaxFacts.GetPartsOfInterpolationExpression 1897Public Sub GetPartsOfBaseNamespaceDeclaration(node As SyntaxNode, ByRef name As SyntaxNode, ByRef [imports] As SyntaxList(Of SyntaxNode), ByRef members As SyntaxList(Of SyntaxNode)) Implements ISyntaxFacts.GetPartsOfBaseNamespaceDeclaration
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\ImportsOrganizer.vb (4)
12Public Shared Function Organize([imports] As SyntaxList(Of ImportsStatementSyntax), 15newLineTrivia As SyntaxTrivia) As SyntaxList(Of ImportsStatementSyntax) 72Public Shared Function OrganizeWorker([imports] As SyntaxList(Of ImportsStatementSyntax), 74newLineTrivia As SyntaxTrivia) As SyntaxList(Of ImportsStatementSyntax)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (47)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\AttributeGenerator.vb (1)
15Public Function GenerateAttributeBlocks(attributes As ImmutableArray(Of AttributeData), options As CodeGenerationContextInfo, Optional target As SyntaxToken? = Nothing) As SyntaxList(Of AttributeListSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ConstructorGenerator.vb (2)
13Private Function LastConstructorOrField(Of TDeclaration As SyntaxNode)(members As SyntaxList(Of TDeclaration)) As TDeclaration 58Private Function GenerateStatements(constructor As IMethodSymbol) As SyntaxList(Of StatementSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\EventGenerator.vb (2)
15members As SyntaxList(Of StatementSyntax), 35members As SyntaxList(Of StatementSyntax),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\FieldGenerator.vb (1)
16members As SyntaxList(Of TDeclaration),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\NamedTypeGenerator.vb (3)
160Private Function GenerateAttributes(namedType As INamedTypeSymbol, options As CodeGenerationContextInfo) As SyntaxList(Of AttributeListSyntax) 204Private Function GenerateInheritsStatements(namedType As INamedTypeSymbol) As SyntaxList(Of InheritsStatementSyntax) 215Private Function GenerateImplementsStatements(namedType As INamedTypeSymbol) As SyntaxList(Of ImplementsStatementSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\NamespaceGenerator.vb (1)
97Private Function GenerateImportsStatements([namespace] As INamespaceSymbol) As SyntaxList(Of ImportsStatementSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\PropertyGenerator.vb (3)
15members As SyntaxList(Of TDeclaration)) As TDeclaration 110options As CodeGenerationContextInfo) As SyntaxList(Of AccessorBlockSyntax) 147Private Function GenerateAccessorStatements(accessor As IMethodSymbol) As SyntaxList(Of StatementSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\StatementGenerator.vb (2)
11Friend Function GenerateStatements(statements As IEnumerable(Of SyntaxNode)) As SyntaxList(Of StatementSyntax) 15Friend Function GenerateStatements(method As IMethodSymbol) As SyntaxList(Of StatementSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationHelpers.vb (16)
56Public Function InsertAtIndex(members As SyntaxList(Of StatementSyntax), 58index As Integer) As SyntaxList(Of StatementSyntax) 91Public Function FirstMember(Of TDeclaration As SyntaxNode)(members As SyntaxList(Of TDeclaration)) As TDeclaration 95Public Function FirstMethod(Of TDeclaration As SyntaxNode)(members As SyntaxList(Of TDeclaration)) As TDeclaration 99Public Function LastField(Of TDeclaration As SyntaxNode)(members As SyntaxList(Of TDeclaration)) As TDeclaration 103Public Function LastConstructor(Of TDeclaration As SyntaxNode)(members As SyntaxList(Of TDeclaration)) As TDeclaration 107Public Function LastMethod(Of TDeclaration As SyntaxNode)(members As SyntaxList(Of TDeclaration)) As TDeclaration 111Public Function LastOperator(Of TDeclaration As SyntaxNode)(members As SyntaxList(Of TDeclaration)) As TDeclaration 116[next] As Func(Of SyntaxList(Of TDeclaration), TDeclaration)) As Func(Of SyntaxList(Of TDeclaration), TDeclaration) 122[next] As Func(Of SyntaxList(Of TDeclaration), TDeclaration)) As Func(Of SyntaxList(Of TDeclaration), TDeclaration) 128declarationList As SyntaxList(Of TDeclaration), 132Optional after As Func(Of SyntaxList(Of TDeclaration), TDeclaration) = Nothing, 133Optional before As Func(Of SyntaxList(Of TDeclaration), TDeclaration) = Nothing) As SyntaxList(Of TDeclaration)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (4)
409Private Shared Function RemoveAttributeFromAttributeLists(attributeLists As SyntaxList(Of AttributeListSyntax), attributeToRemove As SyntaxNode, 410<Out> ByRef attributeRemoved As Boolean, <Out> ByRef positionOfRemovedNode As Integer, <Out> ByRef triviaOfRemovedNode As SyntaxTriviaList) As SyntaxList(Of AttributeListSyntax) 438Private Shared Function RemoveAttributeFromAttributeStatements(attributeStatements As SyntaxList(Of AttributesStatementSyntax), attributeToRemove As SyntaxNode, 439<Out> ByRef attributeRemoved As Boolean, <Out> ByRef positionOfRemovedNode As Integer, <Out> ByRef triviaOfRemovedNode As SyntaxTriviaList) As SyntaxList(Of AttributesStatementSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\SyntaxListExtensions.vb (5)
10Public Function RemoveRange(Of T As SyntaxNode)(syntaxList As SyntaxList(Of T), index As Integer, count As Integer) As SyntaxList(Of T) 17Public Function ToSyntaxList(Of T As SyntaxNode)(sequence As IEnumerable(Of T)) As SyntaxList(Of T) 22Public Function Insert(Of T As SyntaxNode)(syntaxList As SyntaxList(Of T), index As Integer, item As T) As SyntaxList(Of T)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeBlockSyntaxExtensions.vb (4)
48Private Function EnsureProperList(Of TSyntax As SyntaxNode)(list As SyntaxList(Of TSyntax)) As SyntaxList(Of TSyntax) 61Private Function EnsureProperInherits(destinationType As TypeBlockSyntax) As SyntaxList(Of InheritsStatementSyntax) 71Private Function EnsureProperImplements(destinationType As TypeBlockSyntax) As SyntaxList(Of ImplementsStatementSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicAddImportsService.vb (2)
79Protected Overrides Function GetExterns(node As SyntaxNode) As SyntaxList(Of ImportsStatementSyntax) 83Protected Overrides Function GetUsingsAndAliases(node As SyntaxNode) As SyntaxList(Of ImportsStatementSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxGeneratorInternal.vb (1)
283Friend Shared Function GetStatementList(nodes As IEnumerable(Of SyntaxNode)) As SyntaxList(Of StatementSyntax)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (3)
EndConstructGeneration\EndConstructStatementVisitor_IfStatement.vb (2)
59Private Function ConvertSingleLineStatementsToMultiLineStatements(statements As SyntaxList(Of StatementSyntax), indentedWhitespace As String) As SyntaxList(Of StatementSyntax)
LineCommit\ContainingStatementInfo.vb (1)
171Private Shared Function GetContainingStatementInfoForAttributedStatement(node As StatementSyntax, attributes As SyntaxList(Of AttributeListSyntax), position As Integer) As ContainingStatementInfo
Microsoft.CodeAnalysis.VisualBasic.Features (57)
CodeRefactorings\SyncNamespace\VisualBasicChangeNamespaceService.vb (1)
70Protected Overrides Function GetMemberDeclarationsInContainer(container As SyntaxNode) As SyntaxList(Of StatementSyntax)
Completion\CompletionProviders\XmlDocCommentCompletionProvider.vb (4)
230Dim tagAttributes As SyntaxList(Of XmlNodeSyntax) = Nothing 311Private Shared Function GetElementNameAndAttributes(node As XmlNodeSyntax) As (Name As String, Attributes As SyntaxList(Of XmlNodeSyntax)) 313Dim attributes As SyntaxList(Of XmlNodeSyntax) = Nothing 337Private Function GetAttributes(token As SyntaxToken, tagName As String, attributes As SyntaxList(Of XmlNodeSyntax)) As IEnumerable(Of CompletionItem)
ConvertForEachToFor\VisualBasicConvertForEachToForCodeRefactoringProvider.vb (1)
122collectionVariableName As SyntaxNode, indexVariable As SyntaxToken) As SyntaxList(Of StatementSyntax)
ConvertForToForEach\VisualBasicConvertForToForEachCodeRefactoringProvider.vb (1)
33Protected Overrides Function GetBodyStatements(forStatement As ForBlockSyntax) As SyntaxList(Of StatementSyntax)
EditAndContinue\SyntaxComparer.vb (10)
1139leftStatements As SyntaxList(Of StatementSyntax), 1141rightStatements As SyntaxList(Of StatementSyntax)) As Double 1147leftStatements As SyntaxList(Of StatementSyntax), 1150rightStatements As SyntaxList(Of StatementSyntax)) As Double 1172Private Shared Function TryComputeLocalsDistance(left As SyntaxList(Of StatementSyntax), 1173right As SyntaxList(Of StatementSyntax), 1191Private Shared Sub GetLocalNames(statements As SyntaxList(Of StatementSyntax), ByRef result As List(Of SyntaxToken)) 1343Friend Overloads Shared Function ComputeDistance(Of TSyntaxNode As SyntaxNode)(oldList As SyntaxList(Of TSyntaxNode), newList As SyntaxList(Of TSyntaxNode)) As Double 1354Friend Shared Iterator Function GetDescendantTokensIgnoringSeparators(Of TSyntaxNode As SyntaxNode)(list As SyntaxList(Of TSyntaxNode)) As IEnumerable(Of SyntaxToken)
EditAndContinue\SyntaxUtilities.vb (1)
190Public Shared Function GetBody(node As LambdaExpressionSyntax) As SyntaxList(Of SyntaxNode)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
272Dim stack = ArrayBuilder(Of SyntaxList(Of StatementSyntax)).GetInstance()
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (2)
321Private Function ReplaceStatementsIfNeeded(statements As SyntaxList(Of StatementSyntax), Optional colon As Boolean = False) As SyntaxList(Of StatementSyntax)
InitializeParameter\InitializeParameterHelpers.vb (1)
21Private Shared Function GetStatements(functionDeclaration As SyntaxNode) As SyntaxList(Of StatementSyntax)
IntroduceUsingStatement\VisualBasicIntroduceUsingStatementCodeRefactoringProvider.vb (5)
29Protected Overrides Function GetTryFinallyStatements(tryStatement As TryBlockSyntax) As (SyntaxList(Of StatementSyntax), SyntaxList(Of StatementSyntax)) 38Protected Overrides Function GetSurroundingStatements(declarationStatement As LocalDeclarationStatementSyntax) As SyntaxList(Of StatementSyntax) 42Protected Overrides Function WithStatements(parentOfStatementsToSurround As SyntaxNode, statements As SyntaxList(Of StatementSyntax)) As SyntaxNode 48statementsToSurround As SyntaxList(Of StatementSyntax)) As StatementSyntax
IntroduceVariable\VisualBasicIntroduceVariableService_IntroduceField.vb (6)
110Protected Overloads Shared Function DetermineConstantInsertPosition(oldMembers As SyntaxList(Of StatementSyntax), 111newMembers As SyntaxList(Of StatementSyntax)) As Integer 144Protected Overloads Shared Function DetermineFieldInsertPosition(oldMembers As SyntaxList(Of StatementSyntax), 145newMembers As SyntaxList(Of StatementSyntax)) As Integer 179Protected Shared Function DetermineFirstChange(oldMembers As SyntaxList(Of StatementSyntax), 180newMembers As SyntaxList(Of StatementSyntax)) As Integer
InvertIf\VisualBasicInvertIfCodeRefactoringProvider.MultiLine.vb (4)
33Protected Overrides Function GetIfBody(ifNode As MultiLineIfBlockSyntax) As SyntaxList(Of StatementSyntax) 37Protected Overrides Function GetElseBody(ifNode As MultiLineIfBlockSyntax) As SyntaxList(Of StatementSyntax) 45trueStatement As SyntaxList(Of StatementSyntax), 46Optional falseStatementOpt As SyntaxList(Of StatementSyntax) = Nothing) As MultiLineIfBlockSyntax
InvertIf\VisualBasicInvertIfCodeRefactoringProvider.SingleLine.vb (4)
35Protected Overrides Function GetIfBody(ifNode As SingleLineIfStatementSyntax) As SyntaxList(Of StatementSyntax) 39Protected Overrides Function GetElseBody(ifNode As SingleLineIfStatementSyntax) As SyntaxList(Of StatementSyntax) 47trueStatements As SyntaxList(Of StatementSyntax), 48Optional falseStatements As SyntaxList(Of StatementSyntax) = Nothing) As SingleLineIfStatementSyntax
InvertIf\VisualBasicInvertIfCodeRefactoringProvider.vb (6)
10Inherits AbstractInvertIfCodeRefactoringProvider(Of SyntaxKind, StatementSyntax, TIfStatementSyntax, SyntaxList(Of StatementSyntax)) 59Protected NotOverridable Overrides Function GetStatements(node As SyntaxNode) As SyntaxList(Of StatementSyntax) 99Protected NotOverridable Overrides Function UnwrapBlock(ifBody As SyntaxList(Of StatementSyntax)) As IEnumerable(Of StatementSyntax) 103Protected NotOverridable Overrides Function GetEmptyEmbeddedStatement() As SyntaxList(Of StatementSyntax) 107Protected NotOverridable Overrides Function AsEmbeddedStatement(statements As IEnumerable(Of StatementSyntax), original As SyntaxList(Of StatementSyntax)) As SyntaxList(Of StatementSyntax)
LineSeparators\VisualBasicLineSeparatorService.vb (2)
103Private Shared Sub ProcessNodeList(Of T As SyntaxNode)(children As SyntaxList(Of T), spans As ArrayBuilder(Of TextSpan), token As CancellationToken) 145Private Shared Sub ProcessImports(importsList As SyntaxList(Of ImportsStatementSyntax), spans As ArrayBuilder(Of TextSpan))
Organizing\Organizers\MemberDeclarationsOrganizer.vb (2)
13Public Shared Function Organize(members As SyntaxList(Of StatementSyntax), 14cancellationToken As CancellationToken) As SyntaxList(Of StatementSyntax)
SplitOrMergeIfStatements\VisualBasicIfLikeStatementGenerator.vb (2)
111Private Shared Function AddIfNotNull(list As SyntaxList(Of SyntaxNode), node As SyntaxNode) As SyntaxList(Of SyntaxNode)
src\Analyzers\VisualBasic\Analyzers\AddAccessibilityModifiers\VisualBasicAddAccessibilityModifiersDiagnosticAnalyzer.vb (1)
28members As SyntaxList(Of StatementSyntax))
src\Analyzers\VisualBasic\Analyzers\RemoveUnusedMembers\VisualBasicRemoveUnusedMembersDiagnosticAnalyzer.vb (1)
62Protected Overrides Function GetMembers(typeDeclaration As TypeBlockSyntax) As SyntaxList(Of StatementSyntax)
src\Compilers\VisualBasic\BasicAnalyzerDriver\VisualBasicDeclarationComputer.vb (2)
174Private Shared Function GetAttributes(attributeStatements As SyntaxList(Of AttributesStatementSyntax)) As IEnumerable(Of SyntaxNode) 242Private Shared Iterator Function GetAttributes(attributeLists As SyntaxList(Of AttributeListSyntax)) As IEnumerable(Of SyntaxNode)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
DeclaringSyntaxNodeTests.vb (2)
41Dim body As SyntaxList(Of StatementSyntax) = Nothing 92Dim body As SyntaxList(Of StatementSyntax) = Nothing
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Syntax\SyntaxListTests.vb (1)
153Private Sub DoTestAddInsertRemoveReplaceOnEmptyList(list As SyntaxList(Of SyntaxNode))
TestSyntaxNodes.vb (1)
219Private Sub VerifyListSpans(Of T As VisualBasicSyntaxNode)(list As SyntaxList(Of T), expectedFullSpan As TextSpan)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (115)
CodeGeneration\VisualBasicSyntaxGenerator.vb (20)
62Dim node = SyntaxFactory.DocumentationCommentTrivia(CType(SyntaxFactory.List(nodes), SyntaxList(Of XmlNodeSyntax))) 72Return SyntaxFactory.DocumentationCommentTrivia(CType(SyntaxFactory.List(content), SyntaxList(Of XmlNodeSyntax))) 244Private Shared Function GetStatementList(nodes As IEnumerable(Of SyntaxNode)) As SyntaxList(Of StatementSyntax) 1256Private Function AsClassMembers(nodes As IEnumerable(Of SyntaxNode)) As SyntaxList(Of StatementSyntax) 1316Private Function AsInterfaceMembers(nodes As IEnumerable(Of SyntaxNode)) As SyntaxList(Of StatementSyntax) 1318Return CType(SyntaxFactory.List(nodes.Select(AddressOf AsInterfaceMember).Where(Function(n) n IsNot Nothing)), SyntaxList(Of StatementSyntax)) 1384Private Function AsEnumMembers(nodes As IEnumerable(Of SyntaxNode)) As SyntaxList(Of StatementSyntax) 1435Private Function AsImports(declarations As IEnumerable(Of SyntaxNode)) As SyntaxList(Of ImportsStatementSyntax) 1448Private Shared Function AsNamespaceMembers(declarations As IEnumerable(Of SyntaxNode)) As SyntaxList(Of StatementSyntax) 1509Private Function AsAttributeLists(attributes As IEnumerable(Of SyntaxNode)) As SyntaxList(Of AttributeListSyntax) 1606Private Function WithRequiredTargetSpecifier(attributes As SyntaxList(Of AttributeListSyntax), declaration As SyntaxNode) As SyntaxList(Of AttributeListSyntax) 1644Private Shared Function GetReturnAttributeLists(declaration As SyntaxNode) As SyntaxList(Of AttributeListSyntax) 3087Friend Shared Function GetAccessorList(declaration As SyntaxNode) As SyntaxList(Of AccessorBlockSyntax) 3098Private Shared Function WithAccessorList(declaration As SyntaxNode, accessorList As SyntaxList(Of AccessorBlockSyntax)) As SyntaxNode 3109Private Shared Function AsAccessorList(nodes As IEnumerable(Of SyntaxNode), parentKind As SyntaxKind) As SyntaxList(Of AccessorBlockSyntax) 3330Private Shared Function GetInherits(declaration As SyntaxNode) As SyntaxList(Of InheritsStatementSyntax) 3341Private Shared Function WithInherits(declaration As SyntaxNode, list As SyntaxList(Of InheritsStatementSyntax)) As SyntaxNode 3352Private Shared Function GetImplements(declaration As SyntaxNode) As SyntaxList(Of ImplementsStatementSyntax) 3363Private Shared Function WithImplements(declaration As SyntaxNode, list As SyntaxList(Of ImplementsStatementSyntax)) As SyntaxNode
FindSymbols\VisualBasicDeclaredSymbolInfoFactoryService.vb (5)
336Protected Overrides Function GetChildren(node As CompilationUnitSyntax) As SyntaxList(Of StatementSyntax) 340Protected Overrides Function GetChildren(node As NamespaceBlockSyntax) As SyntaxList(Of StatementSyntax) 344Protected Overrides Function GetChildren(node As TypeBlockSyntax) As SyntaxList(Of StatementSyntax) 352Protected Overrides Function GetUsingAliases(node As CompilationUnitSyntax) As SyntaxList(Of ImportsStatementSyntax) 356Protected Overrides Function GetUsingAliases(node As NamespaceBlockSyntax) As SyntaxList(Of ImportsStatementSyntax)
OrganizeImports\VisualBasicOrganizeImportsService.Rewriter.vb (4)
59Private Sub AddTextChange(Of TSyntax As SyntaxNode)(list As SyntaxList(Of TSyntax), 60organizedList As SyntaxList(Of TSyntax)) 66Private Shared Function GetNewText(Of TSyntax As SyntaxNode)(organizedList As SyntaxList(Of TSyntax)) As String 74Private Shared Function GetTextSpan(Of TSyntax As SyntaxNode)(list As SyntaxList(Of TSyntax)) As TextSpan
Rename\LocalConflictVisitor.vb (1)
80Private Sub VisitBlock(block As SyntaxList(Of StatementSyntax))
SemanticModelReuse\VisualBasicSemanticModelReuseLanguageService.vb (1)
35Protected Overrides Function GetAccessors(member As DeclarationStatementSyntax) As SyntaxList(Of AccessorBlockSyntax)
Simplification\Reducers\AbstractVisualBasicReducer.AbstractReductionRewriter.vb (5)
188Return VisitMethodBlockBase(node, Function(statements As SyntaxList(Of StatementSyntax)) node.WithStatements(statements)) 192Return VisitMethodBlockBase(node, Function(statements As SyntaxList(Of StatementSyntax)) node.WithStatements(statements)) 196Return VisitMethodBlockBase(node, Function(statements As SyntaxList(Of StatementSyntax)) node.WithStatements(statements)) 200Return VisitMethodBlockBase(node, Function(statements As SyntaxList(Of StatementSyntax)) node.WithStatements(statements)) 203Private Function VisitMethodBlockBase(node As MethodBlockBaseSyntax, updateFunc As Func(Of SyntaxList(Of StatementSyntax), MethodBlockBaseSyntax)) As MethodBlockBaseSyntax
Simplification\VisualBasicSimplificationService.NodesAndTokensToReduceComputer.vb (1)
148Private Function VisitMethodBlockBaseSyntax(node As MethodBlockBaseSyntax, updateFunc As Func(Of MethodBlockBaseSyntax, MethodBaseSyntax, SyntaxList(Of StatementSyntax), EndBlockStatementSyntax, MethodBlockBaseSyntax)) As MethodBlockBaseSyntax
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\StatementSyntaxExtensions.vb (2)
14Public Function GetAttributes(member As StatementSyntax) As SyntaxList(Of AttributeListSyntax) 74Public Function WithAttributeLists(member As StatementSyntax, attributeLists As SyntaxList(Of AttributeListSyntax)) As StatementSyntax
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (11)
113Public Function GetStatements(node As SyntaxNode) As SyntaxList(Of StatementSyntax) 531Public Function GetExecutableBlockStatements(node As SyntaxNode) As SyntaxList(Of StatementSyntax) 580statements As SyntaxList(Of StatementSyntax), 610statements As SyntaxList(Of StatementSyntax), 639statements As SyntaxList(Of StatementSyntax), 667newStatements As SyntaxList(Of StatementSyntax), 672Dim ifStatements As SyntaxList(Of StatementSyntax) 673Dim elseStatements As SyntaxList(Of StatementSyntax) 715statements As SyntaxList(Of StatementSyntax), 890Public Function GetMembers(node As SyntaxNode) As SyntaxList(Of StatementSyntax) 1148Public Function GetAttributeLists(node As SyntaxNode) As SyntaxList(Of AttributeListSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SelectedMembers\VisualBasicSelectedMembers.vb (1)
23Protected Overrides Function GetMembers(containingType As TypeBlockSyntax) As SyntaxList(Of StatementSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicDocumentationCommentService.vb (1)
36Protected Overrides Function GetAttributes(xmlEmpty As XmlEmptyElementSyntax) As SyntaxList(Of XmlNodeSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (12)
891Private Shared Function GetSyntaxListSpan(Of T As SyntaxNode)(list As SyntaxList(Of T)) As TextSpan 919Public Function GetMembersOfTypeDeclaration(typeDeclaration As SyntaxNode) As SyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetMembersOfTypeDeclaration 1145Private Shared Sub AppendConstructors(members As SyntaxList(Of StatementSyntax), constructors As List(Of SyntaxNode), cancellationToken As CancellationToken) 1240Public Function GetContentsOfInterpolatedString(interpolatedString As SyntaxNode) As SyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetContentsOfInterpolatedString 1587Public Function GetAttributeLists(node As SyntaxNode) As SyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetAttributeLists 1643Public Function GetContentFromDocumentationCommentTriviaSyntax(trivia As SyntaxTrivia) As SyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetContentFromDocumentationCommentTriviaSyntax 1846Public Sub GetPartsOfCompilationUnit(node As SyntaxNode, ByRef [imports] As SyntaxList(Of SyntaxNode), ByRef attributeLists As SyntaxList(Of SyntaxNode), ByRef members As SyntaxList(Of SyntaxNode)) Implements ISyntaxFacts.GetPartsOfCompilationUnit 1871Public Sub GetPartsOfInterpolationExpression(node As SyntaxNode, ByRef stringStartToken As SyntaxToken, ByRef contents As SyntaxList(Of SyntaxNode), ByRef stringEndToken As SyntaxToken) Implements ISyntaxFacts.GetPartsOfInterpolationExpression 1897Public Sub GetPartsOfBaseNamespaceDeclaration(node As SyntaxNode, ByRef name As SyntaxNode, ByRef [imports] As SyntaxList(Of SyntaxNode), ByRef members As SyntaxList(Of SyntaxNode)) Implements ISyntaxFacts.GetPartsOfBaseNamespaceDeclaration
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\ImportsOrganizer.vb (4)
12Public Shared Function Organize([imports] As SyntaxList(Of ImportsStatementSyntax), 15newLineTrivia As SyntaxTrivia) As SyntaxList(Of ImportsStatementSyntax) 72Public Shared Function OrganizeWorker([imports] As SyntaxList(Of ImportsStatementSyntax), 74newLineTrivia As SyntaxTrivia) As SyntaxList(Of ImportsStatementSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\AttributeGenerator.vb (1)
15Public Function GenerateAttributeBlocks(attributes As ImmutableArray(Of AttributeData), options As CodeGenerationContextInfo, Optional target As SyntaxToken? = Nothing) As SyntaxList(Of AttributeListSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ConstructorGenerator.vb (2)
13Private Function LastConstructorOrField(Of TDeclaration As SyntaxNode)(members As SyntaxList(Of TDeclaration)) As TDeclaration 58Private Function GenerateStatements(constructor As IMethodSymbol) As SyntaxList(Of StatementSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\EventGenerator.vb (2)
15members As SyntaxList(Of StatementSyntax), 35members As SyntaxList(Of StatementSyntax),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\FieldGenerator.vb (1)
16members As SyntaxList(Of TDeclaration),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\NamedTypeGenerator.vb (3)
160Private Function GenerateAttributes(namedType As INamedTypeSymbol, options As CodeGenerationContextInfo) As SyntaxList(Of AttributeListSyntax) 204Private Function GenerateInheritsStatements(namedType As INamedTypeSymbol) As SyntaxList(Of InheritsStatementSyntax) 215Private Function GenerateImplementsStatements(namedType As INamedTypeSymbol) As SyntaxList(Of ImplementsStatementSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\NamespaceGenerator.vb (1)
97Private Function GenerateImportsStatements([namespace] As INamespaceSymbol) As SyntaxList(Of ImportsStatementSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\PropertyGenerator.vb (3)
15members As SyntaxList(Of TDeclaration)) As TDeclaration 110options As CodeGenerationContextInfo) As SyntaxList(Of AccessorBlockSyntax) 147Private Function GenerateAccessorStatements(accessor As IMethodSymbol) As SyntaxList(Of StatementSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\StatementGenerator.vb (2)
11Friend Function GenerateStatements(statements As IEnumerable(Of SyntaxNode)) As SyntaxList(Of StatementSyntax) 15Friend Function GenerateStatements(method As IMethodSymbol) As SyntaxList(Of StatementSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationHelpers.vb (16)
56Public Function InsertAtIndex(members As SyntaxList(Of StatementSyntax), 58index As Integer) As SyntaxList(Of StatementSyntax) 91Public Function FirstMember(Of TDeclaration As SyntaxNode)(members As SyntaxList(Of TDeclaration)) As TDeclaration 95Public Function FirstMethod(Of TDeclaration As SyntaxNode)(members As SyntaxList(Of TDeclaration)) As TDeclaration 99Public Function LastField(Of TDeclaration As SyntaxNode)(members As SyntaxList(Of TDeclaration)) As TDeclaration 103Public Function LastConstructor(Of TDeclaration As SyntaxNode)(members As SyntaxList(Of TDeclaration)) As TDeclaration 107Public Function LastMethod(Of TDeclaration As SyntaxNode)(members As SyntaxList(Of TDeclaration)) As TDeclaration 111Public Function LastOperator(Of TDeclaration As SyntaxNode)(members As SyntaxList(Of TDeclaration)) As TDeclaration 116[next] As Func(Of SyntaxList(Of TDeclaration), TDeclaration)) As Func(Of SyntaxList(Of TDeclaration), TDeclaration) 122[next] As Func(Of SyntaxList(Of TDeclaration), TDeclaration)) As Func(Of SyntaxList(Of TDeclaration), TDeclaration) 128declarationList As SyntaxList(Of TDeclaration), 132Optional after As Func(Of SyntaxList(Of TDeclaration), TDeclaration) = Nothing, 133Optional before As Func(Of SyntaxList(Of TDeclaration), TDeclaration) = Nothing) As SyntaxList(Of TDeclaration)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (4)
409Private Shared Function RemoveAttributeFromAttributeLists(attributeLists As SyntaxList(Of AttributeListSyntax), attributeToRemove As SyntaxNode, 410<Out> ByRef attributeRemoved As Boolean, <Out> ByRef positionOfRemovedNode As Integer, <Out> ByRef triviaOfRemovedNode As SyntaxTriviaList) As SyntaxList(Of AttributeListSyntax) 438Private Shared Function RemoveAttributeFromAttributeStatements(attributeStatements As SyntaxList(Of AttributesStatementSyntax), attributeToRemove As SyntaxNode, 439<Out> ByRef attributeRemoved As Boolean, <Out> ByRef positionOfRemovedNode As Integer, <Out> ByRef triviaOfRemovedNode As SyntaxTriviaList) As SyntaxList(Of AttributesStatementSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\SyntaxListExtensions.vb (5)
10Public Function RemoveRange(Of T As SyntaxNode)(syntaxList As SyntaxList(Of T), index As Integer, count As Integer) As SyntaxList(Of T) 17Public Function ToSyntaxList(Of T As SyntaxNode)(sequence As IEnumerable(Of T)) As SyntaxList(Of T) 22Public Function Insert(Of T As SyntaxNode)(syntaxList As SyntaxList(Of T), index As Integer, item As T) As SyntaxList(Of T)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeBlockSyntaxExtensions.vb (4)
48Private Function EnsureProperList(Of TSyntax As SyntaxNode)(list As SyntaxList(Of TSyntax)) As SyntaxList(Of TSyntax) 61Private Function EnsureProperInherits(destinationType As TypeBlockSyntax) As SyntaxList(Of InheritsStatementSyntax) 71Private Function EnsureProperImplements(destinationType As TypeBlockSyntax) As SyntaxList(Of ImplementsStatementSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicAddImportsService.vb (2)
79Protected Overrides Function GetExterns(node As SyntaxNode) As SyntaxList(Of ImportsStatementSyntax) 83Protected Overrides Function GetUsingsAndAliases(node As SyntaxNode) As SyntaxList(Of ImportsStatementSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxGeneratorInternal.vb (1)
283Friend Shared Function GetStatementList(nodes As IEnumerable(Of SyntaxNode)) As SyntaxList(Of StatementSyntax)
Microsoft.CodeAnalysis.Workspaces (42)
Editing\SyntaxGenerator.cs (2)
1551protected static SyntaxList<TNode> RemoveRange<TNode>(SyntaxList<TNode> list, int offset, int count)
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (1)
252var attributeLists = syntaxFacts.GetAttributeLists(node);
LanguageServices\DeclaredSymbolFactoryService\AbstractDeclaredSymbolInfoFactoryService.cs (5)
51protected abstract SyntaxList<TMemberDeclarationSyntax> GetChildren(TCompilationUnitSyntax node); 52protected abstract SyntaxList<TMemberDeclarationSyntax> GetChildren(TNamespaceDeclarationSyntax node); 53protected abstract SyntaxList<TMemberDeclarationSyntax> GetChildren(TTypeDeclarationSyntax node); 56protected abstract SyntaxList<TUsingDirectiveSyntax> GetUsingAliases(TCompilationUnitSyntax node); 57protected abstract SyntaxList<TUsingDirectiveSyntax> GetUsingAliases(TNamespaceDeclarationSyntax node);
SemanticModelReuse\AbstractSemanticModelReuseLanguageService.cs (3)
30protected abstract SyntaxList<TAccessorDeclarationSyntax> GetAccessors(TBasePropertyDeclarationSyntax baseProperty); 96var currentAccessors = GetAccessors(currentContainer); 97var previousAccessors = GetAccessors(previousMember);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\HeaderFacts\AbstractHeaderFacts.cs (1)
91var attributeList = SyntaxFacts.GetAttributeLists(node);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SelectedMembers\AbstractSelectedMembers.cs (2)
31protected abstract SyntaxList<TMemberDeclarationSyntax> GetMembers(TTypeDeclarationSyntax containingType); 83var members = GetMembers(containingType);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\AbstractDocumentationCommentService.cs (1)
157protected abstract SyntaxList<TXmlAttributeSyntax> GetAttributes(TXmlEmptyElementSyntax xmlEmpty);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFacts.cs (10)
313SyntaxList<SyntaxNode> GetContentsOfInterpolatedString(SyntaxNode interpolatedString); 322SyntaxList<SyntaxNode> GetAttributeLists(SyntaxNode? node); 410SyntaxList<SyntaxNode> GetMembersOfTypeDeclaration(SyntaxNode typeDeclaration); 484SyntaxList<SyntaxNode> GetContentFromDocumentationCommentTriviaSyntax(SyntaxTrivia trivia); 513void GetPartsOfBaseNamespaceDeclaration(SyntaxNode node, out SyntaxNode name, out SyntaxList<SyntaxNode> imports, out SyntaxList<SyntaxNode> members); 517void GetPartsOfCompilationUnit(SyntaxNode node, out SyntaxList<SyntaxNode> imports, out SyntaxList<SyntaxNode> attributeLists, out SyntaxList<SyntaxNode> members); 521void GetPartsOfInterpolationExpression(SyntaxNode node, out SyntaxToken stringStartToken, out SyntaxList<SyntaxNode> contents, out SyntaxToken stringEndToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (9)
452var attributeList = syntaxFacts.GetAttributeLists(node); 534public static SyntaxList<SyntaxNode> GetImportsOfBaseNamespaceDeclaration(this ISyntaxFacts syntaxFacts, SyntaxNode node) 536syntaxFacts.GetPartsOfBaseNamespaceDeclaration(node, out _, out var imports, out _); 540public static SyntaxList<SyntaxNode> GetImportsOfCompilationUnit(this ISyntaxFacts syntaxFacts, SyntaxNode node) 542syntaxFacts.GetPartsOfCompilationUnit(node, out var imports, out _, out _); 552public static SyntaxList<SyntaxNode> GetMembersOfBaseNamespaceDeclaration(this ISyntaxFacts syntaxFacts, SyntaxNode node) 554syntaxFacts.GetPartsOfBaseNamespaceDeclaration(node, out _, out _, out var members); 558public static SyntaxList<SyntaxNode> GetMembersOfCompilationUnit(this ISyntaxFacts syntaxFacts, SyntaxNode node) 560syntaxFacts.GetPartsOfCompilationUnit(node, out _, out _, out var members);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (5)
189SyntaxList<TDeclaration> declarationList, 195Func<SyntaxList<TDeclaration>, TDeclaration?>? after = null, 196Func<SyntaxList<TDeclaration>, TDeclaration?>? before = null) 297SyntaxList<TDeclarationSyntax> declarationList, 322SyntaxList<TDeclarationSyntax> declarationList,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\AddImports\AbstractAddImportsService.cs (2)
32protected abstract SyntaxList<TUsingOrAliasSyntax> GetUsingsAndAliases(SyntaxNode node); 33protected abstract SyntaxList<TExternSyntax> GetExterns(SyntaxNode node);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\AddImports\AddImportHelpers.cs (1)
18SyntaxList<TImportDirectiveSyntax> existingImports,
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
CodeCleanup\Extensions.cs (2)
37var newMembers = CSharp.SyntaxFactory.List(node.RemoveMember<CSharp.Syntax.MemberDeclarationSyntax>(index)); 45var newMembers = CSharp.SyntaxFactory.List(node.AddMember<CSharp.Syntax.MemberDeclarationSyntax>(member, index));
Microsoft.Interop.ComInterfaceGenerator (1)
UnmanagedToManagedStubGenerator.cs (1)
83SyntaxList<CatchClauseSyntax> catchClauses = List(statements.ManagedExceptionCatchClauses);
Microsoft.VisualStudio.LanguageServices.CSharp (27)
CodeModel\CSharpCodeModelService.cs (23)
290private static IEnumerable<SyntaxNode> GetAttributeNodes(SyntaxList<AttributeListSyntax> attributeDeclarationList) 3220var newMembers = compilationUnit.Members.Insert(index, (MemberDeclarationSyntax)member); 3225var newMembers = namespaceDeclaration.Members.Insert(index, (MemberDeclarationSyntax)member); 3230var newMembers = typeDeclaration.Members.Insert(index, (MemberDeclarationSyntax)member); 3361var newAttributeLists = compilationUnit.AttributeLists.Insert(index, (AttributeListSyntax)list); 3366var newAttributeLists = enumDeclaration.AttributeLists.Insert(index, (AttributeListSyntax)list); 3371var newAttributeLists = classDeclaration.AttributeLists.Insert(index, (AttributeListSyntax)list); 3376var newAttributeLists = structDeclaration.AttributeLists.Insert(index, (AttributeListSyntax)list); 3381var newAttributeLists = interfaceDeclaration.AttributeLists.Insert(index, (AttributeListSyntax)list); 3386var newAttributeLists = method.AttributeLists.Insert(index, (AttributeListSyntax)list); 3391var newAttributeLists = operationDeclaration.AttributeLists.Insert(index, (AttributeListSyntax)list); 3396var newAttributeLists = conversion.AttributeLists.Insert(index, (AttributeListSyntax)list); 3401var newAttributeLists = constructor.AttributeLists.Insert(index, (AttributeListSyntax)list); 3406var newAttributeLists = destructor.AttributeLists.Insert(index, (AttributeListSyntax)list); 3411var newAttributeLists = property.AttributeLists.Insert(index, (AttributeListSyntax)list); 3416var newAttributeLists = eventDeclaration.AttributeLists.Insert(index, (AttributeListSyntax)list); 3421var newAttributeLists = indexer.AttributeLists.Insert(index, (AttributeListSyntax)list); 3426var newAttributeLists = field.AttributeLists.Insert(index, (AttributeListSyntax)list); 3431var newAttributeLists = eventFieldDeclaration.AttributeLists.Insert(index, (AttributeListSyntax)list); 3436var newAttributeLists = delegateDeclaration.AttributeLists.Insert(index, (AttributeListSyntax)list); 3441var newAttributeLists = member.AttributeLists.Insert(index, (AttributeListSyntax)list); 3446var newAttributeLists = parameter.AttributeLists.Insert(index, (AttributeListSyntax)list); 3463var usingsList = compilationUnit.Usings.Insert(index, import);
CodeModel\CSharpCodeModelService.NodeNameGenerator.cs (1)
78var specifiers = arrayType.RankSpecifiers;
CodeModel\SyntaxListExtensions.cs (1)
14public static IReadOnlyList<TNode> AsReadOnlyList<TNode>(this SyntaxList<TNode> list)
CodeModel\SyntaxNodeExtensions.cs (2)
14public static bool TryGetAttributeLists(this SyntaxNode node, out SyntaxList<AttributeListSyntax> attributeLists) 63if (node.TryGetAttributeLists(out var attributeLists) && attributeLists.Count > 0)
Microsoft.VisualStudio.LanguageServices.VisualBasic (12)
CodeModel\MethodXML\MethodXmlBuilder.vb (1)
24Private Sub GenerateStatementBlock(statementList As SyntaxList(Of StatementSyntax))
CodeModel\SyntaxListExtensions.vb (1)
15Public Function AsReadOnlyList(Of TNode As SyntaxNode)(list As SyntaxList(Of TNode)) As IReadOnlyList(Of TNode)
CodeModel\VisualBasicCodeModelService.CodeModelEventCollector.vb (3)
70Private Shared Function GetImportsClauses(importsStatements As SyntaxList(Of ImportsStatementSyntax)) As IReadOnlyList(Of ImportsClauseSyntax) 77Private Shared Function GetAttributes(attributesStatements As SyntaxList(Of AttributesStatementSyntax)) As IReadOnlyList(Of AttributeSyntax) 84Private Shared Function GetAttributes(attributeLists As SyntaxList(Of AttributeListSyntax)) As IReadOnlyList(Of AttributeSyntax)
CodeModel\VisualBasicCodeModelService.NodeLocator.vb (2)
218Private Shared Function GetAttributesStartPoint(text As SourceText, attributes As SyntaxList(Of AttributeListSyntax), part As EnvDTE.vsCMPart) As VirtualTreePoint? 252Private Shared Function GetAttributesEndPoint(text As SourceText, attributes As SyntaxList(Of AttributeListSyntax), part As EnvDTE.vsCMPart) As VirtualTreePoint?
CodeModel\VisualBasicCodeModelService.vb (5)
346Private Overloads Shared Function GetAttributeNodes(attributesBlockList As SyntaxList(Of AttributeListSyntax)) As IEnumerable(Of SyntaxNode) 358Private Overloads Shared Function GetAttributeNodes(attributesStatementList As SyntaxList(Of AttributesStatementSyntax)) As IEnumerable(Of SyntaxNode) 1130Private Shared Function GetAccessors(node As SyntaxNode) As SyntaxList(Of AccessorBlockSyntax) 3796Private Shared Function InsertAttributeListInto(attributes As SyntaxList(Of AttributesStatementSyntax), index As Integer, attribute As AttributesStatementSyntax) As SyntaxList(Of AttributesStatementSyntax)