<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0828</ErrorName>
  <Examples>
    <string>// CS0828: An anonymous type property `Value' cannot be initialized with `null'
// Line: 9


public class Test
{
	static void Main ()
	{
		int A = 9;
		var v1 = new { A, Value = null };
	}
}
</string>
    <string>// CS0828: An anonymous type property `Value' cannot be initialized with `void'
// Line: 13


public class Test
{
	static void Error ()
	{
	}
	
	static void Main ()
	{
		var v = new { Value = Error () };
	}
}
</string>
    <string>// CS0827: An anonymous type property `Prop' cannot be initialized with `(int, method group)'
// Line: 9

class XX
{
	public static void Main ()
	{
		var m = new {
			Prop = (1, Main)
		};
	}
}</string>
    <string>// CS0828: An anonymous type property `Value' cannot be initialized with `anonymous method'
// Line: 8

public class Test
{
	static void Main ()
	{
		var v = new { Value = i =&gt; 1 };
	}
}
</string>
    <string>// CS0828: An anonymous type property `Value' cannot be initialized with `method group'
// Line: 12

public class Test
{
	static void Error ()
	{
	}
	
	static void Main ()
	{
		var v = new { Value = Error };
	}
}
</string>
    <string>// CS0828: An anonymous type property `Value' cannot be initialized with `int*'
// Line: 9
// Compiler options: -unsafe

public unsafe class Test
{
	static int* Error ()
	{
		return (int*)0;
	}
	
	static void Main ()
	{
		var v = new { Value = Error () };
	}
}
</string>
    <string>// CS0828: An anonymous type property `Value' cannot be initialized with `anonymous method'
// Line: 9


public class Test
{
	static void Main ()
	{
		var v = new { Value = delegate () { return 1; } };
	}
}
</string>
  </Examples>
</ErrorDocumentation>