This commit was manufactured by cvs2svn to create branch 'mono-1-0'.
[mono.git] / mcs / errors / cs0122-2.cs
1 // cs0122.cs: prop is not accessible due to its protection level
2 //
3 class A
4 {
5         int i;
6
7         int prop
8         {
9                 set { i = value; }
10         }
11 }
12
13 class B : A
14 {
15         void M ()
16         {
17                 prop = 2;
18         }
19 }