1 // cs0199.cs: A static readonly field cannot be passed ref or out (except in a static constructor)
\r// Line: 19
\r
2 class ClassMain {
\r static readonly int index;
\r
4 {
\r GetMaxIndex (ref index);
\r }
\r
5 static void GetMaxIndex (ref int value)
7 public static void Main ()
8 {
\r GetMaxIndex (ref index);
\r }
\r}
\r