7 writes to storedLength
System (7)
net\System\Net\mail\BufferedReadStream.cs (7)
133this.storedLength = count; 146this.storedLength += count - this.storedOffset; 153this.storedLength += count - this.storedOffset; 178this.storedLength = count; 188this.storedLength += count; 196this.storedLength = count + newBufferPosition; 207this.storedLength = count + newBufferPosition;
21 references to storedLength
System (21)
net\System\Net\mail\BufferedReadStream.cs (21)
62if (this.storedOffset < this.storedLength) 64read = Math.Min(count, this.storedLength - this.storedOffset); 80if (this.storedOffset >= this.storedLength) 85read = Math.Min(count, this.storedLength - this.storedOffset); 106if (this.storedOffset < this.storedLength) 126if (this.storedOffset == this.storedLength) 143else if (count <= this.storedBuffer.Length - this.storedLength + this.storedOffset) 145Buffer.BlockCopy(this.storedBuffer, this.storedOffset, this.storedBuffer, count, this.storedLength - this.storedOffset); 151byte[] newBuffer = new byte[count + this.storedLength - this.storedOffset]; 152Buffer.BlockCopy(this.storedBuffer, this.storedOffset, newBuffer, count, this.storedLength - this.storedOffset); 171if (this.storedOffset == this.storedLength) 184if (count <= this.storedBuffer.Length - this.storedLength) 187newBufferPosition = this.storedLength; 191else if (count <= this.storedBuffer.Length - this.storedLength + this.storedOffset) 193Buffer.BlockCopy(this.storedBuffer, this.storedOffset, this.storedBuffer, 0, this.storedLength - this.storedOffset); 194newBufferPosition = this.storedLength - this.storedOffset; 202byte[] newBuffer = new byte[count + this.storedLength - this.storedOffset]; 204Buffer.BlockCopy(this.storedBuffer, this.storedOffset, newBuffer, 0, this.storedLength - this.storedOffset); 205newBufferPosition = this.storedLength - this.storedOffset; 227if (parent.storedOffset < parent.storedLength) 229this.read = Math.Min(count, parent.storedLength - parent.storedOffset);