<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0199</ErrorName>
  <Examples>
    <string>// CS0199: A static readonly field `ClassMain.index' cannot be passed ref or out (except in a static constructor)
// Line: 19

class ClassMain {
        static readonly int index;

        static ClassMain ()
        {
                GetMaxIndex (ref index);
        }

        static void GetMaxIndex (ref int value)
        {
                value = 5;
        }

        public static void Main ()
        {
                GetMaxIndex (ref index);
        }
}

</string>
    <string>// CS0199: A static readonly field `X.f' cannot be passed ref or out (except in a static constructor)
// Line: 10

class X
{
	static readonly int f = 0;

	public static void Main ()
	{
		ref int j = ref f;
	}
}</string>
  </Examples>
</ErrorDocumentation>