/// <summary> /// Constructor /// </summary> /// <param name="valueType">Type</param> /// <param name="rawValue">Value</param> public DbgDotNetRawValue(DbgSimpleValueType valueType, object rawValue) { Debug.Assert(valueType != DbgSimpleValueType.Void); ValueType = valueType; HasRawValue = true; RawValue = rawValue; }
/// <summary> /// Constructor /// </summary> /// <param name="valueType">Type</param> public DbgDotNetRawValue(DbgSimpleValueType valueType) { Debug.Assert(valueType == DbgSimpleValueType.Other || valueType == DbgSimpleValueType.Void); ValueType = valueType; HasRawValue = false; RawValue = null; }