Task <int> IBasic.ThrowException(ThrowExceptionType type) { _log.Add($"ThrowException({type})"); ThrowExceptionHelper.Throw(type); return(Task.FromResult(1)); }
int IBasicSync.ThrowException(ThrowExceptionType type) { _log.Add($"ThrowException({type})"); ThrowExceptionHelper.Throw(type); return(1); }