@@ -695,7 +695,7 @@ public bool OptionNewFunctionEvaluationActive
695695 /// if <c>false</c> unactive this functionality.
696696 /// By default : true
697697 /// </summary>
698- public bool OptionStaticProperiesGetActive { get ; set ; } = true ;
698+ public bool OptionStaticPropertiesGetActive { get ; set ; } = true ;
699699
700700 /// <summary>
701701 /// if <c>true</c> allow to call instance methods on objects.
@@ -709,7 +709,7 @@ public bool OptionNewFunctionEvaluationActive
709709 /// if <c>false</c> unactive this functionality.
710710 /// By default : true
711711 /// </summary>
712- public bool OptionInstanceProperiesGetActive { get ; set ; } = true ;
712+ public bool OptionInstancePropertiesGetActive { get ; set ; } = true ;
713713
714714 /// <summary>
715715 /// 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,
19901990 {
19911991 BindingFlags flag = DetermineInstanceOrStatic ( ref objType , ref obj , ref valueTypeNestingTrace ) ;
19921992
1993- if ( ! OptionStaticProperiesGetActive && ( flag & BindingFlags . Static ) != 0 )
1993+ if ( ! OptionStaticPropertiesGetActive && ( flag & BindingFlags . Static ) != 0 )
19941994 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 )
19961996 throw new ExpressionEvaluatorSyntaxErrorException ( $ "[{ objType } ] object has no public Property or Field named \" { varFuncName } \" .") ;
19971997
19981998 bool isDynamic = ( flag & BindingFlags . Instance ) != 0 && obj is IDynamicMetaObjectProvider && obj is IDictionary < string , object > ;
0 commit comments