2010-06-04 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0136-6.cs
blobe34cd4a400392280e9780f5b1cf185d60135abd6
1 // 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 to denote something else
2 // Line: 19
4 using System.Collections;
6 class Symbol
10 class X
12 Symbol top;
14 internal int Enter (Symbol key, object value)
16 if (key != null) {
17 top = key;
19 Hashtable top = new Hashtable ();
20 return top.Count;
23 public static void Main () {}