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