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