1 write to _hashSetPool
Microsoft.CodeAnalysis (1)
SourceGeneration\Nodes\InputNode.cs (1)
45
_hashSetPool
= hashSetPool;
4 references to _hashSetPool
Microsoft.CodeAnalysis (4)
SourceGeneration\Nodes\InputNode.cs (4)
139
var set =
_hashSetPool
?.Allocate() ?? PooledHashSet<T>.GetInstance();
171
public IIncrementalGeneratorNode<T> WithComparer(IEqualityComparer<T> comparer) => new InputNode<T>(_getInput, _registerOutput,
_hashSetPool
, comparer, _name);
173
public IIncrementalGeneratorNode<T> WithTrackingName(string name) => new InputNode<T>(_getInput, _registerOutput,
_hashSetPool
, _comparer, name);
175
public InputNode<T> WithRegisterOutput(Action<IIncrementalGeneratorOutputNode> registerOutput) => new InputNode<T>(_getInput, registerOutput,
_hashSetPool
, _comparer, _name);