1 // cs1690-2.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
9 public bool Error { get { return true; }
}
12 public class A
: MarshalByRefObject
14 public Point point
= new Point ();
19 public static void Main ()
22 bool b
= a
.point
.Error
;