Skip to content

Commit

Permalink
🐛修复表达式错误 fix #355
Browse files Browse the repository at this point in the history
  • Loading branch information
LemonNoCry committed Jan 15, 2024
1 parent 9131d89 commit 698e264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Blog.Core.Common/Extensions/Extention.Expression.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public static partial class Extention
var parameterReplacer = new ParameterReplaceVisitor(newParameter);
var left = parameterReplacer.Visit(one.Body);
var right = parameterReplacer.Visit(another.Body);
var body = Expression.And(left, right);
var body = Expression.AndAlso(left, right);

return Expression.Lambda<Func<T, bool>>(body, newParameter);
}
Expand Down

0 comments on commit 698e264

Please sign in to comment.