Ejemplo n.º 1
0
 /// <summary>
 /// Type-safe (and non-boxing) static equality check.
 /// </summary>
 public static bool Equals(NonNullable <T> first, NonNullable <T> second)
 {
     return(object.Equals(first.value, second.value));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Type-safe (and non-boxing) equality check.
 /// </summary>
 public bool Equals(NonNullable <T> other)
 {
     return(object.Equals(this.value, other.value));
 }