public bool Equals(IXamlIlEventInfo other) => (other as SreEvent)?.Event.Equals(Event) == true;
public bool Equals(IXamlIlEventInfo other) => other is CecilEvent cp && cp.Event == Event;