<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0131</ErrorName>
  <Examples>
    <string>// CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
// Line: 8

class X
{
	void Test ()
	{
		Foo () = 1;
	}

	static int Foo ()
	{
		return 1;
	}
}</string>
    <string>// CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
// Line: 15
// Compiler options: -unsafe

unsafe struct MyStruct
{
	public fixed char Name[32];
}

unsafe class MainClass
{
	public static void Main ()
	{
		var str = new MyStruct();
		str.Name = null;
	}
}
</string>
    <string>// CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
// Line: 10
using System;

class X
{
	static void Main ()
	{
		int a = 7;
		+a = 9;
	}
}
</string>
    <string>// CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
// Line: 12

using System;
using System.Collections;

class Test {
	public static void Main(string[] args) {
		ArrayList al = new ArrayList();
		al[0] = 0;
		
		Console.WriteLine(((int)al[0])++);
	}
}
</string>
    <string>// CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
// Line: 7

class X {
	void A ()
	{
		5 = 4;
	}
}
</string>
    <string>// CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
// Line: 17

public class Person
{
	string _name;

	public string Name
	{
		get { return _name; }
		set { _name = value; }
	}

	public static void Main ()
	{
		Person johnDoe = new Person ();
		(string) johnDoe.Name = "John Doe";
	}
}
</string>
  </Examples>
</ErrorDocumentation>