<?xml version="1.0" encoding="us-ascii"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS1624</ErrorName>
  <Examples>
    <string>// cs1624-2.cs: The body of `X.this[int].set' cannot be an iterator block because `void' is not an iterator interface type
// Line: 15
using System;
using System.Collections;

class X
{
	IEnumerator this [int u]
	{
	    get {
		yield return 1;
		yield return 2;
		yield return 3;
	    }
	    set
	    {
		yield return 3;		
	    }	    
	}
}
</string>
    <string>// cs1624.cs: The body of `X.Test(int)' cannot be an iterator block because `System.Collections.ArrayList' is not an iterator interface type
// Line: 8
using System;
using System.Collections;

class X
{
	public static ArrayList Test (int a)
	{
		yield return 0;
        }

	static void Main ()
	{
		IEnumerable a = Test (3);
		Console.WriteLine (a);
	}
}
</string>
  </Examples>
</ErrorDocumentation>