62 references to Add
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (62)
Debugger\Engine\DkmClrType.cs (6)
206
attributes.
Add
(new DkmClrDebuggerTypeProxyAttribute(new DkmClrType((TypeImpl)proxyType)));
214
attributes.
Add
(attribute);
221
attributes.
Add
(debuggerDisplay);
243
attributes.
Add
(new DkmClrDebuggerBrowsableAttribute(member.Name, ConvertBrowsableState(state)));
313
argValueTypeBuilder.
Add
(argValueType);
361
builder.
Add
(new DkmClrDebuggerVisualizerAttribute(
Debugger\Engine\DkmClrValue.cs (2)
596
builder.
Add
(array.GetUpperBound(i) - array.GetLowerBound(i) + 1);
616
builder.
Add
(array.GetLowerBound(i));
Debugger\MemberInfo\TypeImpl.cs (1)
461
builder.
Add
((TypeImpl)@interface);
src\ExpressionEvaluator\Core\Source\ExpressionCompiler\CustomTypeInfo.cs (3)
94
builder.
Add
(0);
105
builder.
Add
((byte)length);
187
builder.
Add
((name.Length == 0) ? null : name);
src\ExpressionEvaluator\Core\Source\ExpressionCompiler\DynamicFlagsCustomTypeInfo.cs (1)
81
builder.
Add
((b & (1 << i)) != 0);
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\ArrayExpansion.cs (1)
67
rows.
Add
(GetRow(resultProvider, inspectionContext, value, i + offset, parent));
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\DebuggerTypeProxyExpansion.cs (1)
184
rows.
Add
(this.CreateRawViewRow(resultProvider, inspectionContext));
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\DynamicViewExpansion.cs (1)
85
rows.
Add
(CreateDynamicViewRow(inspectionContext, Resources.DynamicView, parent, resultProvider.FullNameProvider));
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\MemberExpansion.cs (20)
94
staticMembers.
Add
(member);
98
instanceMembers.
Add
(member);
114
favoritesMembers.
Add
(memberAndDeclarationInfo);
126
expansions.
Add
(favoritesExpansion);
161
expansions.
Add
(publicInstanceExpansion);
169
staticExpansions.
Add
(publicStaticExpansion);
173
staticExpansions.
Add
(nonPublicStaticExpansion);
180
expansions.
Add
(staticMembersExpansion);
188
expansions.
Add
(NativeViewExpansion.Instance);
193
expansions.
Add
(nonPublicInstanceExpansion);
202
expansions.
Add
(resultsViewExpansion);
208
expansions.
Add
(dynamicViewExpansion);
236
publicExpansions.
Add
(new MemberExpansion(publicMembers.ToArray(), customTypeInfoMap));
239
publicExpansions.
Add
(new RootHiddenExpansion(member, customTypeInfoMap));
250
nonPublicMembers.
Add
(member);
254
publicMembers.
Add
(member);
260
publicExpansions.
Add
(new MemberExpansion(publicMembers.ToArray(), customTypeInfoMap));
309
rows.
Add
(GetMemberRow(resultProvider, inspectionContext, value, _members[i + offset], parent, _customTypeInfoMap));
361
rows.
Add
(GetRow(
426
rows.
Add
(GetRow(
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\NativeViewExpansion.cs (1)
35
rows.
Add
(GetRow(inspectionContext, value));
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\PointerDereferenceExpansion.cs (1)
37
rows.
Add
(GetRow(resultProvider, inspectionContext, value, _elementTypeAndInfo, parent: parent));
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\ResultsViewExpansion.cs (1)
218
rows.
Add
(CreateResultsViewRow(inspectionContext, parent, resultProvider.FullNameProvider));
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\RootHiddenExpansion.cs (1)
53
rows.
Add
(row);
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\TupleExpansion.cs (5)
71
rows.
Add
(row);
80
rows.
Add
(this.CreateRawViewRow(inspectionContext, parent, value));
301
builder.
Add
(new Field(declaringTypeAndInfo, fieldTypeAndInfo, field, name, parent, isRest: false));
306
builder.
Add
(new Field(
333
builder.
Add
(restField);
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\TypeVariablesExpansion.cs (1)
57
rows.
Add
(GetRow(inspectionContext, value, i + offset, parent));
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.cs (2)
289
builder.
Add
(formatSpecifier);
324
builder.
Add
(RemoveLeadingAndTrailingContent(expression, i + 1, newLength, IsWhitespace, IsWhitespace));
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.TypeNames.cs (1)
213
stack.
Add
(containingType);
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.Values.cs (2)
313
fields.
Add
(new EnumField(info.Name, ConvertEnumUnderlyingTypeToUInt64(info.GetRawConstantValue(), enumTypeCode)));
333
usedFields.
Add
(field);
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\ArrayBuilder.cs (1)
70
Add
(item);
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\AttributeHelpers.cs (2)
62
builder.
Add
((bool)typedArg.Value);
86
builder.
Add
((string)typedArg.Value);
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\CustomTypeInfoTypeArgumentMap.cs (4)
133
builder.
Add
(DynamicFlagsCustomTypeInfo.GetFlag(dynamicFlagsOpt, f));
184
startsBuilder.
Add
(pos);
192
startsBuilder.
Add
(pos);
228
builder.
Add
(map(collection, i));
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (4)
185
includedMembers.
Add
(
504
values.
Add
(str);
641
builder.
Add
(DkmCustomUIVisualizerInfo.Create((uint)builder.Count,
709
builder.
Add
(t.Substitute(typeDef, typeArgs));