EventHandlerType is going to be a delegate and we keep the Invoke method on all delegates as a rule. We could analyze this and avoid a warning.
Alternatively, we could introduce a new API on EventInfo to get the MethodInfo for the delegate Invoke method. EventInfo already has such proxy shortcut property such as EventInfo.IsMulticast
EventHandlerTypeis going to be a delegate and we keep theInvokemethod on all delegates as a rule. We could analyze this and avoid a warning.Alternatively, we could introduce a new API on
EventInfoto get theMethodInfofor the delegateInvokemethod.EventInfoalready has such proxy shortcut property such asEventInfo.IsMulticast