8000 fix: replace bitwise "ExpressionType.Or" with conditional OrElse by crjc · Pull Request #432 · EntityGraphQL/EntityGraphQL · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ private static IExpression HandleBinary((IExpression, IReadOnlyList<(string, IEx
PowerChar => ExpressionType.Power,
AndWord => ExpressionType.AndAlso,
AndStr => ExpressionType.AndAlso,
OrWord => ExpressionType.Or,
OrStr => ExpressionType.Or,
OrWord => ExpressionType.OrElse,
OrStr => ExpressionType.OrElse,
_ => throw new NotSupportedException()
};
binaryExp = new Binary(op, left, right);
Expand Down
0