Пример #1
0
 /// <inheritdoc />
 public bool Equals(MutRef <T> other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(selector == other.selector && EqualityComparer <T> .Default.Equals(raw, other.raw) && Equals(box, other.box));
 }
Пример #2
0
 /// <inheritdoc />
 public bool ValueEquals(MutRef <T> other)
 {
     return(EqualityComparer <T> .Default.Equals(Value, other.Value));
 }