[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0122-2.cs
1 // CS0122: `A.prop' is inaccessible 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 }