2005-06-29 Jonathan Chambers <jonathan.chambers@ansys.com>
[mcs.git] / errors / cs0136-4.cs
bloba9897edc0f6bc2079ab6c133fadaf6cb79655c40
1 // 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
2 // Line: 8
4 class X
6 static int y;
7 static void Main () {
8 y = 10;
9 int y = 5;