Microsoft.CSharp.RuntimeBinder.Semantics.CType.InitFromParent C# (CSharp) Méthode

InitFromParent() public méthode

public InitFromParent ( ) : void
Résultat void
        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
        }