6 references to ReplaceTrivia
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Syntax\SyntaxNodeTests.cs (2)
2426
var ex2 = ex.
ReplaceTrivia
(comment1, new[] { newComment1, newComment2 });
2429
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() {})