[mcs] Allows shadowing of probing pattern variables
[mono.git] / mcs / errors / cs0059.cs
1 // CS0059: Inconsistent accessibility: parameter type `ErrorCS0059' is less accessible than delegate `Foo.ErrorCS0059Delegate'
2 // Line: 10
3
4 using System;
5
6 class ErrorCS0059 {
7 }
8
9 public class Foo {
10         public delegate void ErrorCS0059Delegate (ErrorCS0059 e);
11
12         public static void Main () {
13         }
14 }
15