Files
mono/mcs/errors/cs0272.cs
T
Marek Safar 0c31213775 error messages review
svn path=/trunk/mcs/; revision=46724
2005-06-29 14:55:08 +00:00

21 lines
304 B
C#

// cs0272.cs: The property or indexer `P.Prop' cannot be used in this context because the set accessor is inaccessible
// Line: 19
class P
{
public static int Prop
{
get {
return 4;
}
private set {}
}
}
public class C
{
public static void Main ()
{
P.Prop = 453422;
}
}