internal sealed override bool SameType(Type tstType) { if (tstType is SystemClass) { return(tstType.SameType(this)); } return(this == tstType); }
/*----------------------------- 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); }
internal override sealed bool SameType(Type tstType) { if (tstType is SystemClass) return tstType.SameType(this); return this == tstType; }