11 references to GetInstance
Microsoft.CodeAnalysis.CodeStyle (11)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
88
_dictionary ??= PooledDictionary<K, ValueSet>.
GetInstance
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (1)
34
var continueDispatchAfterFinally = PooledDictionary<ControlFlowRegion, bool>.
GetInstance
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.AnalysisData.cs (1)
146
var symbolsWriteMap = PooledDictionary<(ISymbol Symbol, IOperation Write), bool>.
GetInstance
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (6)
99
_lValueFlowCapturesMap = PooledDictionary<CaptureId, PooledHashSet<(ISymbol, IOperation)>>.
GetInstance
();
103
_symbolWritesInsideBlockRangeMap = PooledDictionary<(int firstBlockOrdinal, int lastBlockOrdinal), PooledHashSet<(ISymbol, IOperation)>>.
GetInstance
();
134
reachingDelegateCreationTargets: PooledDictionary<IOperation, PooledHashSet<IOperation>>.
GetInstance
(),
135
localFunctionTargetsToAccessingCfgMap: PooledDictionary<IMethodSymbol, ControlFlowGraph>.
GetInstance
(),
136
lambdaTargetsToAccessingCfgMap: PooledDictionary<IFlowAnonymousFunctionOperation, ControlFlowGraph>.
GetInstance
());
167
var builder = PooledDictionary<BasicBlock, BasicBlockAnalysisData>.
GetInstance
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
59
_pendingWritesMap = PooledDictionary<IAssignmentOperation, PooledHashSet<(ISymbol, IOperation)>>.
GetInstance
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\PooledDictionary.cs (1)
11
instance =
GetInstance
();