7 writes to m_ReadBytes
System (7)
net\System\Net\_ConnectStream.cs (7)
258m_ReadBytes = readCount; 1573m_ReadBytes -= bytesTransferred; 1586m_ReadBytes = 0; 2073m_ReadBytes -= bytesTransferred; 2082m_ReadBytes = 0; 2845m_ReadBytes -= m_ReadBufferSize; 2857m_ReadBytes = 0;
30 references to m_ReadBytes
System (30)
net\System\Net\_ConnectStream.cs (30)
281" ContentLength: " + m_ReadBytes + " m_Chunked:" + m_Chunked.ToString()); 579else if (m_ReadBytes == 0) { 582else if (m_ReadBytes == -1) { 1471GlobalLog.Print("(start)m_ReadBytes = "+m_ReadBytes); 1509if (m_ReadBytes != -1) { 1510bytesToRead = (int)Math.Min(m_ReadBytes, (long)size); 1551if (m_ReadBytes != -1) { 1572if (m_ReadBytes != -1) { 1575GlobalLog.Assert(m_ReadBytes >= 0, "ConnectStream: Attempting to read more bytes than available.|m_ReadBytes < 0"); 1577GlobalLog.Print("m_ReadBytes = "+m_ReadBytes); 1579if (m_ReadBytes < 0) 1584if (m_ReadBytes == 0 || doneReading) { 1596GlobalLog.Print("(end)m_ReadBytes = "+m_ReadBytes); 1746if (m_ReadBytes != -1) { 1747bytesToRead = (int)Math.Min(m_ReadBytes, (long)size); 1784GlobalLog.Assert(m_DoneCalled == 0 || m_ReadBytes != -1, "BeginRead: Calling BeginRead after ReadDone.|m_DoneCalled > 0 && m_ReadBytes == -1"); 2054if (m_ReadBytes != -1 && (bytesTransferred < 0 || !zeroLengthRead)) 2072if (m_ReadBytes != -1) { 2075GlobalLog.Assert(m_ReadBytes >= 0, "ConnectStream: Attempting to read more bytes than available.|m_ReadBytes < 0"); 2077GlobalLog.Print("m_ReadBytes = "+m_ReadBytes); 2080if (m_ReadBytes == 0 || doneReading) { 2828long ReadBytes = m_ReadBytes; 2832GlobalLog.Print("ConnectStream#" + ValidationHelper.HashString(this) + "::DrainSocket() m_ReadBytes:" + m_ReadBytes.ToString() + " m_ReadBufferSize:" + m_ReadBufferSize.ToString()); 2841GlobalLog.Print("ConnectStream#" + ValidationHelper.HashString(this) + "::DrainSocket() m_ReadBytes:" + m_ReadBytes.ToString() + " m_ReadOffset:" + m_ReadOffset.ToString()); 2843if (m_ReadBytes != -1) { 2847GlobalLog.Print("m_ReadBytes = "+m_ReadBytes); 2855if (m_ReadBytes < 0) { 2856GlobalLog.Print("ConnectStream#" + ValidationHelper.HashString(this) + "::DrainSocket() m_ReadBytes:" + m_ReadBytes.ToString() + " incorrect Content-Length? setting m_ReadBytes to 0 and returning false."); 2897if ((drainTimeoutMilliseconds == 0) || (m_ReadBytes > c_MaxDrainBytes)) { 2898GlobalLog.Print("ConnectStream#" + ValidationHelper.HashString(this) + "::DrainSocket() m_ReadBytes:" + m_ReadBytes.ToString() + " Closing the Connection");