6 writes to storedOffset
System.Runtime.Serialization (6)
System\Xml\XmlMtomReader.cs (6)
2910
this.
storedOffset
+= read;
2922
return (int)this.storedBuffer[this.
storedOffset
++];
2947
this.
storedOffset
= 0;
2954
this.
storedOffset
-= count;
2960
this.
storedOffset
= 0;
2967
this.
storedOffset
= 0;
15 references to storedOffset
System.Runtime.Serialization (15)
System\Xml\XmlMtomReader.cs (15)
2906
if (this.
storedOffset
< this.storedLength)
2908
read = Math.Min(count, this.storedLength - this.
storedOffset
);
2909
Buffer.BlockCopy(this.storedBuffer, this.
storedOffset
, buffer, offset, read);
2921
if (this.
storedOffset
< this.storedLength)
2943
if (this.
storedOffset
== this.storedLength)
2953
if (count <= this.
storedOffset
)
2956
else if (count <= this.storedBuffer.Length - this.storedLength + this.
storedOffset
)
2958
Buffer.BlockCopy(this.storedBuffer, this.
storedOffset
, this.storedBuffer, count, this.storedLength - this.
storedOffset
);
2959
this.storedLength += count - this.
storedOffset
;
2964
byte[] newBuffer = new byte[count + this.storedLength - this.
storedOffset
];
2965
Buffer.BlockCopy(this.storedBuffer, this.
storedOffset
, newBuffer, count, this.storedLength - this.
storedOffset
);
2966
this.storedLength += count - this.
storedOffset
;
2971
Buffer.BlockCopy(buffer, offset, this.storedBuffer, this.
storedOffset
, count);