Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / errors / cs1955.cs
1 // CS1955: The member `Y.x' cannot be used as method or delegate
2 // Line: 17
3
4 using System;
5
6 class Y
7 {
8         public int x { get { return 1; } }
9 }
10
11 class X
12 {
13         static int Main ()
14         {
15                 Y y = new Y ();
16
17                 y.x ();
18                 return 0;
19         }
20 }