Пример #1
0
 internal sealed override bool SameType(Type tstType)
 {
     if (tstType is SystemClass)
     {
         return(tstType.SameType(this));
     }
     return(this == tstType);
 }
Пример #2
0
        /*----------------------------- internal functions ------------------------------*/

        internal override bool SameType(Type tstType)
        {
            if (this == tstType)
            {
                return(true);
            }
            if (tstType is CustomModifiedType)
            {
                CustomModifiedType cmTstType = (CustomModifiedType)tstType;
                return(type.SameType(cmTstType.type) &&
                       cmodType.SameType(cmTstType.cmodType));
            }
            return(false);
        }
Пример #3
0
 internal override sealed bool SameType(Type tstType)
 {
     if (tstType is SystemClass)
         return tstType.SameType(this);
     return this == tstType;
 }