resync
[mcs.git] / errors / cs0136-3.cs
blob6a8c82e1a61e6db8a67eb5481e11e8f80dcf7717
1 // 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 to denote something else
2 // Line: 8
4 class X
6 static void y () { }
7 static void Main () {
8 y ();
9 int y = 5;