40 references to GetInstance
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (40)
Debugger\Engine\DkmClrType.cs (4)
201var attributes = ArrayBuilder<DkmClrEvalAttribute>.GetInstance(); 236var attributes = ArrayBuilder<DkmClrDebuggerBrowsableAttribute>.GetInstance(); 289var builder = ArrayBuilder<DkmClrDebuggerVisualizerAttribute>.GetInstance(); 293var argValueTypeBuilder = ArrayBuilder<System.Type>.GetInstance();
Debugger\Engine\DkmClrValue.cs (4)
278var trimmedFormatSpecifiers = ArrayBuilder<string>.GetInstance(rawFormatSpecifiers.Length); 593var builder = ArrayBuilder<int>.GetInstance(rank); 613var builder = ArrayBuilder<int>.GetInstance(rank); 647private static readonly ReadOnlyCollection<DkmClrType> s_noArguments = ArrayBuilder<DkmClrType>.GetInstance(0).ToImmutableAndFree();
Debugger\Engine\DkmInspectionSession.cs (1)
74_calls = ArrayBuilder<InstanceAndMethod>.GetInstance();
Debugger\MemberInfo\TypeImpl.cs (1)
455var builder = ArrayBuilder<Type>.GetInstance();
ResultProviderTestBase.cs (2)
40var builder = ArrayBuilder<bool>.GetInstance(dynamicFlags.Length); 216var builder = ArrayBuilder<DkmEvaluationResult>.GetInstance();
src\ExpressionEvaluator\Core\Source\ExpressionCompiler\CustomTypeInfo.cs (2)
91var builder = ArrayBuilder<byte>.GetInstance(); 181var builder = ArrayBuilder<string?>.GetInstance();
src\ExpressionEvaluator\Core\Source\ExpressionCompiler\DynamicFlagsCustomTypeInfo.cs (1)
93var builder = ArrayBuilder<bool>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\MemberExpansion.cs (9)
67var expansions = ArrayBuilder<Expansion>.GetInstance(); 72var staticMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 73var instanceMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 76var allMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 108var favoritesMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 166var staticExpansions = ArrayBuilder<Expansion>.GetInstance(); 223var publicExpansions = ArrayBuilder<Expansion>.GetInstance(); 224var publicMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 225var nonPublicMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\TupleExpansion.cs (1)
275var builder = ArrayBuilder<Field>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.cs (2)
287var builder = ArrayBuilder<string>.GetInstance(); 316var builder = ArrayBuilder<string>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.TypeNames.cs (1)
208var stack = ArrayBuilder<Type>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.Values.cs (2)
156var values = ArrayBuilder<string>.GetInstance(); 286var fields = ArrayBuilder<EnumField>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\AttributeHelpers.cs (2)
59var builder = ArrayBuilder<bool>.GetInstance(numFlags); 83var builder = ArrayBuilder<string>.GetInstance(numFlags);
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\CustomTypeInfoTypeArgumentMap.cs (3)
117var builder = ArrayBuilder<bool>.GetInstance(); 146var builder = ArrayBuilder<string>.GetInstance(); 181var startsBuilder = ArrayBuilder<int>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (2)
627var builder = ArrayBuilder<DkmCustomUIVisualizerInfo>.GetInstance(); 706var builder = ArrayBuilder<Type>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeWalker.cs (1)
35_stack = ArrayBuilder<Type>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\ResultProvider.cs (2)
139var rows = ArrayBuilder<EvalResult>.GetInstance(); 182var rows = ArrayBuilder<EvalResult>.GetInstance();