[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0844-3.cs
1 // CS0844: A local variable `top' cannot be used before it is declared. Consider renaming the local variable when it hides the member `X.top'
2 // Line: 17
3
4 class Symbol
5 {
6 }
7
8 class X
9 {
10         Symbol top;
11
12         internal int Enter (Symbol key, object value)
13         {
14                 if (key != null) {
15                         top = key;
16                 }
17                 object top = null;
18                 return top.Count;
19         }
20 }