public sealed override bool Equals(Object obj)
        {
            NativeFormatRuntimeEventInfo other = obj as NativeFormatRuntimeEventInfo;

            if (other == null)
            {
                return(false);
            }
            if (!(_reader == other._reader))
            {
                return(false);
            }
            if (!(_eventHandle.Equals(other._eventHandle)))
            {
                return(false);
            }
            if (!(ContextTypeInfo.Equals(other.ContextTypeInfo)))
            {
                return(false);
            }
            if (!(ReflectedType.Equals(other.ReflectedType)))
            {
                return(false);
            }
            return(true);
        }
Beispiel #2
0
        public sealed override bool Equals(Object obj)
        {
            EcmaFormatRuntimePropertyInfo other = obj as EcmaFormatRuntimePropertyInfo;

            if (other == null)
            {
                return(false);
            }
            if (!(_reader == other._reader))
            {
                return(false);
            }
            if (!(_propertyHandle.Equals(other._propertyHandle)))
            {
                return(false);
            }
            if (!(ContextTypeInfo.Equals(other.ContextTypeInfo)))
            {
                return(false);
            }
            if (!(_reflectedType.Equals(other._reflectedType)))
            {
                return(false);
            }
            return(true);
        }
Beispiel #3
0
 public sealed override bool Equals(object obj)
 {
     if (!(obj is NativeFormatRuntimePropertyInfo other))
     {
         return(false);
     }
     if (!(_reader == other._reader))
     {
         return(false);
     }
     if (!(_propertyHandle.Equals(other._propertyHandle)))
     {
         return(false);
     }
     if (!(ContextTypeInfo.Equals(other.ContextTypeInfo)))
     {
         return(false);
     }
     if (!(_reflectedType.Equals(other._reflectedType)))
     {
         return(false);
     }
     return(true);
 }