public static int Entry() { group2.Base <int, float> b = new group2.DerivedX2 <float>(); b.Foo(1, 1.2f); if (b.fld != 0) { return(1); } if (b.fldInt != 0) { return(2); } if (((group2.Derived <float, int>)b).fld != 0) { return(3); } if (((group2.DerivedX2 <float>)b).fldInt != 1) { return(4); } if (((group2.DerivedX2 <float>)b).fld != 0) { return(5); } return(0); }
public static void Entry() { group2.Inf <int, float> i = new group2.DerivedX2 <float>(); i.Foo(1, 1.2f); group2.Inf <float, int> i2 = null; i2.Foo(1.2f, 1); }
public static int Entry() { group2.Inf <int, float> i = new group2.DerivedX2 <float>(); i.Foo(1, 1.2f); group2.Inf <float, int> i2 = new group2.Derived <int, float>(); i2.Foo(1.2f, 1); if (((group2.Base <int, float>)i).fld != 0) { return(1); } if (((group2.Base <int, float>)i).fldInt != 0) { return(2); } if (((group2.Derived <float, int>)i).fld != 0) { return(3); } if (((group2.DerivedX2 <float>)i).fldInt != 0) { return(4); } if (((group2.DerivedX2 <float>)i).fld != 1.2f) { return(5); } if (((group2.Base <float, int>)i2).fld != 0) { return(6); } if (((group2.Base <float, int>)i2).fldInt != 0) { return(7); } if (((group2.Derived <int, float>)i2).fld != 1) { return(8); } if (((group2.Derived <int, float>)i2).fldInt != 0) { return(9); } return(0); }
public static void Entry() { group2.Base <int, float> b = new group2.DerivedX2 <float>(); b.Foo(1, 1.2f); }