﻿<?xml version="1.0" encoding="utf-8"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0136</ErrorName>
  <Examples>
    <string>// cs0136-2.cs: A local variable named `j' cannot be declared in this scope because it would give a different meaning to `j', which is already used in a `method argument' scope
// Line: 5
class X {
	public static void Bar (int j, params int [] args)
	{
		foreach (int j in args)
			;
	}
}
</string>
    <string>// cs0136-3.cs: A local variable named `y' cannot be declared in this scope because it would give a different meaning to `y', which is already used in a `parent or current' scope
// Line: 8

class X
{
   static void y () { }
   static void Main () {
     y ();
     int y = 5;
   }
}
</string>
    <string>// cs0136-4.cs: A local variable named `y' cannot be declared in this scope because it would give a different meaning to `y', which is already used in a `parent or current' scope
// Line: 8

class X
{
	static int y;
	static void Main () {
		y = 10;
		int y = 5;
	}
}
</string>
    <string>// cs0136-5.cs: A local variable named `i' cannot be declared in this scope because it would give a different meaning to `i', which is already used in a `child' scope
// Line: 9
class X {
	void b ()
	{
		{
			string i;
		}
		int i;
	}
}


</string>
    <string>// cs0136-6.cs: A local variable named `top' cannot be declared in this scope because it would give a different meaning to `top', which is already used in a `parent or current' scope
// Line: 19

using System.Collections;

class Symbol
{
}

class X
{
		Symbol top;
	
		internal int Enter (Symbol key, object value)
		{
 			if (key != null) {
				top = key;					
			}
			Hashtable top = new Hashtable ();
			return top.Count;
		}
		
		public static void Main () {}
}
</string>
    <string>// cs0136.cs: A local variable named `i' cannot be declared in this scope because it would give a different meaning to `i', which is already used in a `parent' scope
// Line: 8
class X {
	void b ()
	{
		int i;
		{
			string i;
		}
	}
}


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