2009-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / cs0122-30.cs
blobaa461653646b325289f7531cd881f5d8e6e88c34
1 // CS0122: `MainClass.Nested.Delegate()' is inaccessible due to its protection level
2 // Line: 18
4 delegate int TestDelegate ();
6 public class MainClass
8 class Nested
10 static int Delegate ()
12 return 0;
16 public static void Main ()
18 TestDelegate delegateInstance = new TestDelegate (Nested.Delegate);