Skip to content

Commit 55979cd

Browse files
committed
Clean end of lines
1 parent f3f070d commit 55979cd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

CodingSeb.ExpressionEvaluator/ExpressionEvaluator.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1965,10 +1965,10 @@ protected virtual bool EvaluateVarOrFunc(string expression, Stack<object> stack,
19651965
if (OptionDetectExtensionMethodsOverloadsOnExtensionMethodNotFound)
19661966
{
19671967
IEnumerable<MethodInfo> query = from type in StaticTypesForExtensionsMethods
1968-
where
1968+
where
19691969
!type.IsGenericType &&
1970-
type.IsSealed &&
1971-
!type.IsNested
1970+
type.IsSealed &&
1971+
!type.IsNested
19721972
from method in type.GetMethods(BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic)
19731973
where method.IsDefined(typeof(ExtensionAttribute), false)
19741974
where method.GetParameters()[0].ParameterType == objType // static extMethod(this outType, ...)
@@ -1983,8 +1983,8 @@ where method.GetParameters()[0].ParameterType == objType // static extMethod(thi
19831983
{
19841984
ParameterInfo[] parInfo = mi.GetParameters();
19851985
fnOverloadsPrint += string.Join(",", parInfo.Select(x => x.ParameterType.FullName ?? x.ParameterType.Name)) + "\n";
1986-
}
1987-
1986+
}
1987+
19881988
throw new ExpressionEvaluatorSyntaxErrorException($"[{objType}] extension method \"{varFuncName}\" has no overload for arguments: {fnArgsPrint}. Candidates: {fnOverloadsPrint}");
19891989
}
19901990
}

0 commit comments

Comments
 (0)