Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git] / mcs / 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);