5 static void TestRefValue (__arglist
)
7 ArgIterator args
= new ArgIterator (__arglist
);
9 var o
= __refvalue ( args
.GetNextArg (),int);
10 for (int i
= 0; i
< args
.GetRemainingCount (); i
++) {
11 Console
.WriteLine (__refvalue (args
.GetNextArg (), int));
15 public static int Main ()
18 TypedReference tr
= __makeref (i
);
19 Type t
= __reftype (tr
);
20 if (t
!= i
.GetType ())
23 TestRefValue (__arglist (5, 1, 2));