Files
mono/mcs/errors/cs1955.cs
T
Marek Safar a9be24c5cd New test + update
svn path=/trunk/mcs/; revision=95245
2008-02-08 13:52:42 +00:00

21 lines
221 B
C#

// CS1955: The member `Y.x' cannot be used as method or delegate
// Line: 17
using System;
class Y
{
public int x { get { return 1; } }
}
class X
{
static int Main ()
{
Y y = new Y ();
y.x ();
return 0;
}
}