public void ExecuteInHostProcess(Type type, string methodName) { var result = _integrationService.Execute(type.Assembly.Location, type.FullName, methodName); if (result != null) { throw new InvalidOperationException("The specified call was not expected to return a value."); } }