<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS8176</ErrorName>
  <Examples>
    <string>// CS8176: Iterators cannot use by-reference variables
// Line: 12

using System.Collections.Generic;

class X
{
	int x;

	IEnumerable&lt;int&gt; Test ()
	{
		ref int y = ref x;
		yield break;
	}
}</string>
  </Examples>
</ErrorDocumentation>