9 references to GetAllTrivia
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (9)
Syntax\SyntaxAnnotationTests.cs (9)
100var toTrivia = GetAllTrivia(tree.GetCompilationUnitRoot()).FirstOrDefault(); 110var fromTrivia = GetAllTrivia(tree.GetCompilationUnitRoot()).FirstOrDefault(); 119var fromTrivia = GetAllTrivia(tree.GetCompilationUnitRoot()).FirstOrDefault(); 120var toTrivia = GetAllTrivia(tree.GetCompilationUnitRoot()).FirstOrDefault(); 225var trivia = GetAllTrivia(tree.GetCompilationUnitRoot()).First(); 367var actualTrivia = GetAllTrivia(oldRoot).OrderBy(t => t.SpanStart); 453var sourceTreeTriviaEnumerator = GetAllTrivia(sourceTreeRoot).GetEnumerator(); 454var destTreeTriviaEnumerator = GetAllTrivia(destTreeRoot).GetEnumerator(); 566foreach (var trivia in GetAllTrivia(syntaxTree.GetCompilationUnitRoot()))