Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
                }