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