예제 #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));
 }
예제 #2
0
 /// <summary>
 /// Type-safe (and non-boxing) equality check.
 /// </summary>
 public bool Equals(NonNullable <T> other)
 {
     return(object.Equals(this.value, other.value));
 }