@@ -154,7 +154,10 @@ public static ObjectValue CreateError (IObjectValueSource source, ObjectPath pat
154
154
155
155
public static ObjectValue CreateImplicitNotSupported ( IObjectValueSource source , ObjectPath path , string typeName , ObjectValueFlags flags )
156
156
{
157
- return CreateNotSupported ( source , path , typeName , "Implicit evaluation is disabled" , flags ) ;
157
+ var val = Create ( source , path , typeName ) ;
158
+ val . flags = flags | ObjectValueFlags . ImplicitNotSupported ;
159
+ val . value = "Implicit evaluation is disabled" ;
160
+ return val ;
158
161
}
159
162
160
163
public static ObjectValue CreateNotSupported ( IObjectValueSource source , ObjectPath path , string typeName , string message , ObjectValueFlags flags )
@@ -681,19 +684,23 @@ public bool IsPrimitive {
681
684
public bool IsUnknown {
682
685
get { return HasFlag ( ObjectValueFlags . Unknown ) ; }
683
686
}
684
-
687
+
685
688
public bool IsNotSupported {
686
689
get { return HasFlag ( ObjectValueFlags . NotSupported ) ; }
687
690
}
691
+
692
+ public bool IsImplicitNotSupported {
693
+ get { return HasFlag ( ObjectValueFlags . ImplicitNotSupported ) ; }
694
+ }
688
695
689
696
public bool IsError {
690
697
get { return HasFlag ( ObjectValueFlags . Error ) ; }
691
698
}
692
-
699
+
693
700
public bool IsEvaluating {
694
701
get { return HasFlag ( ObjectValueFlags . Evaluating ) ; }
695
702
}
696
-
703
+
697
704
public bool IsEvaluatingGroup {
698
705
get { return HasFlag ( ObjectValueFlags . EvaluatingGroup ) ; }
699
706
}
0 commit comments