<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS1656</ErrorName>
  <Examples>
    <string>// CS1656: Cannot assign to `i' because it is a `foreach iteration variable'
// Line: 14

using System.Collections;

class Test {
	static IEnumerable foo () { return null; }

	static void Main ()
	{
		IEnumerable f = foo ();
		if (f != null)
			foreach (int i in f)
				i = 0;
	}
}
</string>
    <string>// CS1656: Cannot assign to `i' because it is a `foreach iteration variable'
// Line: 9

class Test
{
	static void Main ()
	{
		foreach (int i in new int[] { 1, 2})
			i++;
	}
}
</string>
    <string>// CS1656: Cannot assign to `i' because it is a `foreach iteration variable'
// Line: 9

class X {

	static void Main ()
	{
		foreach (int i in new int[] { 2, 3 }) {
		    i = 4;
		}
	}
}
	
</string>
    <string>// CS1656: Cannot assign to `m' because it is a `using variable'
// Line: 10
using System.IO;

class X {

	static void Main ()
	{
		using (MemoryStream m = new MemoryStream ()){
			m = null;
		}
	}
}
	
</string>
    <string>// CS1656: Cannot assign to `p' because it is a `fixed variable'
// Line: 10
// Compiler options: -unsafe

unsafe class X {

	static int x = 0;
	static void Main () {
		fixed (int* p = &amp;x) {
		    p = (int*)22;
		}
	}		    
}
	
</string>
    <string>// CS1656: Cannot assign to `Method_1' because it is a `method group'
// Line: 14

public class Test
{
	void Method_1 ()
	{
	}
	
        public static void Main ()
        {
		Test t = new Test ();
		
                t.Method_1 += delegate {  };
        }
}
</string>
  </Examples>
</ErrorDocumentation>