Merge pull request #4845 from lambdageek/dev-coop-delegates
[mono.git] / mcs / errors / cs0844-5.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                 set {}
8         }
9
10         public void Test ()
11         {
12                 s = "x";
13                 string s = "a";
14         }
15 }