2010-04-03 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0844-2.cs
blob051557d2d52cb58d78aae245ea9410f65a1ece0e
1 // CS0844: A local variable `y' cannot be used before it is declared. Consider renaming the local variable when it hides the field `X.y'
2 // Line: 8
4 class X
6 static int y;
7 static void Main () {
8 y = 10;
9 int y = 5;