public EnumProperty(string name, IDebugType staticType, IDebugValue value, IDebugProperty parent, CommonExpressionEvaluator evaluator) : base(name, staticType, value, parent, evaluator) { this.enumType = value.RuntimeType() as IDebugEnumType; if (this.enumType == null) { this.enumType = staticType as IDebugEnumType; } }
public EnumProperty(string name, IDebugType staticType, IDebugValue value, IDebugProperty parent, CommonExpressionEvaluator evaluator) : base(name, staticType, value, parent, evaluator){ this.enumType = value.RuntimeType() as IDebugEnumType; if (this.enumType == null) this.enumType = staticType as IDebugEnumType; }