(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / errors / cs0199.cs
blobc8c53648e7ebaf3ad2bbfb6f602e7dfdc6d4a0c4
1 // cs0199.cs: A static readonly field cannot be passed ref or out (except in a static constructor) // Line: 19
2 class ClassMain { static readonly int index;
3 static ClassMain ()
4 { GetMaxIndex (ref index); }
5 static void GetMaxIndex (ref int value)
6 { value = 5; }
7 public static void Main ()
8 { GetMaxIndex (ref index); } }