/// <summary> /// Is this reference equal to the given other reference? /// </summary> public bool IsSame(XMethodReference other) { return(DeclaringType.IsSame(other.DeclaringType) && IsSameExceptDeclaringType(other)); }