2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs1955.cs
blobace2ddce385f5e4aa9617f2e63db6997ab1e7b1b
1 // CS1955: The member `Y.x' cannot be used as method or delegate
2 // Line: 17
4 using System;
6 class Y
8 public int x { get { return 1; } }
11 class X
13 static int Main ()
15 Y y = new Y ();
17 y.x ();
18 return 0;