47 references to GetInstance
Microsoft.CodeAnalysis.CodeStyle (47)
src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.OperationDeconstructor.cs (1)
28
private readonly ArrayBuilder<ISymbol> _hashedSymbols = ArrayBuilder<ISymbol>.
GetInstance
();
src\Compilers\Core\Portable\Collections\DictionaryExtensions.cs (1)
84
values = ArrayBuilder<V>.
GetInstance
();
src\Compilers\Core\Portable\Collections\ImmutableArrayExtensions.cs (14)
217
var builder = ArrayBuilder<TResult>.
GetInstance
();
247
var builder = ArrayBuilder<TResult>.
GetInstance
();
272
var builder = ArrayBuilder<TResult>.
GetInstance
();
292
var builder = ArrayBuilder<TResult>.
GetInstance
();
312
var builder = ArrayBuilder<TResult>.
GetInstance
();
335
var builder = ArrayBuilder<TResult>.
GetInstance
();
359
var builder = ArrayBuilder<TResult>.
GetInstance
();
383
var builder = ArrayBuilder<TResult>.
GetInstance
();
408
var builder = ArrayBuilder<TResult>.
GetInstance
();
470
var builder = ArrayBuilder<TResult>.
GetInstance
();
573
builder = ArrayBuilder<T>.
GetInstance
();
591
builder = ArrayBuilder<T>.
GetInstance
();
824
var builder = ArrayBuilder<T>.
GetInstance
();
866
var builder = ArrayBuilder<TValue>.
GetInstance
();
src\Compilers\Core\Portable\Collections\TemporaryArray`1.cs (1)
335
var builder = ArrayBuilder<T>.
GetInstance
();
src\Compilers\Core\Portable\DiagnosticAnalyzer\SuppressMessageAttributeState.TargetSymbolResolver.cs (1)
82
var results = ArrayBuilder<ISymbol>.
GetInstance
();
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
857
var resolvedParts = ArrayBuilder<string>.
GetInstance
();
src\Compilers\Core\Portable\InternalUtilities\EnumerableExtensions.cs (9)
361
var builder = ArrayBuilder<TResult>.
GetInstance
();
372
var builder = ArrayBuilder<TResult>.
GetInstance
();
421
var builder = ArrayBuilder<TResult>.
GetInstance
();
433
var builder = ArrayBuilder<TResult>.
GetInstance
();
471
var builder = ArrayBuilder<TResult>.
GetInstance
();
483
var builder = ArrayBuilder<TResult>.
GetInstance
();
498
var builder = ArrayBuilder<TResult>.
GetInstance
();
513
var builder = ArrayBuilder<TResult>.
GetInstance
();
525
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)
439
var results = ArrayBuilder<ITypeParameterSymbol>.
GetInstance
();
460
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_SymbolSpec.cs (3)
132
var builder = ArrayBuilder<SymbolKindOrTypeKind>.
GetInstance
();
210
var builder = ArrayBuilder<Accessibility>.
GetInstance
();
265
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
();