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