public void InitFromParent()
{
Debug.Assert(!IsAggregateType());
CType typePar = null;
if (IsErrorType())
{
typePar = AsErrorType().GetTypeParent();
}
else
{
typePar = GetBaseOrParameterOrElementType();
}
_fHasErrors = typePar.HasErrors();
_fUnres = typePar.IsUnresolved();
#if CSEE
this.typeRes = this;
if (!this.fUnres)
{
this.tsRes = ktsImportMax;
}
this.fDirty = typePar.fDirty;
this.tsDirty = typePar.tsDirty;
#endif // CSEE
}