4 references to WithSubDeclarationsRemoved
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
CodeGeneration\CSharpSyntaxGenerator.cs (4)
2825
newNodes.Add(this.
WithSubDeclarationsRemoved
(multiPartDeclaration, index, count - index).WithTrailingTrivia(SyntaxFactory.ElasticSpace));
2833
newNodes.Add(this.
WithSubDeclarationsRemoved
(multiPartDeclaration, 0, index + 1).WithLeadingTrivia(SyntaxFactory.ElasticSpace));
2928
this.
WithSubDeclarationsRemoved
(multiPartDeclaration, index, count - index).WithTrailingTrivia(SyntaxFactory.ElasticSpace)
2931
newNodes.Add(this.
WithSubDeclarationsRemoved
(multiPartDeclaration, 0, index).WithLeadingTrivia(SyntaxFactory.ElasticSpace));