9 references to GetInstance
Roslyn.Diagnostics.Analyzers (9)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
204using var applicableAttributeNodes = PooledHashSet<SyntaxNode>.GetInstance();
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ImmutableHashSetExtensions.cs (2)
14using var builder = PooledHashSet<T>.GetInstance(); 54using var builder = PooledHashSet<T>.GetInstance();
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (2)
510var builder = PooledHashSet<ISymbol>.GetInstance(); 511using var nestedLambdasAndLocalFunctions = PooledHashSet<IMethodSymbol>.GetInstance();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\ArrayBuilder.cs (2)
501using var set = PooledHashSet<T>.GetInstance(); 519using var set = PooledHashSet<S>.GetInstance();
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledHashSet.cs (1)
86var instance = GetInstance(comparer);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\TemporarySet`1.cs (1)
40var newStorage = PooledHashSet<T>.GetInstance();