124 references to GetInstance
Microsoft.CodeAnalysis.Workspaces (124)
Classification\IRemoteSemanticClassificationService.cs (1)
75
using var _2 = ArrayBuilder<string>.
GetInstance
(out var classificationTypes);
CodeFixes\FixAllOccurrences\BatchFixAllProvider.cs (6)
145
using var _1 = ArrayBuilder<Task<ImmutableArray<Document>>>.
GetInstance
(out var tasks);
154
using var _2 = ArrayBuilder<CodeAction>.
GetInstance
(out var codeActions);
163
using var _3 = ArrayBuilder<Document>.
GetInstance
(out var changedDocuments);
185
using var _4 = ArrayBuilder<Document>.
GetInstance
(out var result);
207
using var _ = ArrayBuilder<Task>.
GetInstance
(out var tasks);
235
using var _ = ArrayBuilder<CodeAction>.
GetInstance
(out var builder);
CodeFixes\FixAllOccurrences\FixAllContextHelper.cs (1)
86
using var _2 = ArrayBuilder<Diagnostic>.
GetInstance
(out var builder);
Diagnostics\DiagnosticAnalysisResult.cs (1)
224
using var _ = ArrayBuilder<DiagnosticData>.
GetInstance
(out var builder);
Diagnostics\Extensions.cs (2)
389
using var _ = ArrayBuilder<Diagnostic>.
GetInstance
(out var diagnosticsBuilder);
413
using var _ = ArrayBuilder<Diagnostic>.
GetInstance
(out var diagnosticsBuilder);
FindSymbols\Declarations\DeclarationFinder_AllDeclarations.cs (4)
62
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var result);
82
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var buffer);
97
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var buffer);
117
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var buffer);
FindSymbols\Declarations\DeclarationFinder_SourceDeclarations.cs (2)
180
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var result);
193
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var result);
FindSymbols\FindLiterals\FindLiteralsSearchEngine.cs (1)
143
using var _ = ArrayBuilder<SyntaxToken>.
GetInstance
(out var matches);
FindSymbols\FindReferences\BaseTypeFinder.cs (1)
20
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var results);
FindSymbols\FindReferences\DependentProjectsFinder.cs (2)
226
using var _2 = ArrayBuilder<ProjectId>.
GetInstance
(out var projectIdsToProcess);
330
using var _ = ArrayBuilder<(PortableExecutableReference reference, MetadataId metadataId)>.
GetInstance
(out var uncomputedReferences);
FindSymbols\FindReferences\DependentTypeFinder_Remote.cs (1)
84
using var _ = ArrayBuilder<INamedTypeSymbol>.
GetInstance
(out var builder);
FindSymbols\FindReferences\Finders\AbstractMemberScopedReferenceFinder.cs (1)
109
using var _ = ArrayBuilder<SyntaxToken>.
GetInstance
(out var tokens);
FindSymbols\FindReferences\Finders\AbstractMethodOrPropertyOrEventSymbolReferenceFinder.cs (1)
36
using var _ = ArrayBuilder<IMethodSymbol>.
GetInstance
(out var result);
FindSymbols\FindReferences\Finders\NamedTypeSymbolReferenceFinder.cs (2)
33
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var result);
115
using var _ = ArrayBuilder<FinderLocation>.
GetInstance
(out var initialReferences);
FindSymbols\FindReferences\Finders\NamespaceSymbolReferenceFinder.cs (1)
68
using var _ = ArrayBuilder<FinderLocation>.
GetInstance
(out var initialReferences);
FindSymbols\FindReferences\Finders\ParameterSymbolReferenceFinder.cs (1)
62
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var symbols);
FindSymbols\FindReferences\Finders\PropertySymbolReferenceFinder.cs (1)
36
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var result);
FindSymbols\FindReferences\FindReferenceCache.cs (3)
155
using var _ = ArrayBuilder<SyntaxToken>.
GetInstance
(out var result);
193
using var _ = ArrayBuilder<SyntaxToken>.
GetInstance
(out var result);
225
using var _ = ArrayBuilder<SyntaxToken>.
GetInstance
(out var initializers);
FindSymbols\FindReferences\FindReferencesSearchEngine.BidirectionalSymbolSet.cs (1)
50
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var workQueue);
FindSymbols\FindReferences\FindReferencesSearchEngine.SymbolSet.cs (2)
151
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var workQueue);
171
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var workQueue);
FindSymbols\FindReferences\FindReferencesSearchEngine.UnidirectionalSymbolSet.cs (1)
48
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var workQueue);
FindSymbols\FindReferences\FindReferencesSearchEngine_FindReferencesInDocuments.cs (1)
167
using var _ = ArrayBuilder<(SymbolGroup group, ISymbol symbol, ReferenceLocation location)>.
GetInstance
(out var result);
FindSymbols\SymbolFinder_Declarations_CustomQueries.cs (1)
58
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var result);
FindSymbols\SymbolFinder_Hierarchy.cs (3)
44
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var results);
149
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var builder);
370
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var results);
FindSymbols\SymbolTree\SymbolTreeInfo_Source.cs (2)
104
using var _ = ArrayBuilder<Checksum>.
GetInstance
(out var allChecksums);
130
using var _ = ArrayBuilder<BuilderNode>.
GetInstance
(out var unsortedBuilderNodes);
FindSymbols\SymbolTree\SymbolTreeInfoCacheService.cs (1)
145
using var _ = ArrayBuilder<Task>.
GetInstance
(out var tasks);
FindSymbols\TopLevelSyntaxTree\TopLevelSyntaxTreeIndex_Create.cs (1)
20
using var _1 = ArrayBuilder<DeclaredSymbolInfo>.
GetInstance
(out var declaredSymbolInfos);
LinkedFileDiffMerging\AbstractLinkedFileMergeConflictCommentAdditionService.cs (1)
23
using var _ = ArrayBuilder<TextChange>.
GetInstance
(out var commentChanges);
LinkedFileDiffMerging\LinkedFileDiffMergingSession.cs (5)
108
using var _ = ArrayBuilder<UnmergedDocumentChanges>.
GetInstance
(out var unmergedChanges);
144
using var _1 = ArrayBuilder<TextChange>.
GetInstance
(out var unmergedDocumentChanges);
145
using var _2 = ArrayBuilder<TextChange>.
GetInstance
(out var successfullyMergedChanges);
216
using var _1 = ArrayBuilder<TextChange>.
GetInstance
(out var combinedChanges);
217
using var _2 = ArrayBuilder<TextSpan>.
GetInstance
(out var mergeConflictResolutionSpans);
ObsoleteSymbol\AbstractObsoleteSymbolService.cs (1)
61
using var _ = ArrayBuilder<SyntaxNode>.
GetInstance
(out var stack);
ReassignedVariable\AbstractReassignedVariableService.cs (3)
49
using var _2 = ArrayBuilder<TextSpan>.
GetInstance
(out var result);
63
using var _ = ArrayBuilder<SyntaxNode>.
GetInstance
(out var stack);
298
using var _ = ArrayBuilder<SyntaxNode>.
GetInstance
(out var stack);
Recommendations\AbstractRecommendationServiceRunner.cs (3)
147
using var _ = ArrayBuilder<ITypeSymbol>.
GetInstance
(out var concreteTypes);
194
using var _ = ArrayBuilder<ITypeSymbol>.
GetInstance
(out var builder);
296
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var builder);
Remote\RemoteUtilities.cs (1)
27
using var _ = ArrayBuilder<(DocumentId, ImmutableArray<TextChange>)>.
GetInstance
(out var builder);
Rename\Renamer.cs (1)
115
using var _ = ArrayBuilder<RenameDocumentAction>.
GetInstance
(out var actions);
Rename\SymbolicRenameLocations.cs (4)
82
using var _0 = ArrayBuilder<RenameLocation>.
GetInstance
(out var mergedLocations);
83
using var _1 = ArrayBuilder<ISymbol>.
GetInstance
(out var mergedReferencedSymbols);
84
using var _2 = ArrayBuilder<ReferenceLocation>.
GetInstance
(out var mergedImplicitLocations);
117
using var _ = ArrayBuilder<SearchResult>.
GetInstance
(out var overloadsResult);
Rename\SymbolicRenameLocations.ReferenceProcessing.cs (2)
332
using var _1 = ArrayBuilder<RenameLocation>.
GetInstance
(out var stringLocations);
333
using var _2 = ArrayBuilder<RenameLocation>.
GetInstance
(out var commentLocations);
Shared\Extensions\IFindReferencesResultExtensions.cs (1)
128
using var _ = ArrayBuilder<ReferencedSymbol>.
GetInstance
(out var result);
Shared\Extensions\INamespaceSymbolExtensions.cs (3)
61
using var _ = ArrayBuilder<INamespaceOrTypeSymbol>.
GetInstance
(out var stack);
85
using var _ = ArrayBuilder<INamespaceSymbol>.
GetInstance
(out var stack);
113
using var _ = ArrayBuilder<INamespaceSymbol>.
GetInstance
(out var stack);
Shared\Extensions\ITypeSymbolExtensions.cs (1)
42
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var builder);
Shared\Utilities\AsyncBatchingWorkQueue`2.cs (1)
143
using var _ = ArrayBuilder<TItem>.
GetInstance
(out var items);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher_TryParseSection.cs (1)
55
using var _1 = ArrayBuilder<(int minValue, int maxValue)>.
GetInstance
(out var numberRangePairs);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ICollectionExtensions.cs (1)
16
using var _ = ArrayBuilder<T>.
GetInstance
(out var result);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
407
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var results);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamespaceOrTypeSymbolExtensions.cs (1)
93
using var _ = ArrayBuilder<INamespaceOrTypeSymbol>.
GetInstance
(out var stack);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (2)
214
using var _1 = ArrayBuilder<SyntaxNode>.
GetInstance
(out var commonAncestorsStack);
915
using var _ = ArrayBuilder<TDirectiveTriviaSyntax>.
GetInstance
(out var condDirectivesBuilder);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.InitialContextFinder.cs (2)
127
using var _ = ArrayBuilder<SuppressOperation>.
GetInstance
(out var result);
150
using var _ = ArrayBuilder<SuppressOperation>.
GetInstance
(out var buffer);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
163
using var _ = ArrayBuilder<SuppressOperation>.
GetInstance
(out var suppressOperationScratch);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\TriviaEngine\AbstractTriviaFormatter.cs (3)
240
using var _ = ArrayBuilder<SyntaxTrivia>.
GetInstance
(out var triviaList);
268
using var _ = ArrayBuilder<TextChange>.
GetInstance
(out var changes);
629
using var _ = ArrayBuilder<SyntaxTrivia>.
GetInstance
(out var lineBreaks);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\TriviaEngine\TriviaHelpers.cs (1)
19
using var _ = ArrayBuilder<SyntaxTrivia>.
GetInstance
(out var builder);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (2)
213
using var _ = ArrayBuilder<string>.
GetInstance
(out var violations);
255
using var _ = ArrayBuilder<string>.
GetInstance
(out var violations);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SelectedMembers\AbstractSelectedMembers.cs (1)
88
using var _ = ArrayBuilder<SyntaxNode>.
GetInstance
(out var selectedMembers);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BodyLevelSymbolKey.cs (1)
25
using var _ = ArrayBuilder<Location>.
GetInstance
(out var result);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.ErrorTypeSymbolKey.cs (1)
55
using var _ = ArrayBuilder<string>.
GetInstance
(out var builder);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (3)
26
using var _1 = ArrayBuilder<string?>.
GetInstance
(out var friendlyNames);
27
using var _2 = ArrayBuilder<Location>.
GetInstance
(out var locations);
41
using var _3 = ArrayBuilder<ISymbol>.
GetInstance
(out var elementTypes);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IAsyncEnumerableExtensions.cs (1)
38
using var _ = ArrayBuilder<T>.
GetInstance
(out var result);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ProducerConsumer.cs (1)
46
using var _ = ArrayBuilder<TItem>.
GetInstance
(out var items);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\ForkingSyntaxEditorBasedCodeFixProvider.cs (1)
65
using var _ = ArrayBuilder<(TDiagnosticNode diagnosticNode, Diagnostic diagnostic)>.
GetInstance
(out var originalNodes);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (1)
552
using var _ = ArrayBuilder<SyntaxToken>.
GetInstance
(out var updatedModifiersList);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\AddParameterEditor.cs (1)
124
using var _ = ArrayBuilder<SyntaxTrivia>.
GetInstance
(out var triviaList);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (2)
113
using var _1 = ArrayBuilder<SyntaxNode>.
GetInstance
(out var importsToAdd);
114
using var _2 = ArrayBuilder<SyntaxNode>.
GetInstance
(out var nodesToSimplify);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (2)
294
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var result);
316
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var result);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (2)
141
using var _2 = ArrayBuilder<SyntaxNode>.
GetInstance
(out var expressions);
285
using var _ = ArrayBuilder<SyntaxNode>.
GetInstance
(out var expressions);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (1)
299
using var _ = ArrayBuilder<SyntaxNode>.
GetInstance
(out var importDeclarations);
TaskList\TaskListItemDescriptor.cs (1)
32
using var _ = ArrayBuilder<TaskListItemDescriptor>.
GetInstance
(out var result);
Workspace\Host\DocumentService\AbstractSpanMappingService.cs (1)
35
using var _ = ArrayBuilder<(string, TextChange)>.
GetInstance
(out var mappedFilePathAndTextChange);
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (1)
566
using var _ = ArrayBuilder<(DocumentId documentId, SourceTextContainer textContainer)>.
GetInstance
(out var documentsToOpen);
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
782
using var _ = ArrayBuilder<AnalyzerFileReference>.
GetInstance
(out var initialReferenceList);
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (1)
158
using var _ = ArrayBuilder<ProjectInfo>.
GetInstance
(out var projectInfos);
Workspace\Solution\SolutionCompilationState.cs (6)
604
using var _1 = ArrayBuilder<DocumentInfo>.
GetInstance
(out var addedDocumentInfos);
605
using var _2 = ArrayBuilder<DocumentId>.
GetInstance
(out var removedDocumentInfos);
619
using var _3 = ArrayBuilder<TDocumentState>.
GetInstance
(out var updatedDocuments);
810
using var _ = ArrayBuilder<TDocumentState>.
GetInstance
(out var newDocumentStates);
1683
using var _ = ArrayBuilder<T>.
GetInstance
(out var removedDocumentStates);
1761
using var _ = ArrayBuilder<(DocumentId, SourceText)>.
GetInstance
(out var changedDocuments);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (2)
765
using var _1 = ArrayBuilder<DocumentState>.
GetInstance
(out var documentsWithTreesBuilder);
1108
using var _ = ArrayBuilder<Checksum>.
GetInstance
(out var tempChecksumArray);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (2)
117
using var _1 = ArrayBuilder<DocumentId>.
GetInstance
(out var documentsToAddOrUpdate);
253
using var _ = ArrayBuilder<SyntaxTree>.
GetInstance
(out var treesToRemove);
Workspace\Solution\SolutionState_Checksum.cs (1)
117
using var _ = ArrayBuilder<Task<ProjectStateChecksums>>.
GetInstance
(out var projectChecksumTasks);
Workspace\Solution\SourceGeneratorIdentity.cs (1)
42
using var _ = ArrayBuilder<SourceGeneratorIdentity>.
GetInstance
(out var result);
Workspace\Workspace.cs (2)
288
using var _2 = ArrayBuilder<DocumentId>.
GetInstance
(out var addedDocumentIds);
323
using var _ = ArrayBuilder<(DocumentId, DocumentState)>.
GetInstance
(out var relatedDocumentIdsAndStates);