1 write to _residualTrivia
Microsoft.CodeAnalysis.CSharp (1)
Syntax\SyntaxNodeRemover.cs (1)
64_residualTrivia = SyntaxTriviaListBuilder.Create();
14 references to _residualTrivia
Microsoft.CodeAnalysis.CSharp (14)
Syntax\SyntaxNodeRemover.cs (14)
87if (_residualTrivia != null) 89return _residualTrivia.ToList(); 105_residualTrivia.Add(trivia); 115if (_residualTrivia.Count == 0 || !IsEndOfLine(_residualTrivia[_residualTrivia.Count - 1])) 117_residualTrivia.Add(eolTrivia.Value); 161return node.FullSpan.IntersectsWith(_searchSpan) || (_residualTrivia != null && _residualTrivia.Count > 0); 196if (result.Kind() != SyntaxKind.None && _residualTrivia != null && _residualTrivia.Count > 0) 198_residualTrivia.Add(result.LeadingTrivia); 199result = result.WithLeadingTrivia(_residualTrivia.ToList()); 200_residualTrivia.Clear();