Replace SIZEOF_REGISTER with sizeof(mgreg_t) for consistency with sizeof(gpointer)
[mono.git] / mcs / errors / gcs0069.cs
1 // CS0069: Event in interface cannot have add or remove accessors
2 // Line: 11
3
4 using System;
5
6 public delegate void FooHandler ();
7
8 interface IBar<T>
9 {
10         event FooHandler OnFoo {
11                 remove { }
12         }
13 }
14