<?xml version="1.0" encoding="iso-8859-1"?>
<ErrorDocumentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ErrorName>CS0199</ErrorName>
  <Examples>
    <string>// cs0158.cs: A static readonly field cannot be passed ref or out (except in a static constructor)
// Line: 16

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>
  </Examples>
</ErrorDocumentation>