CompareBaseObjects() private static method

private static CompareBaseObjects ( System lhs, System rhs ) : bool
lhs System
rhs System
return bool
コード例 #1
0
        public override bool Equals(object other)
        {
            Object @object = other as Object;
            bool   flag    = @object == null && other != null && !(other is Object);

            return(!flag && Object.CompareBaseObjects(this, @object));
        }
コード例 #2
0
 public static bool operator !=(Object x, Object y)
 {
     return(!Object.CompareBaseObjects(x, y));
 }
コード例 #3
0
 public override bool Equals(object o)
 {
     return(Object.CompareBaseObjects(this, o as Object));
 }
コード例 #4
0
        public override bool Equals(object other)
        {
            Object @object = other as Object;

            return((!(@object == null) || other == null || other is Object) && Object.CompareBaseObjects(this, @object));
        }