[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0176-7.cs
1 // CS0176: Static member `A.Foo()' cannot be accessed with an instance reference, qualify it with a type name instead
2 // Line: 21
3
4 public class A
5 {
6         public static void Foo ()
7         {
8         }
9 }
10
11 public class Test
12 {
13         static A Prop
14         {
15                 get {
16                         return null;
17                 }
18         }
19
20         public static void Main ()
21         {
22                 Test.Prop.Foo ();
23         }
24 }