<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0128</ErrorName>
  <Examples>
    <string>// CS0128: A local variable named `res' is already defined in this scope
// Line: 13

class C
{
	static void Foo (int arg)
	{
		switch (arg) {
			case 1:
				int res = 1;
				break;
			case 2:
				int res = 2;
				break;
		}
	}
}
</string>
    <string>// CS0128: A local variable named `x' is already defined in this scope
// Line: 9

class X
{
	public static void Main ()
	{
		Foo (out int x);
		Foo (out int x);
	}

	static void Foo (out int arg)
	{
		arg = 2;
	}
}</string>
    <string>// CS0128: A local variable named `x' is already defined in this scope
// Line: 8

class x {
	static int y ()
	{
		int x = 1;
		int x = 2;

		return x + x;
	}
}
</string>
    <string>// CS0128: A local variable named `xx' is already defined in this scope
// Line: 9

class X
{
	public static void Main ()
	{
		short xx;
		var (xx, yy) = (1, 'g');
	}
}</string>
    <string>// CS0128: A local variable named `s' is already defined in this scope
// Line: 12

class C
{
	public static void Main ()
	{
		object o = null;

		var x1 = o is string s;
		var x2 = o is string s;
	}
}
</string>
  </Examples>
</ErrorDocumentation>