<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0542</ErrorName>
  <Examples>
    <string>// CS0542: `Program.Program(object)': member names cannot be the same as their enclosing type
// Line: 6

class Program
{
	void Program (object sender)
	{
	}
}

</string>
    <string>// CS0542: `X.X': member names cannot be the same as their enclosing type
// Line: 4
class X {
	int X;
}

</string>
    <string>// CS0542: `C.C&lt;T&gt;()': member names cannot be the same as their enclosing type
// Line: 6

class C
{
	public static void C&lt;T&gt; ()
	{
	}
}

</string>
    <string>// CS0542: `Same.Same': member names cannot be the same as their enclosing type
// Line: 6

public class Same
{
	public class Same
	{
	}
}
</string>
    <string>// CS0542: `Item.this[int]': member names cannot be the same as their enclosing type
// Line: 6

class Item
{
	public int this[int i] {
		set {}
	}
}

</string>
  </Examples>
</ErrorDocumentation>