X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.Reflection%2FMonoEvent.cs;h=876de83bff0a9c2a5758d2d4f3babd590c34e9b9;hb=ac194553049b2eeb328f5fc54b708da9b95f4d88;hp=b87647cd80e69dc2ed2f3dbd3025b5238b12d8e2;hpb=d7c4554b909cb407b9727628ecd7c81b7caf8dd1;p=mono.git diff --git a/mcs/class/corlib/System.Reflection/MonoEvent.cs b/mcs/class/corlib/System.Reflection/MonoEvent.cs index b87647cd80e..876de83bff0 100644 --- a/mcs/class/corlib/System.Reflection/MonoEvent.cs +++ b/mcs/class/corlib/System.Reflection/MonoEvent.cs @@ -69,12 +69,28 @@ namespace System.Reflection { } } + public override Module Module { + get { + return GetRuntimeModule (); + } + } + + internal RuntimeType GetDeclaringTypeInternal () + { + return (RuntimeType) DeclaringType; + } + RuntimeType ReflectedTypeInternal { get { return (RuntimeType) ReflectedType; } } + internal RuntimeModule GetRuntimeModule () + { + return GetDeclaringTypeInternal ().GetRuntimeModule (); + } + #region ISerializable public void GetObjectData(SerializationInfo info, StreamingContext context) {