1 // cs1690-4.cs: Cannot call methods, properties, or indexers on `A.point' because it is a value type member of a marshal-by-reference class
3 // Compiler options: -warn:1 -warnaserror
17 public class A
: MarshalByRefObject
19 public Point point
= new Point ();
24 public static void Main ()
27 Console
.WriteLine (a
.point
.x
.val
);