2007-03-28 Chris Toshok <toshok@ximian.com>
[mono-project.git] / mcs / errors / cs0136-4.cs
blob74a623bf66edea4ee053487565ce9470de8701ad
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 to denote something else
2 // Line: 8
4 class X
6 static int y;
7 static void Main () {
8 y = 10;
9 int y = 5;