[corlib] Fixed StringBuilder construction bugs in marshalling caused by changes to...
[mono.git] / mcs / class / corlib / System.Reflection / MonoEvent.cs
index 4f354d0a6f7cca75b475c405df3ba0ef370d2abc..1395add035044a7598465401df1ca7f66048394c 100644 (file)
@@ -60,9 +60,18 @@ namespace System.Reflection {
                }
        }
 
+       abstract class RuntimeEventInfo : EventInfo
+       {
+               internal BindingFlags BindingFlags {
+                       get {
+                               return 0;
+                       }
+               }
+       }
+
        [Serializable]
        [StructLayout (LayoutKind.Sequential)]
-       internal sealed class MonoEvent: EventInfo, ISerializable
+       internal sealed class MonoEvent: RuntimeEventInfo, ISerializable
        {
 #pragma warning disable 169
                IntPtr klass;