2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / errors / cs0122-2.cs
1 // cs0122.cs: prop is not accessible due to its protection level
2 // Line: 19
3 // Compiler options: -t:library
4
5 class A
6 {
7         int i;
8
9         int prop
10         {
11                 set { i = value; }
12         }
13 }
14
15 class B : A
16 {
17         void M ()
18         {
19                 prop = 2;
20         }
21 }