mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-21 13:02:46 +01:00
Merge pull request #116 from TilmannBach/master
fix: AND operator uses wrong bitwise operator instead of AndAlso expression
This commit is contained in:
commit
18eedf2e1a
@ -237,7 +237,7 @@ namespace Sieve.Services
|
||||
}
|
||||
else
|
||||
{
|
||||
innerExpression = Expression.Or(innerExpression, expression);
|
||||
innerExpression = Expression.OrElse(innerExpression, expression);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -261,7 +261,7 @@ namespace Sieve.Services
|
||||
{
|
||||
continue;
|
||||
}
|
||||
outerExpression = Expression.And(outerExpression, innerExpression);
|
||||
outerExpression = Expression.AndAlso(outerExpression, innerExpression);
|
||||
}
|
||||
return outerExpression == null
|
||||
? result
|
||||
|
Loading…
Reference in New Issue
Block a user