<?xml version="1.0" encoding="us-ascii"?>
<ErrorDocumentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ErrorName>CS1622</ErrorName>
  <Examples>
    <string>// CS1622: Cannot return a value from iterators. Use the yield return statement to return a value, or yield break to end the iteration
// Line: 14

using System.Collections;

public class C
{
	internal static IEnumerable PrivateBinPath
	{
		get
		{
			string a = "a";
			if (a == null)
				return false;
			yield return a;
		}
	}
}
</string>
    <string>// CS1622: Cannot return a value from iterators. Use the yield return statement to return a value, or yield break to end the iteration
// Line: 21

using System.Collections.Generic;

namespace McsDiff
{
	class MyObj
	{
	}
	
	class MainClass
	{
		protected static IEnumerable&lt;MyObj&gt; GetStuff ()
		{
			yield return null;
			
			try {
			}
			catch {
				return;
			}
		}
	}
}
</string>
    <string>// CS1622: Cannot return a value from iterators. Use the yield return statement to return a value, or yield break to end the iteration
// Line: 21

using System.Collections.Generic;

namespace McsDiff
{
	class MyObj
	{
	}
	
	class MainClass
	{
		protected static IEnumerable&lt;MyObj&gt; GetStuff ()
		{
			yield return null;
			
			try {
			}
			catch {
				return true;
			}
		}
	}
}
</string>
    <string>// cs1622.cs: Cannot return a value from iterators. Use the yield return statement to return a value, or yield break to end the iteration
// Line: 11
using System.Collections;

class X {
	IEnumerator MyEnumerator (int a)
	{
		if (a == 0)
			yield return 1;
		else
			return null;
	}

	static void Main ()
	{
	}
}
</string>
  </Examples>
</ErrorDocumentation>