2 using System
.Runtime
.InteropServices
;
6 public static int delegate_test (int a
)
14 [DllImport ("libtest", EntryPoint
="mono_test_empty_pinvoke")]
15 public static extern int mono_test_empty_pinvoke (int i
);
17 public static int Main (String
[] args
) {
21 repeat
= Convert
.ToInt32 (args
[0]);
23 Console
.WriteLine ("Repeat = " + repeat
);
25 for (int i
= 0; i
< (repeat
* 5000); i
++)
26 for (int j
= 0; j
< 10000; j
++)
27 mono_test_empty_pinvoke (5);