2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0271.cs
blob710fc429567b774dc3b7b3e3db9e9b6d57b8bf78
1 // cs0271.cs: The property or indexer `P.Prop' cannot be used in this context because the get accessor is inaccessible
2 // Line: 19
4 class P
6 public static int Prop
8 private get {
9 return 4;
11 set {}
15 public class C
17 public static int Main ()
19 return P.Prop;