1 instantiation of ArrayBuilder
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (1)
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\ArrayBuilder.cs (1)
19private static readonly ObjectPool<ArrayBuilder<T>> s_poolInstance = new ObjectPool<ArrayBuilder<T>>(() => new ArrayBuilder<T>(), 16);
91 references to ArrayBuilder
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider (1)
src\ExpressionEvaluator\CSharp\Source\ResultProvider\CSharpFormatter.Values.cs (1)
154var usedFields = ArrayBuilder<EnumField>.GetInstance();
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (90)
src\Compilers\Core\Portable\InternalUtilities\EnumField.cs (1)
39internal static EnumField FindValue(ArrayBuilder<EnumField> sortedFields, ulong value)
src\ExpressionEvaluator\Core\Source\ExpressionCompiler\CustomTypeInfo.cs (4)
91var builder = ArrayBuilder<byte>.GetInstance(); 181var builder = ArrayBuilder<string?>.GetInstance();
src\ExpressionEvaluator\Core\Source\ExpressionCompiler\DynamicFlagsCustomTypeInfo.cs (4)
14internal static ReadOnlyCollection<byte>? ToBytes(ArrayBuilder<bool> dynamicFlags, int startIndex = 0) 70internal static void CopyTo(ReadOnlyCollection<byte>? bytes, ArrayBuilder<bool> builder) 93var builder = ArrayBuilder<bool>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\AggregateExpansion.cs (2)
17internal static Expansion CreateExpansion(ArrayBuilder<Expansion> expansions) 51ArrayBuilder<EvalResult> rows,
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\ArrayExpansion.cs (1)
51ArrayBuilder<EvalResult> rows,
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\DebuggerTypeProxyExpansion.cs (1)
171ArrayBuilder<EvalResult> rows,
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\DynamicViewExpansion.cs (1)
74ArrayBuilder<EvalResult> rows,
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\Expansion.cs (1)
38ArrayBuilder<EvalResult> rows,
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\MemberExpansion.cs (22)
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(); 217ArrayBuilder<MemberAndDeclarationInfo> allMembers, 223var publicExpansions = ArrayBuilder<Expansion>.GetInstance(); 224var publicMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 225var nonPublicMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 293ArrayBuilder<EvalResult> rows, 350ArrayBuilder<EvalResult> rows, 415ArrayBuilder<EvalResult> rows,
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\NativeViewExpansion.cs (1)
24ArrayBuilder<EvalResult> rows,
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\PointerDereferenceExpansion.cs (1)
26ArrayBuilder<EvalResult> rows,
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\ResultsViewExpansion.cs (2)
207ArrayBuilder<EvalResult> rows, 309ArrayBuilder<EvalResult> rows,
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\RootHiddenExpansion.cs (1)
32ArrayBuilder<EvalResult> rows,
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\TupleExpansion.cs (3)
51ArrayBuilder<EvalResult> rows, 275var builder = ArrayBuilder<Field>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\TypeVariablesExpansion.cs (1)
41ArrayBuilder<EvalResult> rows,
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.cs (4)
287var builder = ArrayBuilder<string>.GetInstance(); 316var builder = ArrayBuilder<string>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.TypeNames.cs (2)
208var stack = ArrayBuilder<Type>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.Values.cs (9)
156var values = ArrayBuilder<string>.GetInstance(); 286var fields = ArrayBuilder<EnumField>.GetInstance(); 304private static void FillEnumFields(ArrayBuilder<EnumField> fields, Type lmrType) 320protected static void FillUsedEnumFields(ArrayBuilder<EnumField> usedFields, ArrayBuilder<EnumField> fields, ulong underlyingValue) 485internal abstract string GetNamesForFlagsEnumValue(ArrayBuilder<EnumField> fields, object value, ulong underlyingValue, ObjectDisplayOptions options, Type typeToDisplayOpt); 487internal abstract string GetNameForEnumValue(ArrayBuilder<EnumField> fields, object value, ulong underlyingValue, ObjectDisplayOptions options, Type typeToDisplayOpt);
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\ArrayBuilder.cs (4)
19private static readonly ObjectPool<ArrayBuilder<T>> s_poolInstance = new ObjectPool<ArrayBuilder<T>>(() => new ArrayBuilder<T>(), 16); 24public static ArrayBuilder<T> GetInstance(int size = 0) 26var builder = s_poolInstance.Allocate();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\AttributeHelpers.cs (4)
59var builder = ArrayBuilder<bool>.GetInstance(numFlags); 83var builder = ArrayBuilder<string>.GetInstance(numFlags);
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\CustomTypeInfoTypeArgumentMap.cs (8)
117var builder = ArrayBuilder<bool>.GetInstance(); 146var builder = ArrayBuilder<string>.GetInstance(); 181var startsBuilder = ArrayBuilder<int>.GetInstance(); 203ArrayBuilder<U> builder) 224ArrayBuilder<U> builder)
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (6)
32ArrayBuilder<MemberAndDeclarationInfo> includedMembers, 488internal static bool TryGetTupleFieldValues(this DkmClrValue tuple, int cardinality, ArrayBuilder<string> values, DkmInspectionContext inspectionContext) 627var builder = ArrayBuilder<DkmCustomUIVisualizerInfo>.GetInstance(); 706var builder = ArrayBuilder<Type>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeWalker.cs (2)
30private ArrayBuilder<Type> _stack; 35_stack = ArrayBuilder<Type>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\ResultProvider.cs (5)
139var rows = ArrayBuilder<EvalResult>.GetInstance(); 182var rows = ArrayBuilder<EvalResult>.GetInstance(); 901ArrayBuilder<EvalResult> rows,