1 write to _tokenSet
Microsoft.CodeAnalysis.CSharp (1)
Syntax\SyntaxReplacer.cs (1)
92
_tokenSet
= tokens != null ? new HashSet<SyntaxToken>(tokens) : s_noTokens;
4 references to _tokenSet
Microsoft.CodeAnalysis.CSharp (4)
Syntax\SyntaxReplacer.cs (4)
116
return _nodeSet.Count +
_tokenSet
.Count + _triviaSet.Count > 0;
128
foreach (var token in
_tokenSet
)
161
_tokenSet
.Any(static t => t.IsPartOfStructuredTrivia()) ||
226
bool isReplacedToken =
_tokenSet
.Remove(token);