13 references to GetInstance
Microsoft.CodeAnalysis.Analyzers (13)
MetaAnalyzers\DiagnosticAnalyzerAPIUsageAnalyzer.cs (1)
192var builder = PooledHashSet<INamedTypeSymbol>.GetInstance();
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer_ReleaseTracking.cs (1)
180using var reportedInvalidLines = PooledHashSet<TextLine>.GetInstance();
MetaAnalyzers\Fixers\DefineDiagnosticDescriptorArgumentsCorrectlyFix.CustomFixAllProvider.cs (1)
132using var seenInputSpansToFix = PooledHashSet<TextSpan>.GetInstance();
MetaAnalyzers\ReleaseTrackingHelper.cs (1)
54using var versionsBuilder = PooledHashSet<Version>.GetInstance();
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();