In ilasm/tests:
[mcs.git] / errors / cs0136-6.cs
blob9dff24c5531c45bec98de5f930792b4a767a06c1
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
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 () {}