@@ -695,7 +695,7 @@ public bool OptionNewFunctionEvaluationActive
695
695
/// if <c>false</c> unactive this functionality.
696
696
/// By default : true
697
697
/// </summary>
698
- public bool OptionStaticProperiesGetActive { get ; set ; } = true ;
698
+ public bool OptionStaticPropertiesGetActive { get ; set ; } = true ;
699
699
700
700
/// <summary>
701
701
/// if <c>true</c> allow to call instance methods on objects.
@@ -709,7 +709,7 @@ public bool OptionNewFunctionEvaluationActive
709
709
/// if <c>false</c> unactive this functionality.
710
710
/// By default : true
711
711
/// </summary>
712
- public bool OptionInstanceProperiesGetActive { get ; set ; } = true ;
712
+ public bool OptionInstancePropertiesGetActive { get ; set ; } = true ;
713
713
714
714
/// <summary>
715
715
/// if <c>true</c> allow to get object at index or key like IndexedObject[indexOrKey]
@@ -1990,9 +1990,9 @@ protected virtual bool EvaluateVarOrFunc(string expression, Stack<object> stack,
1990
1990
{
1991
1991
BindingFlags flag = DetermineInstanceOrStatic ( ref objType , ref obj , ref valueTypeNestingTrace ) ;
1992
1992
1993
- if ( ! OptionStaticProperiesGetActive && ( flag & BindingFlags . Static ) != 0 )
1993
+ if ( ! OptionStaticPropertiesGetActive && ( flag & BindingFlags . Static ) != 0 )
1994
1994
throw new ExpressionEvaluatorSyntaxErrorException ( $ "[{ objType } ] object has no public Property or Field named \" { varFuncName } \" .") ;
1995
- if ( ! OptionInstanceProperiesGetActive && ( flag & BindingFlags . Instance ) != 0 )
1995
+ if ( ! OptionInstancePropertiesGetActive && ( flag & BindingFlags . Instance ) != 0 )
1996
1996
throw new ExpressionEvaluatorSyntaxErrorException ( $ "[{ objType } ] object has no public Property or Field named \" { varFuncName } \" .") ;
1997
1997
1998
1998
bool isDynamic = ( flag & BindingFlags . Instance ) != 0 && obj is IDynamicMetaObjectProvider && obj is IDictionary < string , object > ;
0 commit comments