1 instantiation of ArrayBuilder
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (1)
ArrayBuilder.cs (1)
19private static readonly ObjectPool<ArrayBuilder<T>> s_poolInstance = new ObjectPool<ArrayBuilder<T>>(() => new ArrayBuilder<T>(), 16);
97 references to ArrayBuilder
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider (4)
CSharpFormatter.Values.cs (4)
152internal override string GetNamesForFlagsEnumValue(ArrayBuilder<EnumField> fields, object value, ulong underlyingValue, ObjectDisplayOptions options, Type typeToDisplayOpt) 154var usedFields = ArrayBuilder<EnumField>.GetInstance(); 180internal override string GetNameForEnumValue(ArrayBuilder<EnumField> fields, object value, ulong underlyingValue, ObjectDisplayOptions options, Type typeToDisplayOpt)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (90)
AggregateExpansion.cs (2)
17internal static Expansion CreateExpansion(ArrayBuilder<Expansion> expansions) 51ArrayBuilder<EvalResult> rows,
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();
ArrayExpansion.cs (1)
51ArrayBuilder<EvalResult> rows,
AttributeHelpers.cs (4)
59var builder = ArrayBuilder<bool>.GetInstance(numFlags); 83var builder = ArrayBuilder<string>.GetInstance(numFlags);
CustomTypeInfo.cs (4)
91var builder = ArrayBuilder<byte>.GetInstance(); 181var builder = ArrayBuilder<string?>.GetInstance();
CustomTypeInfoTypeArgumentMap.cs (8)
118var builder = ArrayBuilder<bool>.GetInstance(); 147var builder = ArrayBuilder<string>.GetInstance(); 182var startsBuilder = ArrayBuilder<int>.GetInstance(); 204ArrayBuilder<U> builder) 225ArrayBuilder<U> builder)
DebuggerTypeProxyExpansion.cs (1)
171ArrayBuilder<EvalResult> rows,
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();
DynamicViewExpansion.cs (1)
74ArrayBuilder<EvalResult> rows,
EnumField.cs (1)
39internal static EnumField FindValue(ArrayBuilder<EnumField> sortedFields, ulong value)
Expansion.cs (1)
38ArrayBuilder<EvalResult> rows,
Formatter.cs (4)
287var builder = ArrayBuilder<string>.GetInstance(); 316var builder = ArrayBuilder<string>.GetInstance();
Formatter.TypeNames.cs (2)
207var stack = ArrayBuilder<Type>.GetInstance();
Formatter.Values.cs (9)
156var values = ArrayBuilder<string>.GetInstance(); 280var fields = ArrayBuilder<EnumField>.GetInstance(); 298private static void FillEnumFields(ArrayBuilder<EnumField> fields, Type lmrType) 314protected static void FillUsedEnumFields(ArrayBuilder<EnumField> usedFields, ArrayBuilder<EnumField> fields, ulong underlyingValue) 479internal abstract string GetNamesForFlagsEnumValue(ArrayBuilder<EnumField> fields, object value, ulong underlyingValue, ObjectDisplayOptions options, Type typeToDisplayOpt); 481internal abstract string GetNameForEnumValue(ArrayBuilder<EnumField> fields, object value, ulong underlyingValue, ObjectDisplayOptions options, Type typeToDisplayOpt);
MemberExpansion.cs (22)
66var expansions = ArrayBuilder<Expansion>.GetInstance(); 71var staticMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 72var instanceMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 75var allMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 107var favoritesMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 165var staticExpansions = ArrayBuilder<Expansion>.GetInstance(); 216ArrayBuilder<MemberAndDeclarationInfo> allMembers, 222var publicExpansions = ArrayBuilder<Expansion>.GetInstance(); 223var publicMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 224var nonPublicMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 292ArrayBuilder<EvalResult> rows, 349ArrayBuilder<EvalResult> rows, 414ArrayBuilder<EvalResult> rows,
NativeViewExpansion.cs (1)
24ArrayBuilder<EvalResult> rows,
PointerDereferenceExpansion.cs (1)
26ArrayBuilder<EvalResult> rows,
ResultProvider.cs (5)
130var rows = ArrayBuilder<EvalResult>.GetInstance(); 173var rows = ArrayBuilder<EvalResult>.GetInstance(); 892ArrayBuilder<EvalResult> rows,
ResultsViewExpansion.cs (2)
207ArrayBuilder<EvalResult> rows, 309ArrayBuilder<EvalResult> rows,
RootHiddenExpansion.cs (1)
32ArrayBuilder<EvalResult> rows,
TupleExpansion.cs (3)
51ArrayBuilder<EvalResult> rows, 275var builder = ArrayBuilder<Field>.GetInstance();
TypeHelpers.cs (6)
31ArrayBuilder<MemberAndDeclarationInfo> includedMembers, 473internal static bool TryGetTupleFieldValues(this DkmClrValue tuple, int cardinality, ArrayBuilder<string> values, DkmInspectionContext inspectionContext) 612var builder = ArrayBuilder<DkmCustomUIVisualizerInfo>.GetInstance(); 691var builder = ArrayBuilder<Type>.GetInstance();
TypeVariablesExpansion.cs (1)
41ArrayBuilder<EvalResult> rows,
TypeWalker.cs (2)
30private ArrayBuilder<Type> _stack; 35_stack = ArrayBuilder<Type>.GetInstance();
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ResultProvider (3)
VisualBasicFormatter.Values.vb (3)
103Friend Overrides Function GetNamesForFlagsEnumValue(fields As ArrayBuilder(Of EnumField), value As Object, underlyingValue As ULong, options As ObjectDisplayOptions, typeToDisplayOpt As Type) As String 104Dim usedFields = ArrayBuilder(Of EnumField).GetInstance() 131Friend Overrides Function GetNameForEnumValue(fields As ArrayBuilder(Of EnumField), value As Object, underlyingValue As ULong, options As ObjectDisplayOptions, typeToDisplayOpt As Type) As String