2 writes to _ftpWebResponse
System.Net.Requests (2)
System\Net\FtpWebRequest.cs (2)
1669_ftpWebResponse = new FtpWebResponse(responseStream, contentLength, connection.ResponseUri, connection.StatusCode, connection.StatusLine, connection.LastModified, connection.BannerMessage, connection.WelcomeMessage, connection.ExitMessage); 1671_ftpWebResponse = new FtpWebResponse(responseStream, -1, _uri, FtpStatusCode.Undefined, null, DateTime.Now, null, null, null);
21 references to _ftpWebResponse
System.Net.Requests (21)
System\Net\FtpWebRequest.cs (21)
530if (_ftpWebResponse != null) 532return _ftpWebResponse; 599return _ftpWebResponse!; 613if (_ftpWebResponse != null) 616asyncResult.InvokeCallback(_ftpWebResponse); 706return _ftpWebResponse!; 1107_exception = new WebException(exception.Message, null, ((WebException)exception).Status, _ftpWebResponse); 1116_exception = new WebException(SR.Format(SR.net_ftp_servererror, connection.StatusLine), exception, WebExceptionStatus.ProtocolError, _ftpWebResponse); 1123if (connection != null && _ftpWebResponse != null) 1124_ftpWebResponse.UpdateStatus(connection.StatusCode, connection.StatusLine, connection.ExitMessage); 1179_ftpWebResponse!.UpdateStatus(connection.StatusCode, connection.StatusLine, connection.ExitMessage); 1283_ftpWebResponse!.UpdateStatus(connection.StatusCode, connection.StatusLine, connection.ExitMessage); 1358!_ftpWebResponse!.IsFromCache) 1629if (_ftpWebResponse == null || (_ftpWebResponse.GetResponseStream() is FtpWebResponse.EmptyStream && _stream != null)) 1633if (_ftpWebResponse == null || (_ftpWebResponse.GetResponseStream() is FtpWebResponse.EmptyStream && _stream != null)) 1662if (_ftpWebResponse != null) 1664_ftpWebResponse.SetResponseStream(responseStream); 1677if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Returns {_ftpWebResponse} with stream {_ftpWebResponse._responseStream}");