[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0122-39.cs
1 // CS0122: `A.Y' is inaccessible due to its protection level
2 // Line: 8
3
4 public class Test
5 {
6         public static void Main ()
7         {
8                 var x = nameof (A.Y);
9         }
10 }
11          
12 public class A
13 {
14         private int Y { get; set; }
15 }