private void CheckEventBindingMethod(BindingEvent bindingEvent, MethodInfo method) { if (!IsScenarioSpecificEvent(bindingEvent) && !method.IsStatic) { throw errorProvider.GetNonStaticEventError(method); } //TODO: check parameters, etc. }