12 references to CopyAnnotationsTo
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\CSharpTriviaFormatter.cs (1)
231
result = trivia.
CopyAnnotationsTo
(firstTrivia);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Syntax\SyntaxAnnotationTests.cs (5)
101
var annotatedTrivia = fromTrivia.
CopyAnnotationsTo
(toTrivia);
111
var annotatedTrivia = fromTrivia.
CopyAnnotationsTo
(toTrivia);
121
var annotatedTrivia = fromTrivia.
CopyAnnotationsTo
(toTrivia);
460
var newTrivia = sourceTreeTriviaEnumerator.Current.
CopyAnnotationsTo
(oldTrivia);
855
return _triviaMap[trivia].
CopyAnnotationsTo
(base.VisitTrivia(trivia));
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\CSharpTriviaFormatter.cs (1)
231
result = trivia.
CopyAnnotationsTo
(firstTrivia);
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (5)
Syntax\SyntaxAnnotationTests.vb (5)
91
Dim annotatedTrivia = fromTrivia.
CopyAnnotationsTo
(toTrivia)
100
Dim annotatedTrivia = fromTrivia.
CopyAnnotationsTo
(toTrivia)
109
Dim annotatedTrivia = fromTrivia.
CopyAnnotationsTo
(toTrivia)
423
Dim newTrivia = sourceTreeTriviaEnumerator.Current.
CopyAnnotationsTo
(oldTrivia)
782
Return Me._triviaMap(trivia).
CopyAnnotationsTo
(MyBase.VisitTrivia(trivia))