Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / errors / cs0844-4.cs
1 // CS0844: A local variable `s' cannot be used before it is declared. Consider renaming the local variable when it hides the member `C.s'
2 // Line: 10
3
4 class C
5 {
6         const string s = "s";
7
8         public void Test ()
9         {
10                 s = "x";
11                 string s = "a";
12         }
13 }