-
After updating to version 2.12.0, many of my tests are breaking due to the addition of IComparable to ValueObject and the corresponding requirement that the elements of GetEqualityComponents implement…
-
I propose we allow a class that implements just the generic `IComparable
-
Otherwise, bindings don't work
Solution : comment line
((v is IComparable) && ((IComparable)v).CompareTo(Value) != 0))
in method
void OnSideChanged(Expression expr, Expression dependentEx…
vlkam updated
5 years ago
-
I'm having an issue where I'm trying to query integer data and populate it onto a property of type `IComparable`. The exception that occurs is:
`{System.InvalidCastException: Invalid cast from 'Sys…
-
Hi,
It would be nice to enable the NRT in the library. It will offer a better experience for the consumers and fix some subtle issues.
But. I don't think we'll be able to do that with the current …
-
We introduced the new `IComparisonOperators` interface as part of the generic math APIs work in .NET 7, but for general-purpose APIs that need to compare and aren't constrained to numerical types, it'…
-
-
When generating the `CompareTo(object, IComparer)` for a record type, there is no type-safety for casting. Instead, the `CompareTo(object, IComparer)` simply does a direct-cast to the record type. Thi…
-
Originally proposed by @shoooe in npgsql/Npgsql.EntityFrameworkCore.PostgreSQL#785
---
# Motivation
As @shoooe already pointed out, the current API isn't friendly. This proposal is trying to …
-
The microsoft `IEquatable` docs stated:
> If you implement `IEquatable`, you should also implement `IComparable` if instances of your type can be ordered or sorted. If your type implements `ICompar…