18 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()
Microsoft.Build.Tasks.Core (1)
AssemblyFolderCollection.cs (1)
28using (XmlDictionaryReader reader = XmlDictionaryReader.CreateTextReader(fs, new XmlDictionaryReaderQuotas()))
Microsoft.Build.Utilities.Core (1)
AssemblyFolderCollection.cs (1)
28using (XmlDictionaryReader reader = XmlDictionaryReader.CreateTextReader(fs, 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.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");
92 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)
241return 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)
255var reader = XmlDictionaryReader.CreateTextReader(memeoryStream.ToArray(), XmlDictionaryReaderQuotas.Max); 294var reader = XmlDictionaryReader.CreateTextReader(memeoryStream.ToArray(), XmlDictionaryReaderQuotas.Max);
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.Primitives (3)
netstandard.cs (3)
1222public System.Xml.XmlDictionaryReaderQuotas ReaderQuotas { get { return default; } set { } } 1781public System.Xml.XmlDictionaryReaderQuotas ReaderQuotas { get; set; } 1829public System.Xml.XmlDictionaryReaderQuotas ReaderQuotas { get { return default; } set { } }
System.ServiceModel.Syndication (10)
System\ServiceModel\Syndication\SyndicationElementExtension.cs (2)
33using (XmlDictionaryWriter writer = _buffer.OpenSection(XmlDictionaryReaderQuotas.Max)) 202using (XmlDictionaryWriter writer = _buffer.OpenSection(XmlDictionaryReaderQuotas.Max))
System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs (1)
208using (XmlDictionaryWriter writer = newBuffer.OpenSection(XmlDictionaryReaderQuotas.Max))
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
494extWriter = buffer.OpenSection(XmlDictionaryReaderQuotas.Max);
System\ServiceModel\Syndication\XmlSyndicationContent.cs (2)
48using (XmlDictionaryWriter writer = _contentBuffer.OpenSection(XmlDictionaryReaderQuotas.Max)) 174using (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)