[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / errors / cs0199.cs
blobb89f2abd51b6a14b5f01d4eef1a3b1c37b9dd752
1 // CS0199: A static readonly field `ClassMain.index' cannot be passed ref or out (except in a static constructor)
2 // Line: 19
4 class ClassMain {
5 static readonly int index;
7 static ClassMain ()
9 GetMaxIndex (ref index);
12 static void GetMaxIndex (ref int value)
14 value = 5;
17 public static void Main ()
19 GetMaxIndex (ref index);