We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A Start and End of a Range need to implement IComparable. But there is also an IComparable<T> interface in .Net and not all types implement both.
IComparable
IComparable<T>
Because IComparable<T> does not implement IComparable it is not possible to have them both as generic constraint on a Range.
The only solution would be to duplicate all code.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A Start and End of a Range need to implement
IComparable
. But there is also anIComparable<T>
interface in .Net and not all types implement both.Because
IComparable<T>
does not implementIComparable
it is not possible to have them both as generic constraint on a Range.The only solution would be to duplicate all code.
The text was updated successfully, but these errors were encountered: