Exemplo n.º 1
0
 /// <inheritdoc />
 public override bool Equals(object other)
 {
     if (other is null)
     {
         return(false);
     }
     if (other is Some <T, TException> some)
     {
         return(Equals(some));
     }
     return(InternalPointer.Equals(other));
 }
Exemplo n.º 2
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     return(InternalPointer.GetHashCode());
 }