public static int TestITestPresSig(ITestPresSig itest) { ITestPresSig itest2; if (itest.SByteIn(-100) != 0) { return(1000); } if (itest.ByteIn(100) != 0) { return(1001); } if (itest.ShortIn(-100) != 0) { return(1002); } if (itest.UShortIn(100) != 0) { return(1003); } if (itest.IntIn(-100) != 0) { return(1004); } if (itest.UIntIn(100) != 0) { return(1005); } if (itest.LongIn(-100) != 0) { return(1006); } if (itest.ULongIn(100) != 0) { return(1007); } if (itest.FloatIn(3.14f) != 0) { return(1008); } if (itest.DoubleIn(3.14) != 0) { return(1009); } if (itest.ITestIn(itest) != 0) { return(1010); } if (itest.ITestOut(out itest2) != 0) { return(1011); } return(0); }
public int ITestIn([MarshalAs(UnmanagedType.Interface)] ITestPresSig val) { if (val == null) { return(11); } if (null == val as ManagedTestPresSig) { return(12); } return(0); }
public static extern int mono_test_marshal_ccw_itest([MarshalAs(UnmanagedType.Interface)] ITestPresSig itest);
public int ITestOut([MarshalAs(UnmanagedType.Interface)] out ITestPresSig val) { val = new ManagedTestPresSig(); return(0); }
public static int TestITestPresSig(ITestPresSig itest) { ITestPresSig itest2; if (itest.SByteIn (-100) != 0) return 1000; if (itest.ByteIn (100) != 0) return 1001; if (itest.ShortIn (-100) != 0) return 1002; if (itest.UShortIn (100) != 0) return 1003; if (itest.IntIn (-100) != 0) return 1004; if (itest.UIntIn (100) != 0) return 1005; if (itest.LongIn (-100) != 0) return 1006; if (itest.ULongIn (100) != 0) return 1007; if (itest.FloatIn (3.14f) != 0) return 1008; if (itest.DoubleIn (3.14) != 0) return 1009; if (itest.ITestIn (itest) != 0) return 1010; if (itest.ITestOut (out itest2) != 0) return 1011; return 0; }