Пример #1
0
 public bool Equals(GenericDeclaration other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other.Name, Name) && Equals(other.Holder, Holder) && other.Index == Index && other.IsUsingBase.Equals(IsUsingBase));
 }
 public bool Equals(GenericDeclaration other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return Equals(other.Name, Name) && Equals(other.Holder, Holder) && other.Index == Index && other.IsUsingBase.Equals(IsUsingBase);
 }