예제 #1
0
        public override bool IsEquivalentTo([NotNullWhen(true)] Type?other)
        {
            ProjectingType?otherType = other as ProjectingType;

            if (otherType == null || Projector != otherType.Projector)
            {
                return(false);
            }

            return(UnderlyingType.IsEquivalentTo(otherType.UnderlyingType));
        }