[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0188-6.cs
1 // CS0188: The `this' object cannot be used before all of its fields are assigned to
2 // Line: 10
3
4 struct B
5 {
6         public int a;
7
8         public B (int foo)
9         {
10                 Test (this);
11                 a = 1;
12         }
13
14         static void Test (B b)
15         {
16         }
17 }