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

HasErrors() public méthode

public HasErrors ( ) : bool
Résultat bool
        public bool HasErrors()
        {
            return _fHasErrors;
        }
        public void SetErrors(bool fHasErrors)

Usage Example

Exemple #1
0
        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
        }
All Usage Examples Of Microsoft.CSharp.RuntimeBinder.Semantics.CType::HasErrors