30 instantiations of XmlDictionaryReaderQuotas
Extensibility.MessageEncoder.IntegrationTests (2)
CustomTextMessageBindingElement.cs (2)
22_readerQuotas = new XmlDictionaryReaderQuotas(); 40_readerQuotas = new XmlDictionaryReaderQuotas();
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
FormattingUtilities.cs (1)
23return new XmlDictionaryReaderQuotas()
System.Private.DataContractSerialization (2)
System\Xml\XmlBaseReader.cs (1)
71_quotas = new XmlDictionaryReaderQuotas();
System\Xml\XmlDictionaryReaderQuotas.cs (1)
34private static readonly XmlDictionaryReaderQuotas s_maxQuota = new XmlDictionaryReaderQuotas(int.MaxValue, int.MaxValue, int.MaxValue, int.MaxValue, int.MaxValue,
System.ServiceModel.Http.Tests (7)
ServiceModel\BasicHttpBindingTest.cs (4)
40Assert.True(TestHelpers.XmlDictionaryReaderQuotasAreEqual(binding.ReaderQuotas, new XmlDictionaryReaderQuotas()), "XmlDictionaryReaderQuotas"); 65Assert.True(TestHelpers.XmlDictionaryReaderQuotasAreEqual(binding.ReaderQuotas, new XmlDictionaryReaderQuotas()), "XmlDictionaryReaderQuotas"); 89Assert.True(TestHelpers.XmlDictionaryReaderQuotasAreEqual(binding.ReaderQuotas, new XmlDictionaryReaderQuotas()), "XmlDictionaryReaderQuotas"); 205XmlDictionaryReaderQuotas defaultQuota = new XmlDictionaryReaderQuotas();
ServiceModel\BasicHttpsBindingTest.cs (3)
38Assert.True(TestHelpers.XmlDictionaryReaderQuotasAreEqual(binding.ReaderQuotas, new XmlDictionaryReaderQuotas()), "XmlDictionaryReaderQuotas"); 63Assert.True(TestHelpers.XmlDictionaryReaderQuotasAreEqual(binding.ReaderQuotas, new XmlDictionaryReaderQuotas()), "XmlDictionaryReaderQuotas"); 195XmlDictionaryReaderQuotas defaultQuota = new XmlDictionaryReaderQuotas();
System.ServiceModel.NetTcp.Tests (1)
ServiceModel\NetTcpBindingTest.cs (1)
24Assert.True(TestHelpers.XmlDictionaryReaderQuotasAreEqual(binding.ReaderQuotas, new XmlDictionaryReaderQuotas()), "XmlDictionaryReaderQuotas");
System.ServiceModel.Primitives (14)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (1)
42ReaderQuotas = new XmlDictionaryReaderQuotas();
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (2)
25_readerQuotas = new XmlDictionaryReaderQuotas(); 38_readerQuotas = new XmlDictionaryReaderQuotas();
System\ServiceModel\Channels\EncoderHelpers.cs (1)
15XmlDictionaryReaderQuotas bufferedReadQuotas = new XmlDictionaryReaderQuotas();
System\ServiceModel\Channels\Message.cs (1)
1383_quotas = new XmlDictionaryReaderQuotas();
System\ServiceModel\Channels\MtomMessageEncoder.cs (1)
294ReaderQuotas = new XmlDictionaryReaderQuotas();
System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (2)
36_readerQuotas = new XmlDictionaryReaderQuotas(); 48_readerQuotas = new XmlDictionaryReaderQuotas();
System\ServiceModel\Channels\TextMessageEncoder.cs (1)
283ReaderQuotas = new XmlDictionaryReaderQuotas();
System\ServiceModel\Channels\TextMessageEncodingBindingElement.cs (2)
36_readerQuotas = new XmlDictionaryReaderQuotas(); 47_readerQuotas = new XmlDictionaryReaderQuotas();
System\ServiceModel\Channels\TransportBindingElement.cs (1)
129return (T)(object)new XmlDictionaryReaderQuotas();
System\ServiceModel\Channels\TransportDefaults.cs (1)
38public static readonly XmlDictionaryReaderQuotas ReaderQuotas = new XmlDictionaryReaderQuotas();
System\ServiceModel\XmlBuffer.cs (1)
86_quotas = new XmlDictionaryReaderQuotas();
System.ServiceModel.Primitives.Tests (1)
Channels\BinaryMessageEncodingBindingElementTest.cs (1)
24Assert.True(TestHelpers.XmlDictionaryReaderQuotasAreEqual(bindingElement.ReaderQuotas, new XmlDictionaryReaderQuotas()),
System.ServiceModel.Syndication (1)
System\ServiceModel\XmlBuffer.cs (1)
62_quotas = new XmlDictionaryReaderQuotas();
System.ServiceModel.UnixDomainSocket.Tests (1)
ServiceModel\UnixDomainSocketBindingTest.cs (1)
25Assert.True(TestHelpers.XmlDictionaryReaderQuotasAreEqual(binding.ReaderQuotas, new XmlDictionaryReaderQuotas()), "XmlDictionaryReaderQuotas");
178 references to XmlDictionaryReaderQuotas
Binding.Http.IntegrationTests (1)
MtomBindingTestHelper.cs (1)
69XmlDictionaryReaderQuotas.Max.CopyTo(mtomElement.ReaderQuotas);
Extensibility.MessageEncoder.IntegrationTests (3)
CustomTextMessageBindingElement.cs (3)
17private XmlDictionaryReaderQuotas _readerQuotas; 101public XmlDictionaryReaderQuotas ReaderQuotas 139if (typeof(T) == typeof(XmlDictionaryReaderQuotas))
Microsoft.AspNetCore.Mvc.Formatters.Xml (5)
FormattingUtilities.cs (1)
21public static XmlDictionaryReaderQuotas GetDefaultXmlReaderQuotas()
XmlDataContractSerializerInputFormatter.cs (2)
22private readonly XmlDictionaryReaderQuotas _readerQuotas = FormattingUtilities.GetDefaultXmlReaderQuotas(); 68public XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas => _readerQuotas;
XmlSerializerInputFormatter.cs (2)
22private readonly XmlDictionaryReaderQuotas _readerQuotas = FormattingUtilities.GetDefaultXmlReaderQuotas(); 65public XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas => _readerQuotas;
netstandard (1)
netstandard.cs (1)
2466[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlDictionaryReaderQuotas))]
System.Private.DataContractSerialization (55)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (1)
250return ReadObject(JsonReaderWriterFactory.CreateJsonReader(stream, XmlDictionaryReaderQuotas.Max));
System\Runtime\Serialization\Json\IXmlJsonReaderInitializer.cs (2)
13void SetInput(byte[] buffer, int offset, int count, Encoding? encoding, XmlDictionaryReaderQuotas quotas, 16void SetInput(Stream stream, Encoding? encoding, XmlDictionaryReaderQuotas quotas,
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (1)
27internal XmlDictionaryReaderQuotas? ReaderQuotas => dictionaryReader?.Quotas;
System\Runtime\Serialization\Json\JsonReaderWriterFactory.cs (5)
17public static XmlDictionaryReader CreateJsonReader(Stream stream, XmlDictionaryReaderQuotas quotas) 22public static XmlDictionaryReader CreateJsonReader(byte[] buffer, XmlDictionaryReaderQuotas quotas) 29public static XmlDictionaryReader CreateJsonReader(Stream stream, Encoding? encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose? onClose) 36public static XmlDictionaryReader CreateJsonReader(byte[] buffer, int offset, int count, XmlDictionaryReaderQuotas quotas) 41public static XmlDictionaryReader CreateJsonReader(byte[] buffer, int offset, int count, Encoding? encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose? onClose)
System\Runtime\Serialization\Json\JsonXmlDataContract.cs (1)
35XmlDictionaryReaderQuotas? quotas = ((JsonReaderDelegator)jsonReader).ReaderQuotas;
System\Runtime\Serialization\Json\XmlJsonReader.cs (3)
774public void SetInput(byte[] buffer, int offset, int count, Encoding? encoding, XmlDictionaryReaderQuotas quotas, 797public void SetInput(Stream stream, Encoding? encoding, XmlDictionaryReaderQuotas quotas, 1034private void MoveToInitial(XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose? onClose)
System\Runtime\Serialization\XmlObjectSerializer.cs (1)
274return ReadObject(XmlDictionaryReader.CreateTextReader(stream, XmlDictionaryReaderQuotas.Max));
System\Xml\XmlBaseReader.cs (3)
36private readonly XmlDictionaryReaderQuotas _quotas; 85public override XmlDictionaryReaderQuotas Quotas 110protected void MoveToInitial(XmlDictionaryReaderQuotas quotas)
System\Xml\XmlBinaryReader.cs (5)
16XmlDictionaryReaderQuotas quotas, 21XmlDictionaryReaderQuotas quotas, 42XmlDictionaryReaderQuotas quotas, 61XmlDictionaryReaderQuotas quotas, 72private void MoveToInitial(XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose? onClose)
System\Xml\XmlDictionaryReader.cs (24)
29public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, XmlDictionaryReaderQuotas quotas) 36public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, int offset, int count, XmlDictionaryReaderQuotas quotas) 41public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, int offset, int count, IXmlDictionary? dictionary, XmlDictionaryReaderQuotas quotas) 46public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, int offset, int count, IXmlDictionary? dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession? session) 53XmlDictionaryReaderQuotas quotas, 62public static XmlDictionaryReader CreateBinaryReader(Stream stream, XmlDictionaryReaderQuotas quotas) 67public static XmlDictionaryReader CreateBinaryReader(Stream stream, IXmlDictionary? dictionary, XmlDictionaryReaderQuotas quotas) 72public static XmlDictionaryReader CreateBinaryReader(Stream stream, IXmlDictionary? dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession? session) 79XmlDictionaryReaderQuotas quotas, 88public static XmlDictionaryReader CreateTextReader(byte[] buffer, XmlDictionaryReaderQuotas quotas) 95public static XmlDictionaryReader CreateTextReader(byte[] buffer, int offset, int count, XmlDictionaryReaderQuotas quotas) 102XmlDictionaryReaderQuotas quotas, 110public static XmlDictionaryReader CreateTextReader(Stream stream, XmlDictionaryReaderQuotas quotas) 116XmlDictionaryReaderQuotas quotas, 124public static XmlDictionaryReader CreateMtomReader(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas) 131public static XmlDictionaryReader CreateMtomReader(Stream stream, Encoding[] encodings, XmlDictionaryReaderQuotas quotas) 136public static XmlDictionaryReader CreateMtomReader(Stream stream, Encoding[] encodings, string? contentType, XmlDictionaryReaderQuotas quotas) 142XmlDictionaryReaderQuotas quotas, int maxBufferSize, OnXmlDictionaryReaderClose? onClose) 147public static XmlDictionaryReader CreateMtomReader(byte[] buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas) 154public static XmlDictionaryReader CreateMtomReader(byte[] buffer, int offset, int count, Encoding[] encodings, XmlDictionaryReaderQuotas quotas) 159public static XmlDictionaryReader CreateMtomReader(byte[] buffer, int offset, int count, Encoding[] encodings, string? contentType, XmlDictionaryReaderQuotas quotas) 165XmlDictionaryReaderQuotas quotas, int maxBufferSize, OnXmlDictionaryReaderClose? onClose) 178public virtual XmlDictionaryReaderQuotas Quotas 182return XmlDictionaryReaderQuotas.Max;
System\Xml\XmlDictionaryReaderQuotas.cs (4)
34private static readonly XmlDictionaryReaderQuotas s_maxQuota = new XmlDictionaryReaderQuotas(int.MaxValue, int.MaxValue, int.MaxValue, int.MaxValue, int.MaxValue, 57public static XmlDictionaryReaderQuotas Max 65public void CopyTo(XmlDictionaryReaderQuotas quotas) 75internal void InternalCopyTo(XmlDictionaryReaderQuotas quotas)
System\Xml\XmlUTF8TextReader.cs (5)
20void SetInput(byte[] buffer, int offset, int count, Encoding? encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose? onClose); 21void SetInput(Stream stream, Encoding? encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose? onClose); 556public void SetInput(byte[] buffer, int offset, int count, Encoding? encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose? onClose) 572public void SetInput(Stream stream, Encoding? encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose? onClose) 582private void MoveToInitial(XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose? onClose)
System.Runtime.Serialization (1)
System.Runtime.Serialization.cs (1)
46[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlDictionaryReaderQuotas))]
System.Runtime.Serialization.Xml (1)
artifacts\obj\System.Runtime.Serialization.Xml\Debug\net10.0\System.Runtime.Serialization.Xml.Forwards.cs (1)
32[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlDictionaryReaderQuotas))]
System.ServiceModel.Federation (2)
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (2)
241var reader = XmlDictionaryReader.CreateTextReader(memeoryStream.ToArray(), XmlDictionaryReaderQuotas.Max); 280var reader = XmlDictionaryReader.CreateTextReader(memeoryStream.ToArray(), XmlDictionaryReaderQuotas.Max);
System.ServiceModel.Http (5)
System\ServiceModel\HttpBindingBase.cs (2)
125public XmlDictionaryReaderQuotas ReaderQuotas 276internal virtual void SetReaderQuotas(XmlDictionaryReaderQuotas readerQuotas)
System\ServiceModel\NetHttpBinding.cs (1)
145internal override void SetReaderQuotas(XmlDictionaryReaderQuotas readerQuotas)
System\ServiceModel\NetHttpsBinding.cs (1)
138internal override void SetReaderQuotas(XmlDictionaryReaderQuotas readerQuotas)
System\ServiceModel\WSHttpBindingBase.cs (1)
95public XmlDictionaryReaderQuotas ReaderQuotas
System.ServiceModel.Http.Tests (6)
ServiceModel\BasicHttpBindingTest.cs (3)
204XmlDictionaryReaderQuotas maxQuota = XmlDictionaryReaderQuotas.Max; 205XmlDictionaryReaderQuotas defaultQuota = new XmlDictionaryReaderQuotas();
ServiceModel\BasicHttpsBindingTest.cs (3)
194XmlDictionaryReaderQuotas maxQuota = XmlDictionaryReaderQuotas.Max; 195XmlDictionaryReaderQuotas defaultQuota = new XmlDictionaryReaderQuotas();
System.ServiceModel.NetNamedPipe (1)
System\ServiceModel\NetNamedPipeBinding.cs (1)
69public XmlDictionaryReaderQuotas ReaderQuotas
System.ServiceModel.NetTcp (1)
System\ServiceModel\NetTcpBinding.cs (1)
69public XmlDictionaryReaderQuotas ReaderQuotas
System.ServiceModel.Primitives (83)
Internals\System\Xml\XmlMtomReader.cs (15)
17void SetInput(byte[] buffer, int offset, int count, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas, int maxBufferSize, OnXmlDictionaryReaderClose onClose); 18void SetInput(Stream stream, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas, int maxBufferSize, OnXmlDictionaryReaderClose onClose); 23public static XmlDictionaryReader Create(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas) 31public static XmlDictionaryReader Create(Stream stream, Encoding[] encodings, XmlDictionaryReaderQuotas quotas) 36public static XmlDictionaryReader Create(Stream stream, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas) 42XmlDictionaryReaderQuotas quotas, int maxBufferSize, OnXmlDictionaryReaderClose onClose) 49public static XmlDictionaryReader Create(byte[] buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas) 57public static XmlDictionaryReader Create(byte[] buffer, int offset, int count, Encoding[] encodings, XmlDictionaryReaderQuotas quotas) 62public static XmlDictionaryReader Create(byte[] buffer, int offset, int count, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas) 68XmlDictionaryReaderQuotas quotas, int maxBufferSize, OnXmlDictionaryReaderClose onClose) 124public void SetInput(byte[] buffer, int offset, int count, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas, int maxBufferSize, OnXmlDictionaryReaderClose onClose) 129public void SetInput(Stream stream, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas, int maxBufferSize, OnXmlDictionaryReaderClose onClose) 137private void Initialize(Stream stream, string contentType, XmlDictionaryReaderQuotas quotas, int maxBufferSize) 181public override XmlDictionaryReaderQuotas Quotas 1157public override XmlDictionaryReaderQuotas Quotas
Internals\System\Xml\XmlMtomWriter.cs (1)
644XmlReader contentTypeReader = XmlDictionaryReader.CreateBinaryReader(_contentTypeStream, null, XmlDictionaryReaderQuotas.Max, null, null);
System\ServiceModel\Channels\AddressHeader.cs (1)
145XmlDictionaryWriter writer = buffer.OpenSection(XmlDictionaryReaderQuotas.Max);
System\ServiceModel\Channels\BinaryMessageEncoder.cs (5)
30private XmlDictionaryReaderQuotas _bufferedReadReaderQuotas; 34XmlDictionaryReaderQuotas readerQuotas, long maxReceivedMessageSize, BinaryVersion version, CompressionFormat compressionFormat) 79public XmlDictionaryReaderQuotas ReaderQuotas { get; } 221public override XmlDictionaryReaderQuotas Quotas 690XmlDictionaryReader xmlDictionaryReader = XmlDictionaryReader.CreateBinaryReader(messageData.Array, messageData.Offset, messageData.Count, XD.Dictionary, XmlDictionaryReaderQuotas.Max, _readerSessionForLogging);
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (3)
15private XmlDictionaryReaderQuotas _readerQuotas; 118public XmlDictionaryReaderQuotas ReaderQuotas 213if (typeof(T) == typeof(XmlDictionaryReaderQuotas))
System\ServiceModel\Channels\BodyWriter.cs (2)
73return OnCreateBufferedCopy(maxBufferSize, XmlDictionaryReaderQuotas.Max); 76internal BodyWriter OnCreateBufferedCopy(int maxBufferSize, XmlDictionaryReaderQuotas quotas)
System\ServiceModel\Channels\BufferedMessageData.cs (2)
28public virtual XmlDictionaryReaderQuotas Quotas 30get { return XmlDictionaryReaderQuotas.Max; }
System\ServiceModel\Channels\EncoderHelpers.cs (4)
13internal static XmlDictionaryReaderQuotas GetBufferedReadQuotas(XmlDictionaryReaderQuotas encoderQuotas) 15XmlDictionaryReaderQuotas bufferedReadQuotas = new XmlDictionaryReaderQuotas(); 47private static bool IsDefaultQuota(XmlDictionaryReaderQuotas quotas, XmlDictionaryReaderQuotaTypes quotaType)
System\ServiceModel\Channels\Message.cs (7)
327XmlDictionaryWriter writer = buffer.OpenSection(XmlDictionaryReaderQuotas.Max); 395return OnCreateBufferedCopy(maxBufferSize, XmlDictionaryReaderQuotas.Max); 398internal MessageBuffer OnCreateBufferedCopy(int maxBufferSize, XmlDictionaryReaderQuotas quotas) 415XmlDictionaryWriter writer = bodyBuffer.OpenSection(XmlDictionaryReaderQuotas.Max); 1328private XmlDictionaryReaderQuotas _quotas; 1531XmlDictionaryReaderQuotas Quotas { get; } 1898return OnCreateBufferedCopy(maxBufferSize, XmlDictionaryReaderQuotas.Max);
System\ServiceModel\Channels\MessageFault.cs (1)
243XmlDictionaryWriter writer = detailBuffer.OpenSection(XmlDictionaryReaderQuotas.Max);
System\ServiceModel\Channels\MessageHeaders.cs (1)
532XmlDictionaryWriter writer = buffer.OpenSection(XmlDictionaryReaderQuotas.Max);
System\ServiceModel\Channels\MtomMessageEncoder.cs (8)
26private XmlDictionaryReaderQuotas _readerQuotas; 39public MtomMessageEncoderFactory(MessageVersion version, Encoding writeEncoding, int maxReadPoolSize, int maxWritePoolSize, int maxBufferSize, XmlDictionaryReaderQuotas quotas) 72public XmlDictionaryReaderQuotas ReaderQuotas => _readerQuotas; 273private XmlDictionaryReaderQuotas _bufferedReadReaderQuotas; 280public MtomMessageEncoder(MessageVersion version, Encoding writeEncoding, int maxReadPoolSize, int maxWritePoolSize, int maxBufferSize, XmlDictionaryReaderQuotas quotas, MtomMessageEncoderFactory factory) 319public XmlDictionaryReaderQuotas ReaderQuotas { get; } 501XmlDictionaryReader xmlDictionaryReader = XmlMtomReader.Create(messageData.Array, messageData.Offset, messageData.Count, MtomMessageEncoderFactory.GetSupportedEncodings(), contentType, XmlDictionaryReaderQuotas.Max, int.MaxValue, null); 601public override XmlDictionaryReaderQuotas Quotas => _messageEncoder._bufferedReadReaderQuotas;
System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (3)
15private XmlDictionaryReaderQuotas _readerQuotas; 91public XmlDictionaryReaderQuotas ReaderQuotas 180if (typeof(T) == typeof(XmlDictionaryReaderQuotas))
System\ServiceModel\Channels\SecurityBindingElement.cs (2)
171internal XmlDictionaryReaderQuotas ReaderQuotas { get; set; } 337ReaderQuotas = context.GetInnerProperty<XmlDictionaryReaderQuotas>();
System\ServiceModel\Channels\TextMessageEncoder.cs (7)
29public TextMessageEncoderFactory(MessageVersion version, Encoding writeEncoding, int maxReadPoolSize, int maxWritePoolSize, XmlDictionaryReaderQuotas quotas) 62public XmlDictionaryReaderQuotas ReaderQuotas 263private XmlDictionaryReaderQuotas _bufferedReadReaderQuotas; 266public TextMessageEncoder(MessageVersion version, Encoding writeEncoding, int maxReadPoolSize, int maxWritePoolSize, XmlDictionaryReaderQuotas quotas) 327public XmlDictionaryReaderQuotas ReaderQuotas { get; } 540XmlDictionaryReader xmlDictionaryReader = XmlDictionaryReader.CreateTextReader(messageData.Array, messageData.Offset, messageData.Count, XmlDictionaryReaderQuotas.Max); 742public override XmlDictionaryReaderQuotas Quotas
System\ServiceModel\Channels\TextMessageEncodingBindingElement.cs (3)
16private XmlDictionaryReaderQuotas _readerQuotas; 89public XmlDictionaryReaderQuotas ReaderQuotas 157if (typeof(T) == typeof(XmlDictionaryReaderQuotas))
System\ServiceModel\Channels\TransportBindingElement.cs (1)
127if (typeof(T) == typeof(XmlDictionaryReaderQuotas))
System\ServiceModel\Channels\TransportDefaults.cs (2)
38public static readonly XmlDictionaryReaderQuotas ReaderQuotas = new XmlDictionaryReaderQuotas(); 40public static bool IsDefaultReaderQuotas(XmlDictionaryReaderQuotas quotas)
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
238XmlDictionaryReader bufferReader = XmlDictionaryReader.CreateTextReader(memoryBuffer.Array, 0, (int)memoryStream.Length, XmlDictionaryReaderQuotas.Max);
System\ServiceModel\Security\AcceleratedTokenProvider.cs (1)
127_bootstrapSecurityBindingElement.ReaderQuotas = IssuerBindingContext.GetInnerProperty<XmlDictionaryReaderQuotas>();
System\ServiceModel\Security\ReceiveSecurityHeader.cs (2)
77private XmlDictionaryReaderQuotas _readerQuotas; 213internal XmlDictionaryReaderQuotas ReaderQuotas
System\ServiceModel\Security\RequestSecurityToken.cs (1)
454writer.WriteNode(XmlDictionaryReader.CreateBinaryReader(_cachedWriteBuffer.Array, 0, _cachedWriteBufferLength, XD.Dictionary, XmlDictionaryReaderQuotas.Max), false);
System\ServiceModel\Security\RequestSecurityTokenResponse.cs (1)
594writer.WriteNode(XmlDictionaryReader.CreateBinaryReader(_cachedWriteBuffer.Array, 0, _cachedWriteBufferLength, XD.Dictionary, XmlDictionaryReaderQuotas.Max), false);
System\ServiceModel\Security\SecurityAppliedMessage.cs (1)
311XmlDictionaryWriter canonicalWriter = _fullBodyBuffer.OpenSection(XmlDictionaryReaderQuotas.Max);
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
333_bootstrapSecurityBindingElement.ReaderQuotas = context.GetInnerProperty<XmlDictionaryReaderQuotas>();
System\ServiceModel\Security\SecurityVerifiedMessage.cs (1)
439XmlAttributeHolder[] outerContext1, XmlAttributeHolder[] outerContext2, XmlAttributeHolder[] outerContext3, XmlDictionaryReaderQuotas quotas)
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (2)
146effectiveWriter = canonicalBuffer.OpenSection(XmlDictionaryReaderQuotas.Max); 190effectiveWriter = canonicalBuffer.OpenSection(XmlDictionaryReaderQuotas.Max);
System\ServiceModel\XmlBuffer.cs (4)
20private XmlDictionaryReaderQuotas _quotas; 33public Section(int offset, int size, XmlDictionaryReaderQuotas quotas) 47public XmlDictionaryReaderQuotas Quotas { get; } 78public XmlDictionaryWriter OpenSection(XmlDictionaryReaderQuotas quotas)
System.ServiceModel.Syndication (10)
System\ServiceModel\Syndication\SyndicationElementExtension.cs (2)
30using (XmlDictionaryWriter writer = _buffer.OpenSection(XmlDictionaryReaderQuotas.Max)) 184using (XmlDictionaryWriter writer = _buffer.OpenSection(XmlDictionaryReaderQuotas.Max))
System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs (1)
187using (XmlDictionaryWriter writer = newBuffer.OpenSection(XmlDictionaryReaderQuotas.Max))
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
392extWriter = buffer.OpenSection(XmlDictionaryReaderQuotas.Max);
System\ServiceModel\Syndication\XmlSyndicationContent.cs (2)
45using (XmlDictionaryWriter writer = _contentBuffer.OpenSection(XmlDictionaryReaderQuotas.Max)) 165using (XmlDictionaryWriter writer = tmp.OpenSection(XmlDictionaryReaderQuotas.Max))
System\ServiceModel\XmlBuffer.cs (4)
18private XmlDictionaryReaderQuotas _quotas; 29public Section(int offset, int size, XmlDictionaryReaderQuotas quotas) 40public XmlDictionaryReaderQuotas Quotas { get; } 57public XmlDictionaryWriter OpenSection(XmlDictionaryReaderQuotas quotas)
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\UnixDomainSocketBinding.cs (1)
61public XmlDictionaryReaderQuotas ReaderQuotas
UnitTests.Common (2)
TestHelpers.cs (2)
23public static bool XmlDictionaryReaderQuotasAreEqual(XmlDictionaryReaderQuotas a, XmlDictionaryReaderQuotas b)