<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS8154</ErrorName>
  <Examples>
    <string>// CS8154: The body of `TestClass.TestFunction()' cannot be an iterator block because the method returns by reference
// Line: 10

class TestClass
{
    int x;

    ref int TestFunction()
    {
        yield return x;
    }
}</string>
  </Examples>
</ErrorDocumentation>