1 write to _nodeSet
Microsoft.CodeAnalysis.CSharp (1)
Syntax\SyntaxReplacer.cs (1)
91
_nodeSet
= nodes != null ? new HashSet<SyntaxNode>(nodes) : s_noNodes;
4 references to _nodeSet
Microsoft.CodeAnalysis.CSharp (4)
Syntax\SyntaxReplacer.cs (4)
116
return
_nodeSet
.Count + _tokenSet.Count + _triviaSet.Count > 0;
123
foreach (var node in
_nodeSet
)
160
_nodeSet
.Any(static n => n.IsPartOfStructuredTrivia()) ||
197
bool isReplacedNode =
_nodeSet
.Remove(node);