1 write to _progress
System.Net.WebClient (1)
System\Net\WebClient.cs (1)
128
_progress
= new ProgressData();
21 references to _progress
System.Net.WebClient (21)
System\Net\WebClient.cs (21)
104
_progress
?.Reset();
871
Debug.Assert(
_progress
!= null, "ProgressData should have been initialized");
893
_progress
.TotalBytesToReceive = contentLength;
909
_progress
.BytesReceived += bytesRead;
910
if (
_progress
.BytesReceived !=
_progress
.TotalBytesToReceive)
912
PostProgressChanged(asyncOp,
_progress
);
919
if (
_progress
.TotalBytesToReceive < 0)
921
_progress
.TotalBytesToReceive =
_progress
.BytesReceived;
923
PostProgressChanged(asyncOp,
_progress
);
1010
Debug.Assert(
_progress
!= null, "ProgressData should have been initialized");
1011
_progress
.HasUploadPhase = true;
1026
_progress
.BytesSent += header.Length;
1027
PostProgressChanged(asyncOp,
_progress
);
1040
_progress
.BytesSent += bytesRead;
1041
PostProgressChanged(asyncOp,
_progress
);
1056
_progress
.BytesSent += toWrite;
1057
PostProgressChanged(asyncOp,
_progress
);
1064
_progress
.BytesSent += footer.Length;
1065
PostProgressChanged(asyncOp,
_progress
);