1 write to _triviaSet
Microsoft.CodeAnalysis.CSharp (1)
Syntax\SyntaxReplacer.cs (1)
95
_triviaSet
= trivia != null ? new HashSet<SyntaxTrivia>(trivia) : s_noTrivia;
5 references to _triviaSet
Microsoft.CodeAnalysis.CSharp (5)
Syntax\SyntaxReplacer.cs (5)
100
_triviaSet
.Select(t => t.FullSpan))));
107
_triviaSet
.Any(t => t.IsPartOfStructuredTrivia());
109
_shouldVisitTrivia =
_triviaSet
.Count > 0 || _visitIntoStructuredTrivia;
128
return _nodeSet.Count + _tokenSet.Count +
_triviaSet
.Count > 0;
226
if (
_triviaSet
.Contains(trivia) && _computeReplacementTrivia != null)