Returns the methods that have been associated with the event in metadata using the .other directive, specifying whether to include non-public methods.
An array of System.Reflection.EventInfo objects representing methods that have been associated with an event in metadata by using the .other directive. If there are no methods matching the specification, an empty array is returned.
The metadata for an event can associate four kinds of methods with the event:
The .addon directive specifies the method used to add event handlers. Use the erload:System.Reflection.EventInfo.GetAddMethod method to retrieve an System.Reflection.EventInfo for that method.
The .removeon directive specifies the method used to detach event handlers. Use the erload:System.Reflection.EventInfo.GetRemoveMethod method to retrieve an System.Reflection.EventInfo for this method.
The .fire directive specifies the method used to raise the event. Use the erload:System.Reflection.EventInfo.GetRaiseMethod method to retrieve an System.Reflection.EventInfo for this method.
The .other directive specifies any other methods associated with the event. Use the erload:System.Reflection.EventInfo.GetOtherMethods method to retrieve an array of System.Reflection.EventInfo objects for those methods.
The methods associated with an event using the .other directive have no special significance to the runtime. The C# and Visual Basic compilers do not use the .other directive.