[ci] Only build the additional profiles on one arch instead of everywhere
[mono-project.git] / mcs / errors / cs0192.cs
blobc774495ab094ea0cef011f06e9e6fcdecdeff9df
1 // CS0192: A readonly field `A.a' cannot be passed ref or out (except in a constructor)
2 // Line: 17
4 using System;
6 class A
8 public readonly int a=5;
10 public void Inc (ref int a)
12 ++a;
15 public void IncCall ()
17 Inc (ref a);
20 static void Main ()