Closed COM8 closed 5 years ago
No, that method shouldn't exist. There should be a static
Equals
function taking two SingleEmoji
instances as parameters and a non-static
member function taking one SingleEmoji
parameter. It should also implement IEquatable<SingleEmoji>
.
No, that method shouldn't exist. There should be a
static
Equals
function taking twoSingleEmoji
instances as parameters and a non-static
member function taking oneSingleEmoji
parameter. It should also implementIEquatable<SingleEmoji>
.
Will update my PR and fix this for SingleEmoji
and UnicodeSequence
IEqualityComparer<SingleEmoji>
requires it to exist.
I keept it and added one in the UnicodeSequence
class.
ee5fed0 Should fix this.
https://github.com/neosmart/unicode.net/blob/3b0bd1867c96221b344084d8d82278f7c6a812b8/unicode/SingleEmoji.cs#L32
Shouldn't this be
return x.Sequence == y.Sequence;
?I will create a PR for this.