70 references to GetInstance
Microsoft.CodeAnalysis.Workspaces (70)
Classification\Classifier.cs (1)
126
var parts = ArrayBuilder<SymbolDisplayPart>.
GetInstance
();
CodeCleanup\AbstractCodeCleanerService.cs (1)
120
var builder = ArrayBuilder<TextSpan>.
GetInstance
();
CodeFixes\FixAllOccurrences\FixAllState.FixMultipleDiagnosticProvider.cs (1)
38
var allDiagnosticsBuilder = ArrayBuilder<Diagnostic>.
GetInstance
();
Diagnostics\DiagnosticAnalysisResult.cs (1)
128
var diagnosticsWithoutDocumentId = ArrayBuilder<DiagnosticData>.
GetInstance
();
Diagnostics\Extensions.cs (1)
26
var result = ArrayBuilder<Diagnostic>.
GetInstance
();
Diagnostics\SkippedHostAnalyzersInfo.cs (1)
133
var skippedDiagnosticIdsBuilder = ArrayBuilder<string>.
GetInstance
();
FindSymbols\FindReferences\BaseTypeFinder.cs (1)
82
var typesBuilder = ArrayBuilder<INamedTypeSymbol>.
GetInstance
();
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (1)
729
var unsortedNodes = ArrayBuilder<BuilderNode>.
GetInstance
();
LanguageServices\DeclaredSymbolFactoryService\AbstractDeclaredSymbolInfoFactoryService.cs (1)
353
arrayBuilder = ArrayBuilder<int>.
GetInstance
();
ObsoleteSymbol\AbstractObsoleteSymbolService.cs (1)
105
result ??= ArrayBuilder<TextSpan>.
GetInstance
();
PatternMatching\AllLowerCamelCaseMatcher.cs (1)
75
var matchedSpansInReverse = includeMatchedSpans ? ArrayBuilder<TextSpan>.
GetInstance
() : null;
Rename\ConflictEngine\DeclarationConflictHelpers.cs (3)
52
var builder = ArrayBuilder<Location>.
GetInstance
();
97
var resultBuilder = ArrayBuilder<ImmutableArray<ITypeSymbol>>.
GetInstance
();
99
var signatureBuilder = ArrayBuilder<ITypeSymbol>.
GetInstance
();
Rename\SymbolicRenameLocations.ReferenceProcessing.cs (1)
176
var results = ArrayBuilder<RenameLocation>.
GetInstance
();
Serialization\SerializationExtensions.cs (1)
73
var builder = ArrayBuilder<string>.
GetInstance
();
Shared\Extensions\ILanguageMetadataExtensions.cs (2)
37
var list = builder.GetOrAdd(language, _ => ArrayBuilder<Lazy<TInterface, TMetadata>>.
GetInstance
());
55
var list = map.GetOrAdd(language, _ => ArrayBuilder<Lazy<TInterface, TMetadata>>.
GetInstance
());
Shared\Extensions\ISolutionExtensions.cs (1)
22
var results = ArrayBuilder<INamespaceSymbol>.
GetInstance
();
Shared\Extensions\TokenSemanticInfo.cs (1)
36
var result = ArrayBuilder<ISymbol>.
GetInstance
();
src\Compilers\Core\Portable\Collections\DictionaryExtensions.cs (1)
84
values = ArrayBuilder<V>.
GetInstance
();
src\Compilers\Core\Portable\Collections\ImmutableArrayExtensions.cs (11)
217
var builder = ArrayBuilder<TResult>.
GetInstance
();
247
var builder = ArrayBuilder<TResult>.
GetInstance
();
272
var builder = ArrayBuilder<TResult>.
GetInstance
();
292
var builder = ArrayBuilder<TResult>.
GetInstance
();
313
var builder = ArrayBuilder<TResult>.
GetInstance
();
337
var builder = ArrayBuilder<TResult>.
GetInstance
();
399
var builder = ArrayBuilder<TResult>.
GetInstance
();
502
builder = ArrayBuilder<T>.
GetInstance
();
520
builder = ArrayBuilder<T>.
GetInstance
();
753
var builder = ArrayBuilder<T>.
GetInstance
();
795
var builder = ArrayBuilder<TValue>.
GetInstance
();
src\Compilers\Core\Portable\Collections\TemporaryArray`1.cs (1)
335
var builder = ArrayBuilder<T>.
GetInstance
();
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
857
var resolvedParts = ArrayBuilder<string>.
GetInstance
();
src\Compilers\Core\Portable\InternalUtilities\EnumerableExtensions.cs (8)
361
var builder = ArrayBuilder<TResult>.
GetInstance
();
372
var builder = ArrayBuilder<TResult>.
GetInstance
();
405
var builder = ArrayBuilder<TResult>.
GetInstance
();
417
var builder = ArrayBuilder<TResult>.
GetInstance
();
455
var builder = ArrayBuilder<TResult>.
GetInstance
();
470
var builder = ArrayBuilder<TResult>.
GetInstance
();
485
var builder = ArrayBuilder<TResult>.
GetInstance
();
497
var builder = ArrayBuilder<TResult>.
GetInstance
();
src\Compilers\Core\Portable\Text\TextChangeRangeExtensions.cs (1)
130
var builder = ArrayBuilder<TextChangeRange>.
GetInstance
();
src\Dependencies\PooledObjects\ArrayBuilder.cs (3)
469
var builder =
GetInstance
();
476
var builder =
GetInstance
();
541
bucket = ArrayBuilder<T>.
GetInstance
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\NamingStyles\NamingStyleOptionAccumulator.cs (1)
33
_rules ??= ArrayBuilder<NamingStyleOption>.
GetInstance
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ICompilationExtensions.cs (2)
25
var builder = ArrayBuilder<Compilation>.
GetInstance
();
60
var builder = ArrayBuilder<IAssemblySymbol>.
GetInstance
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (2)
427
var results = ArrayBuilder<ITypeParameterSymbol>.
GetInstance
();
448
var results = ArrayBuilder<ITypeSymbol>.
GetInstance
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (1)
39
var unreachableBlocksToVisit = ArrayBuilder<BasicBlock>.
GetInstance
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.AnalysisData.cs (1)
39
_allocatedBasicBlockAnalysisDatas = ArrayBuilder<BasicBlockAnalysisData>.
GetInstance
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser.cs (3)
22
var symbolSpecifications = ArrayBuilder<SymbolSpecification>.
GetInstance
();
23
var namingStyles = ArrayBuilder<NamingStyle>.
GetInstance
();
24
var namingRules = ArrayBuilder<SerializableNamingRule>.
GetInstance
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_SymbolSpec.cs (3)
153
var builder = ArrayBuilder<SymbolKindOrTypeKind>.
GetInstance
();
246
var builder = ArrayBuilder<Accessibility>.
GetInstance
();
316
var builder = ArrayBuilder<ModifierKind>.
GetInstance
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
292
var applicableSymbolKindList = ArrayBuilder<SymbolKindOrTypeKind>.
GetInstance
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\ArrayBuilder.cs (1)
11
instance =
GetInstance
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.PooledArrayBuilder.cs (1)
39
=> new(ArrayBuilder<T>.
GetInstance
());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (2)
81
builder = ArrayBuilder<TValue>.
GetInstance
();
93
builder = ArrayBuilder<TValue>.
GetInstance
();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (2)
325
var nullCheckStatements = ArrayBuilder<SyntaxNode>.
GetInstance
();
326
var assignStatements = ArrayBuilder<SyntaxNode>.
GetInstance
();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
279
var statements = ArrayBuilder<SyntaxNode>.
GetInstance
();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (3)
25
var result = ArrayBuilder<SyntaxNode>.
GetInstance
();
55
var statements = ArrayBuilder<SyntaxNode>.
GetInstance
();
128
var statements = ArrayBuilder<SyntaxNode>.
GetInstance
();