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