3 references to ReplaceTrivia
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Syntax\SyntaxNodeTests.cs (2)
2386var expr2 = expr.ReplaceTrivia(deepTrivia, (tr, tr2) => twoSpace); 2407var replaced = expr.ReplaceTrivia(trivia, (tr, tr2) => twoSpaces);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
Formatting\FormattingTriviaTests.cs (1)
1745tree = tree.ReplaceTrivia(tree.DescendantTrivia().Where(tr => tr.IsKind(SyntaxKind.EndOfLineTrivia)), (o, r) => SyntaxFactory.ElasticMarker);