示例#1
0
        public override bool Equals(object o)
        {
            var other = o as ProjectingFieldInfo;

            return(other != null &&
                   Projector == other.Projector &&
                   UnderlyingField.Equals(other.UnderlyingField));
        }
示例#2
0
 public override bool Equals([NotNullWhen(true)] object?o)
 {
     return(o is ProjectingFieldInfo other &&
            Projector == other.Projector &&
            UnderlyingField.Equals(other.UnderlyingField));
 }