Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mrahhal committed Feb 2, 2024
1 parent 5a1d85f commit 8bc38ea
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ protected static BinaryExpression MakeComparisonExpression<T>(
// LessThan/GreaterThan operators are not valid for some types such as strings and guids.
// We use the CompareTo method on these types instead.

// entity.Property.CompareTo(referenceValue) >|< 0
// entity.Property.CompareTo(referenceValue) > or < 0
// -----------------------------------------

// entity.Property.CompareTo(referenceValue)
Expand All @@ -86,7 +86,7 @@ protected static BinaryExpression MakeComparisonExpression<T>(
compareToMethod,
EnsureMatchingType(memberAccess, referenceValue));

// >|< 0
// > or < 0
return compare(methodCallExpression, ConstantExpression0);
}
else
Expand Down

0 comments on commit 8bc38ea

Please sign in to comment.