Skip to content
Discussion options

You must be logged in to vote

Mention that IEquatable<T> with different T's are different interface implementations. Many of your snippets don't compile due to the mismatch of IEquatable<T> implementation.
In interface, default implementation for other interface methods needs to be explicit. This is different with the context of classes/structs.

I'd suggest you to clarify what you are trying to approach. Do you want IReadOnlyBit to carry the default implementation of Equals that checks the single significant Value?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@VladisS-Vostok2000
Comment options

Answer selected by VladisS-Vostok2000
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants