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

checkBogus() public méthode

public checkBogus ( ) : bool
Résultat bool
        public bool checkBogus() { return _isBogus; }
        public bool getBogus() { return _isBogus; }

Usage Example

Exemple #1
0
        public bool CheckBogus(CType pType)
        {
            if (pType == null)
            {
                return(false);
            }

            if (!pType.hasBogus())
            {
                bool fBogus = pType.computeCurrentBogusState();

                if (fBogus)
                {
                    // Only set this if everything is declared or
                    // at least 1 declared thing is bogus
                    pType.setBogus(fBogus);
                }
            }

            return(pType.hasBogus() && pType.checkBogus());
        }
All Usage Examples Of Microsoft.CSharp.RuntimeBinder.Semantics.CType::checkBogus