Merge branch 'cecil-light'
[mono.git] / mcs / errors / cs0135-5.cs
1 // CS0135: `bar' conflicts with a declaration in a child block
2 // Line: 13
3
4 public class Foo
5 {
6         public static class Nested
7         {
8                 static int bar ()
9                 {
10                         return 0;
11                 }
12                 
13                 public static void Bar ()
14                 {
15                         var i = bar ();
16                         {
17                                 bool bar = false;
18                         }
19                 } 
20         }
21 }
22