internal static MonoEventInfo GetEventInfo(MonoEvent ev) { MonoEventInfo mei; MonoEventInfo.get_event_info(ev, out mei); return(mei); }
internal static MonoEventInfo GetEventInfo(MonoEvent ev) { MonoEventInfo result; MonoEventInfo.get_event_info(ev, out result); return(result); }
internal static MonoEventInfo GetEventInfo (MonoEvent ev) { MonoEventInfo mei; MonoEventInfo.get_event_info (ev, out mei); return mei; }
static extern void get_event_info (MonoEvent ev, out MonoEventInfo info);
static EventInfo GetBaseEventDefinition (MonoEvent evt) { MethodInfo method = evt.GetAddMethod (true); if (method == null || !method.IsVirtual) method = evt.GetRaiseMethod (true); if (method == null || !method.IsVirtual) method = evt.GetRemoveMethod (true); if (method == null || !method.IsVirtual) return null; MethodInfo baseMethod = method.GetBaseMethod (); if (baseMethod != null && baseMethod != method) { BindingFlags flags = method.IsPublic ? BindingFlags.Public : BindingFlags.NonPublic; flags |= method.IsStatic ? BindingFlags.Static : BindingFlags.Instance; return baseMethod.DeclaringType.GetEvent (evt.Name, flags); } return null; }
static extern void get_event_info(MonoEvent ev, out MonoEventInfo info);
internal static extern int get_metadata_token(MonoEvent monoEvent);
static void get_event_info (MonoEvent ev, out MonoEventInfo info) { throw new System.NotImplementedException(); }
static void get_event_info(MonoEvent ev, out MonoEventInfo info) { throw new System.NotImplementedException(); }