20 references to GetInstance
Microsoft.CodeAnalysis.Workspaces (20)
Classification\IRemoteSemanticClassificationService.cs (1)
74using var _1 = PooledDictionary<string, int>.GetInstance(out var classificationTypeToId);
FindSymbols\FindReferences\DependentProjectsFinder.cs (1)
197using var _1 = PooledDictionary<ProjectId, List<ProjectId>>.GetInstance(out var projectIdsToReferencingSubmissionIds);
FindSymbols\FindReferences\FindReferencesSearchEngine.cs (2)
219using var _1 = PooledDictionary<ISymbol, PooledHashSet<string>>.GetInstance(out var symbolToGlobalAliases); 220using var _2 = PooledDictionary<Document, Dictionary<ISymbol, SymbolGroup>>.GetInstance(out var documentToSymbolsWithin);
FindSymbols\FindReferences\FindReferencesSearchEngine_FindReferencesInDocuments.cs (1)
77using var _ = PooledDictionary<ISymbol, PooledHashSet<string>>.GetInstance(out var symbolToGlobalAliases);
FindSymbols\SymbolFinder.FindReferencesServerCallback.cs (1)
46using var _ = PooledDictionary<SerializableSymbolAndProjectId, ISymbol>.GetInstance(out var map);
FindSymbols\SymbolFinder_Helpers.cs (1)
103using var _ = PooledDictionary<INamedTypeSymbol, INamedTypeSymbol>.GetInstance(out var equivalentTypesWithDifferingAssemblies);
FindSymbols\TopLevelSyntaxTree\TopLevelSyntaxTreeIndex_Create.cs (1)
21using var _2 = PooledDictionary<string, ArrayBuilder<int>>.GetInstance(out var extensionMethodInfo);
LanguageServices\DeclaredSymbolFactoryService\AbstractDeclaredSymbolInfoFactoryService.cs (1)
162using var _1 = PooledDictionary<string, string?>.GetInstance(out var aliases);
LinkedFileDiffMerging\LinkedFileDiffMergingSession.cs (1)
23using var _1 = PooledDictionary<string, DocumentAndHashBuilder>.GetInstance(out var filePathToNewDocumentsAndHashes);
ReassignedVariable\AbstractReassignedVariableService.cs (2)
48using var _1 = PooledDictionary<ISymbol, bool>.GetInstance(out var symbolToIsReassigned); 50using var _3 = PooledDictionary<SyntaxTree, SemanticModel>.GetInstance(out var syntaxTreeToModel);
Shared\Extensions\ILanguageMetadataExtensions.cs (1)
47using var _ = PooledDictionary<string, ArrayBuilder<Lazy<TInterface, TMetadata>>>.GetInstance(out var map);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
533using var _ = PooledDictionary<ISymbol, int>.GetInstance(out var result);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (1)
174using var _ = PooledDictionary<INamespaceSymbol, SyntaxNode>.GetInstance(out var importToSyntax);
Workspace\Solution\SolutionCompilationState.cs (1)
1601using var _ = PooledDictionary<ProjectId, ArrayBuilder<DocumentState>>.GetInstance(out var missingDocumentStates);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (1)
118using var _2 = PooledDictionary<DocumentId, int>.GetInstance(out var documentIdToIndex);
Workspace\Solution\SolutionCompilationState.TranslationAction_Actions.cs (1)
177using var _ = PooledDictionary<DocumentState, int>.GetInstance(out var documentToIndex);
Workspace\Solution\SolutionCompilationState_SourceGenerators.cs (1)
89using var _ = PooledDictionary<ISourceGenerator, AnalyzerReference>.GetInstance(out var generatorToAnalyzerReference);
Workspace\Workspace.cs (1)
364using var _ = PooledDictionary<DocumentId, DocumentState>.GetInstance(out var relatedDocumentIdsAndStates);