3 overrides of Quotas
System.Private.DataContractSerialization (1)
System\Xml\XmlBaseReader.cs (1)
85
public override XmlDictionaryReaderQuotas
Quotas
System.ServiceModel.Primitives (2)
Internals\System\Xml\XmlMtomReader.cs (2)
181
public override XmlDictionaryReaderQuotas
Quotas
1157
public override XmlDictionaryReaderQuotas
Quotas
52 references to Quotas
System.Private.DataContractSerialization (29)
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (3)
27
internal XmlDictionaryReaderQuotas? ReaderQuotas => dictionaryReader?.
Quotas
;
82
buffer = ByteArrayHelperWithString.Instance.ReadArray(tempDictionaryReader, JsonGlobals.itemString, string.Empty, tempDictionaryReader.
Quotas
.MaxArrayLength);
86
buffer = ByteArrayHelperWithString.Instance.ReadArray(dictionaryReader, JsonGlobals.itemString, string.Empty, dictionaryReader.
Quotas
.MaxArrayLength);
System\Runtime\Serialization\XmlReaderDelegator.cs (2)
790
if (dictionaryReader?.
Quotas
== null)
793
return Math.Min(context.RemainingItemCount, dictionaryReader.
Quotas
.MaxArrayLength);
System\Xml\XmlDictionaryReader.cs (24)
353
return ReadContentAsBase64(
Quotas
.MaxArrayLength, MaxInitialArrayLength);
383
return ReadContentAsString(
Quotas
.MaxStringContentLength);
450
return ReadString(
Quotas
.MaxStringContentLength);
496
return ReadContentAsBinHex(
Quotas
.MaxArrayLength);
1032
return BooleanArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri,
Quotas
.MaxArrayLength);
1037
return BooleanArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri,
Quotas
.MaxArrayLength);
1060
return Int16ArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri,
Quotas
.MaxArrayLength);
1065
return Int16ArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri,
Quotas
.MaxArrayLength);
1091
return Int32ArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri,
Quotas
.MaxArrayLength);
1096
return Int32ArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri,
Quotas
.MaxArrayLength);
1119
return Int64ArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri,
Quotas
.MaxArrayLength);
1124
return Int64ArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri,
Quotas
.MaxArrayLength);
1147
return SingleArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri,
Quotas
.MaxArrayLength);
1152
return SingleArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri,
Quotas
.MaxArrayLength);
1175
return DoubleArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri,
Quotas
.MaxArrayLength);
1180
return DoubleArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri,
Quotas
.MaxArrayLength);
1203
return DecimalArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri,
Quotas
.MaxArrayLength);
1208
return DecimalArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri,
Quotas
.MaxArrayLength);
1231
return DateTimeArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri,
Quotas
.MaxArrayLength);
1236
return DateTimeArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri,
Quotas
.MaxArrayLength);
1259
return GuidArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri,
Quotas
.MaxArrayLength);
1264
return GuidArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri,
Quotas
.MaxArrayLength);
1287
return TimeSpanArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri,
Quotas
.MaxArrayLength);
1292
return TimeSpanArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri,
Quotas
.MaxArrayLength);
System.ServiceModel.Primitives (22)
Internals\System\Xml\XmlMtomReader.cs (3)
185
return _xmlReader.
Quotas
;
1152
_chunkSize = Math.Min(reader.
Quotas
.MaxBytesPerRead, _chunkSize);
1161
return _parentReader.
Quotas
;
System\ServiceModel\Channels\AddressHeader.cs (1)
345
XmlDictionaryWriter writer = _buffer.OpenSection(reader.
Quotas
);
System\ServiceModel\Channels\Message.cs (4)
1004
return OnCreateBufferedCopy(maxBufferSize, _reader.
Quotas
);
1384
reader.
Quotas
.CopyTo(_quotas);
1495
return OnCreateBufferedCopy(maxBufferSize, _reader.
Quotas
);
1895
return OnCreateBufferedCopy(maxBufferSize, _reader.
Quotas
);
System\ServiceModel\Channels\MessageFault.cs (2)
759
XmlDictionaryWriter writer = detail.OpenSection(reader.
Quotas
);
824
XmlDictionaryWriter writer = detail.OpenSection(reader.
Quotas
);
System\ServiceModel\Channels\MessageHeader.cs (1)
568
XmlDictionaryWriter writer = buffer.OpenSection(reader.
Quotas
);
System\ServiceModel\Channels\WsrmFault.cs (1)
762
XmlDictionaryWriter writer = buffer.OpenSection(headerReader.
Quotas
);
System\ServiceModel\EndpointAddress.cs (8)
500
XmlDictionaryWriter writer = buffer.OpenSection(reader.
Quotas
);
650
bufferWriter = buffer.OpenSection(reader.
Quotas
);
733
bufferWriter = buffer.OpenSection(reader.
Quotas
);
750
bufferWriter = buffer.OpenSection(reader.
Quotas
);
767
bufferWriter = buffer.OpenSection(reader.
Quotas
);
799
bufferWriter = buffer.OpenSection(reader.
Quotas
);
877
XmlDictionaryWriter writer = buffer.OpenSection(reader.
Quotas
);
1264
XmlDictionaryWriter writer = _metadataBuffer.OpenSection(reader.
Quotas
);
System\ServiceModel\Security\WSTrust.cs (2)
279
using (XmlDictionaryWriter writer = issuedTokenBuffer.OpenSection(reader.
Quotas
))
310
using (XmlDictionaryWriter writer = rstrBuffer.OpenSection(reader.
Quotas
))
System.ServiceModel.Syndication (1)
System\ServiceModel\Syndication\ExtensibleSyndicationObject.cs (1)
52
using (XmlDictionaryWriter writer = buffer.OpenSection(unparsedExtensionsReader.
Quotas
))