示例#1
0
        public static bool Equals(CompactValue a, CompactValue b)
        {
            if (a.RefVal == b.RefVal)
            {
                return(true);
            }

            if (a.RefVal != null)
            {
                return(a.RefVal.Equals(b.RefVal));
            }

            return(false);
        }
示例#2
0
 public bool Equals(CompactValue other)
 {
     return(Equals(this, other));
 }