public int Method() { SomeEvent?.Invoke(this, -1); SomeOtherEvent?.Invoke(this, EventArgs.Empty); return(42); }
protected void OnBar(ResolveEventArgs e) { SomeOtherEvent?.Invoke(null, e); // Noncompliant }
public void Handle(SomeOtherEvent ev) { }