public void AddArrayValues(string[] aryvalues) { if (aryvalues == null) { _aryValues = null; return; } _aryValues = new DisplayableString[aryvalues.Length]; for (int i = 0, icnt = aryvalues.Length; i < icnt; ++i) { _aryValues[i] = new DisplayableString(aryvalues[i]); } }
public InstanceValue(int typeId, ulong addr, string typeName, string fldName, string value, int fldNdx = Constants.InvalidIndex) { _typeId = typeId; _kind = ClrElementKind.Unknown; _address = addr; _typeName = typeName; _fieldName = fldName; _value = new DisplayableString(value); _fields = Utils.EmptyArray <InstanceValue> .Value; _fieldNdx = fldNdx; _aryValues = null; _parent = null; }