6 references to ReplaceTrivia
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Syntax\SyntaxNodeTests.cs (2)
2426var ex2 = ex.ReplaceTrivia(comment1, new[] { newComment1, newComment2 }); 2429var ex3 = ex.ReplaceTrivia(comment1, new SyntaxTrivia[] { });
Syntax\SyntaxRewriterTests.cs (2)
475var newRoot = root.ReplaceTrivia(comment1, new[] { newComment1, newComment2 }); 481var newRoot2 = root.ReplaceTrivia(comment1, new SyntaxTrivia[] { });
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
TestSyntaxNodes.vb (2)
1603Dim ex2 = ex.ReplaceTrivia(comment1, {newComment1, newComment2}) 1606Dim ex3 = ex.ReplaceTrivia(comment1, New SyntaxTrivia() {})