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