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)
116return _nodeSet.Count + _tokenSet.Count + _triviaSet.Count > 0; 128foreach (var token in _tokenSet) 161_tokenSet.Any(static t => t.IsPartOfStructuredTrivia()) || 226bool isReplacedToken = _tokenSet.Remove(token);