Exemplo n.º 1
0
        public static object Test_MixedGenericParameterAndTypeGenerics_RetT_2()
        {
            int    w = 1;
            object t = new object();
            int    v = 2;

            return(GenericMethodInsideGenericType <object, object, int> .MixedGenericParameterAndTypeGenerics_RetT <int>(w, t, t, v));
        }
Exemplo n.º 2
0
        public static int Test_RetDuplicateV_1()
        {
            int v = 1;

            return(GenericMethodInsideGenericType <IKeeper <int>, IKeeper <object>, SimpleStruct> .RetDuplicateV <int>(v));
        }
Exemplo n.º 3
0
        public static object Test_OnlyGenericMethod_2()
        {
            var obj = 1;

            return(GenericMethodInsideGenericType <object, object, int> .OnlyGenericMethod <object>(obj));
        }
Exemplo n.º 4
0
 public static SimpleStruct Test_OnlyGenericMethod_1()
 {
     return(GenericMethodInsideGenericType <object, object, int> .OnlyGenericMethod <SimpleStruct>(new SimpleStruct()));
 }