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