[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0192-2.cs
1 // CS0192: A readonly field `A.a' cannot be passed ref or out (except in a constructor)
2 // Line: 15
3
4 class A
5 {
6         public readonly int a;
7         
8         public void Inc (out int a)
9         {
10             a = 3;
11         }
12         
13         public void IncCall ()
14         {
15                 Inc (out a);
16         }
17 }