1 write to _maxBytesPerRead
System.Private.DataContractSerialization (1)
System\Xml\XmlBinaryReader.cs (1)
75
_maxBytesPerRead
= quotas.MaxBytesPerRead;
6 references to _maxBytesPerRead
System.Private.DataContractSerialization (6)
System\Xml\XmlBinaryReader.cs (6)
399
BufferReader.SetWindow(ElementNode.BufferOffset,
_maxBytesPerRead
);
855
if (_buffered && (BufferReader.Offset - startOffset) >
_maxBytesPerRead
)
856
XmlExceptionHelper.ThrowMaxBytesPerReadExceeded(this,
_maxBytesPerRead
);
881
int maxLength = Math.Max(
_maxBytesPerRead
- maxTextNodeLength, 0);
951
int maxLength = Math.Max(
_maxBytesPerRead
- maxTextNodeLength, 0);
993
int maxBytesPerRead = Math.Max(
_maxBytesPerRead
- nodeLength, 0);