2 // Tests invocation of reference type functions with value type arguments
19 public static int Main ()
21 if ("Hello" != A
.Hello
.ToString ())
24 Console
.WriteLine ("value is: " + (5.ToString ()));
25 if (5.ToString () != "5")
29 if (y
.value.ToString () != "3"){
30 string x
= y
.value.ToString ();
31 Console
.WriteLine ("Got: {0} expected 3", x
);
34 Console
.WriteLine ("Test ok");