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