2005-06-29 Sureshkumar T <tsureshkumar@novell.com>
[mono.git] / mcs / errors / cs1690.cs
1 // cs1690.cs: Cannot call methods, properties, or indexers on 'A.point' because it is a value type member of a marshal-by-reference class
2 // Line: 21
3
4 using System;
5
6 public struct Point
7 {
8         public void Error () {}
9 }
10
11 public class A : MarshalByRefObject
12 {
13    public Point point = new Point ();
14 }
15
16 public class Test
17 {
18    public static void Main ()
19    {
20         A a = new A ();
21         a.point.Error ();
22    }
23 }