public Exception GetNonStaticEventError(IBindingMethod method) { throw new BindingException( string.Format("The binding methods for before/after feature and before/after test run events must be static! {0}", GetMethodText(method))); } }