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