public bool Equals([CanBeNull] MemberKeyPart other) { if (!EqualityUtility.ClassEquals(this, other)) { return(false); } Trace.Assert(other != null); return(Member.Name == other.Member.Name && MemberType == other.MemberType); }
public bool Equals([CanBeNull] TypeKey other) { if (!EqualityUtility.ClassEquals(this, other)) { return(false); } Trace.Assert(other != null); return(_type == other._type); }
public bool Equals([CanBeNull] CustomType other) { if (!EqualityUtility.ClassEquals(this, other)) { return(false); } Trace.Assert(other != null); return(_value == other._value); }