Files
mono/mcs/errors/cs0200.cs
T
Miguel de Icaza eeffa700cf Add more tests
svn path=/trunk/mcs/; revision=1153
2001-10-12 01:24:02 +00:00

16 lines
177 B
C#
Executable File

// cs0200: can not assign to property X.P -- it is readonly
// line: 12
class X {
static int P {
get {
return 1;
}
}
static int Main ()
{
P = 10;
return 1;
}
}