コード例 #1
0
        private static void CallVirtOpcodeNonGenericInterfaceGenericMethod()
        {
            Console.WriteLine("Testing callvirt opcode for calling DIM on non-generic interface non-generic method");
            I2 c1 = new C1();

            if (c1.GetItemTypeGeneric <object>() != typeof(object))
            {
                throw new Exception("CallOpcodeGenericInterface failed");
            }
        }