public static ILGenerator AddToEvent <T>(this ILGenerator generator, string eventName) => generator.AddToEvent(typeof(T), eventName);
public static ILGenerator AddToEvent(this ILGenerator generator, Type type, string eventName) => generator.AddToEvent(GetEventInfo(type, eventName));