Exemple #1
0
 internal sealed override bool SameType(Type tstType)
 {
     if (tstType is SystemClass)
     {
         return(tstType.SameType(this));
     }
     return(this == tstType);
 }
Exemple #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);
        }
Exemple #3
0
 internal override sealed bool SameType(Type tstType)
 {
     if (tstType is SystemClass)
         return tstType.SameType(this);
     return this == tstType;
 }