Esempio n. 1
0
        static void TestNoValue()
        {
            Type t             = null;
            Type noValue       = Type.GetTypeFromHandle(t.TypeHandle);
            var  typeDelegator = new System.Reflection.TypeDelegator(noValue);

            typeDelegator.RequiresAll();
        }
Esempio n. 2
0
        static void TestNullValue()
        {
            var typeDelegator = new System.Reflection.TypeDelegator(null);

            typeDelegator.RequiresAll();
        }