Ejemplo n.º 1
0
 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;
     }
 }
Ejemplo n.º 2
0
 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;
 }