Does anyone know the attributes or xml comments required to get the “new EventHandler(blah); (Press TAB to insert)” ability when you += an event?
Here are the two methods I’ve tried.
public EventHandler AnEvent;
public delegate void CustomEventHandler(object o, System.EventArgs e);
public CustomEventHandler AnotherEvent;
Neither seem to make intellisense show up. I’m sure I’m doing something wrong.
Nevermind, I forgot the “event” keyword.
There are no XML comments or attributes which affect this process. It is a feature specific to C# events and should show up for them. Are you seeing a case where this is not showing up?