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