3 writes to windowOffsetMax
System.Runtime.Serialization (3)
System\Xml\XmlBufferReader.cs (3)
78
this.
windowOffsetMax
= streamBuffer.Length;
112
this.
windowOffsetMax
= 0;
284
this.
windowOffsetMax
= Math.Max(windowOffset + windowLength, offsetMax);
6 references to windowOffsetMax
System.Runtime.Serialization (6)
System\Xml\XmlBufferReader.cs (6)
162
TryEnsureBytes(Math.Min(count,
windowOffsetMax
- offset));
192
if (offsetMax >=
windowOffsetMax
)
193
XmlExceptionHelper.ThrowMaxBytesPerReadExceeded(reader,
windowOffsetMax
- windowOffset);
214
XmlExceptionHelper.ThrowMaxBytesPerReadExceeded(reader,
windowOffsetMax
- windowOffset);
218
if (newOffsetMax >
windowOffsetMax
)
219
XmlExceptionHelper.ThrowMaxBytesPerReadExceeded(reader,
windowOffsetMax
- windowOffset);