Exemple #1
0
        public override bool Equals(object o)
        {
            InheritedPropertyInfo other = o as InheritedPropertyInfo;

            return(other != null &&
                   UnderlyingProperty.Equals(other.UnderlyingProperty) &&
                   ReflectedType.Equals(other.ReflectedType));
        }
Exemple #2
0
        public override bool Equals(object o)
        {
            ProjectingPropertyInfo other = o as ProjectingPropertyInfo;

            return(other != null &&
                   Projector == other.Projector &&
                   UnderlyingProperty.Equals(other.UnderlyingProperty));
        }
 public override bool Equals(object o)
 {
     return(o is ProjectingPropertyInfo other &&
            Projector == other.Projector &&
            UnderlyingProperty.Equals(other.UnderlyingProperty));
 }
 public override bool Equals([NotNullWhen(true)] object?o)
 {
     return(o is ProjectingPropertyInfo other &&
            Projector == other.Projector &&
            UnderlyingProperty.Equals(other.UnderlyingProperty));
 }
 public override bool Equals([NotNullWhen(true)] object?o)
 {
     return(o is InheritedPropertyInfo other &&
            UnderlyingProperty.Equals(other.UnderlyingProperty) &&
            ReflectedType.Equals(other.ReflectedType));
 }