18 references to GetInstance
Microsoft.CodeAnalysis.CodeStyle (18)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (3)
160using var _4 = PooledHashSet<string>.GetInstance(out var compilerDiagnosticIds); 179using var _8 = PooledHashSet<string>.GetInstance(out var idsToAnalyzeBuilder); 751using var _ = PooledHashSet<ISymbol>.GetInstance(out var processedPartialSymbols);
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
484using var _1 = PooledHashSet<ISymbol>.GetInstance(out var symbolsReferencedInDocComments);
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (1)
470using var _ = PooledHashSet<SymbolUsageResult>.GetInstance(out var symbolUsageResultsBuilder);
src\Analyzers\Core\Analyzers\UseAutoProperty\AbstractUseAutoPropertyAnalyzer.cs (4)
275using var _ = PooledHashSet<IFieldSymbol>.GetInstance(out var set); 291using var _ = PooledHashSet<IFieldSymbol>.GetInstance(out var set); 544using var _1 = PooledHashSet<IFieldSymbol>.GetInstance(out var reportedFields); 545using var _2 = PooledHashSet<IPropertySymbol>.GetInstance(out var reportedProperties);
src\Analyzers\Core\Analyzers\UseConditionalExpression\ForAssignment\UseConditionalExpressionForAssignmentHelpers.cs (1)
97using var _1 = PooledHashSet<ILocalSymbol>.GetInstance(out var symbolsDeclaredInConditional);
src\Analyzers\Core\Analyzers\UseObjectInitializer\UseNamedMemberInitializerAnalyzer.cs (1)
74using var _1 = PooledHashSet<string>.GetInstance(out var seenNames);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
452using var _ = PooledHashSet<string>.GetInstance(out var seenNames);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (2)
183using var _ = PooledHashSet<SyntaxNode>.GetInstance(out var set); 215using var _2 = PooledHashSet<SyntaxNode>.GetInstance(out var commonAncestorsSet);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (1)
189using var _ = PooledHashSet<ILocalSymbol>.GetInstance(out var builder);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\PooledBuilderExtensions.cs (1)
112using var _ = PooledHashSet<U>.GetInstance(out var set);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\PublicContract.cs (2)
94using var _ = PooledHashSet<T>.GetInstance(out var set); 124using var _ = PooledHashSet<T>.GetInstance(out var set);