In PostSharp, this delegate allowed the run-time code of the aspect to access an event in the target code. In Metalama,
no run-time helper is required because the template directly generates run-time code.
Use invokers (e.g. IEvent.IEvent.Add) to generate run-time code for any event.
[Obsolete("In PostSharp, this delegate allowed the run-time code of the aspect to access an event in the target code. In Metalama, no run-time helper is required because the template directly generates run-time code. Use invokers (e.g. 'IEvent'.'!:IEvent.Add') to generate run-time code for any event.", false)]
public delegate void EventAccessor<TDelegate>(TDelegate @delegate)