void guard(Type type, MethodInfo methodInfo) { if(methodInfo == null) { throw new AwesomeException("No 'Execute' method was found on '{0}'".ToFormat(type.Name)); } }