2010-03-30 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0192-2.cs
blob35a84ee0e0e6f51515fce92fc18ce63e9344d53d
1 // cs0192-2.cs: A readonly field `A.a' cannot be passed ref or out (except in a constructor)
2 // Line: 15
4 class A
6 public readonly int a;
8 public void Inc (out int a)
10 a = 3;
13 public void IncCall ()
15 Inc (out a);