2 references to WithAppendedTrailingTrivia
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
731
return node.
WithAppendedTrailingTrivia
((IEnumerable<SyntaxTrivia>)trivia);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeOrTokenExtensions.cs (1)
60
=> nodeOrToken.AsNode(out var node) ? node.
WithAppendedTrailingTrivia
(trivia) : nodeOrToken.AsToken().WithAppendedTrailingTrivia(trivia);