[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / errors / cs0122-7.cs
1 // CS0122: `BB.AnEvent' is inaccessible due to its protection level
2 // Line: 10
3
4 using System;
5
6 class X 
7 {
8        static void Main ()
9        {
10                BB b = new BB ();
11                b.AnEvent += DoIt;
12        }
13        
14        public static void DoIt (object sender, EventArgs args) {}
15 }
16
17 public class BB
18 {
19        event EventHandler AnEvent;
20 }
21