Guard agains NullReference exceptions when EventInfo.AddMethod.Invoke returns null in EventTriggerBase.RegisterEvent.