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

IsNullType() public méthode

public IsNullType ( ) : bool
Résultat bool
        public bool IsNullType() { return this is NullType; }
        public bool IsOpenTypePlaceholderType() { return this is OpenTypePlaceholderType; }

Usage Example

        ////////////////////////////////////////////////////////////////////////////////

        private static bool IsReallyAType(CType pType)
        {
            if (pType.IsNullType() || pType.IsBoundLambdaType() ||
                pType.IsVoidType() ||
                pType.IsMethodGroupType())
            {
                return false;
            }
            return true;
        }
All Usage Examples Of Microsoft.CSharp.RuntimeBinder.Semantics.CType::IsNullType