Merge pull request #5567 from kumpera/fix_59334
[mono.git] / mcs / errors / cs0844.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         string s;
7
8         public void Test ()
9         {
10                 s = "x";
11                 string s = "a";
12         }
13 }