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)
23
return new
XmlDictionaryReaderQuotas
()
Microsoft.Build.Tasks.Core (1)
AssemblyFolderCollection.cs (1)
28
using (XmlDictionaryReader reader = XmlDictionaryReader.CreateTextReader(fs, new
XmlDictionaryReaderQuotas
()))
Microsoft.Build.Utilities.Core (1)
AssemblyFolderCollection.cs (1)
28
using (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)
34
private 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)
40
Assert.True(TestHelpers.XmlDictionaryReaderQuotasAreEqual(binding.ReaderQuotas, new
XmlDictionaryReaderQuotas
()), "XmlDictionaryReaderQuotas");
65
Assert.True(TestHelpers.XmlDictionaryReaderQuotasAreEqual(binding.ReaderQuotas, new
XmlDictionaryReaderQuotas
()), "XmlDictionaryReaderQuotas");
89
Assert.True(TestHelpers.XmlDictionaryReaderQuotasAreEqual(binding.ReaderQuotas, new
XmlDictionaryReaderQuotas
()), "XmlDictionaryReaderQuotas");
205
XmlDictionaryReaderQuotas defaultQuota = new
XmlDictionaryReaderQuotas
();
ServiceModel\BasicHttpsBindingTest.cs (3)
38
Assert.True(TestHelpers.XmlDictionaryReaderQuotasAreEqual(binding.ReaderQuotas, new
XmlDictionaryReaderQuotas
()), "XmlDictionaryReaderQuotas");
63
Assert.True(TestHelpers.XmlDictionaryReaderQuotasAreEqual(binding.ReaderQuotas, new
XmlDictionaryReaderQuotas
()), "XmlDictionaryReaderQuotas");
195
XmlDictionaryReaderQuotas defaultQuota = new
XmlDictionaryReaderQuotas
();
System.ServiceModel.NetTcp.Tests (1)
ServiceModel\NetTcpBindingTest.cs (1)
24
Assert.True(TestHelpers.XmlDictionaryReaderQuotasAreEqual(binding.ReaderQuotas, new
XmlDictionaryReaderQuotas
()), "XmlDictionaryReaderQuotas");
System.ServiceModel.Primitives.Tests (1)
Channels\BinaryMessageEncodingBindingElementTest.cs (1)
24
Assert.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)
25
Assert.True(TestHelpers.XmlDictionaryReaderQuotasAreEqual(binding.ReaderQuotas, new
XmlDictionaryReaderQuotas
()), "XmlDictionaryReaderQuotas");
92 references to XmlDictionaryReaderQuotas
Binding.Http.IntegrationTests (1)
MtomBindingTestHelper.cs (1)
69
XmlDictionaryReaderQuotas
.Max.CopyTo(mtomElement.ReaderQuotas);
Extensibility.MessageEncoder.IntegrationTests (3)
CustomTextMessageBindingElement.cs (3)
17
private
XmlDictionaryReaderQuotas
_readerQuotas;
101
public
XmlDictionaryReaderQuotas
ReaderQuotas
139
if (typeof(T) == typeof(
XmlDictionaryReaderQuotas
))
Microsoft.AspNetCore.Mvc.Formatters.Xml (5)
FormattingUtilities.cs (1)
21
public static
XmlDictionaryReaderQuotas
GetDefaultXmlReaderQuotas()
XmlDataContractSerializerInputFormatter.cs (2)
22
private readonly
XmlDictionaryReaderQuotas
_readerQuotas = FormattingUtilities.GetDefaultXmlReaderQuotas();
68
public
XmlDictionaryReaderQuotas
XmlDictionaryReaderQuotas => _readerQuotas;
XmlSerializerInputFormatter.cs (2)
22
private readonly
XmlDictionaryReaderQuotas
_readerQuotas = FormattingUtilities.GetDefaultXmlReaderQuotas();
65
public
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)
241
return ReadObject(JsonReaderWriterFactory.CreateJsonReader(stream,
XmlDictionaryReaderQuotas
.Max));
System\Runtime\Serialization\Json\IXmlJsonReaderInitializer.cs (2)
13
void SetInput(byte[] buffer, int offset, int count, Encoding? encoding,
XmlDictionaryReaderQuotas
quotas,
16
void SetInput(Stream stream, Encoding? encoding,
XmlDictionaryReaderQuotas
quotas,
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (1)
27
internal
XmlDictionaryReaderQuotas
? ReaderQuotas => dictionaryReader?.Quotas;
System\Runtime\Serialization\Json\JsonReaderWriterFactory.cs (5)
17
public static XmlDictionaryReader CreateJsonReader(Stream stream,
XmlDictionaryReaderQuotas
quotas)
22
public static XmlDictionaryReader CreateJsonReader(byte[] buffer,
XmlDictionaryReaderQuotas
quotas)
29
public static XmlDictionaryReader CreateJsonReader(Stream stream, Encoding? encoding,
XmlDictionaryReaderQuotas
quotas, OnXmlDictionaryReaderClose? onClose)
36
public static XmlDictionaryReader CreateJsonReader(byte[] buffer, int offset, int count,
XmlDictionaryReaderQuotas
quotas)
41
public static XmlDictionaryReader CreateJsonReader(byte[] buffer, int offset, int count, Encoding? encoding,
XmlDictionaryReaderQuotas
quotas, OnXmlDictionaryReaderClose? onClose)
System\Runtime\Serialization\Json\JsonXmlDataContract.cs (1)
35
XmlDictionaryReaderQuotas
? quotas = ((JsonReaderDelegator)jsonReader).ReaderQuotas;
System\Runtime\Serialization\Json\XmlJsonReader.cs (3)
774
public void SetInput(byte[] buffer, int offset, int count, Encoding? encoding,
XmlDictionaryReaderQuotas
quotas,
797
public void SetInput(Stream stream, Encoding? encoding,
XmlDictionaryReaderQuotas
quotas,
1034
private void MoveToInitial(
XmlDictionaryReaderQuotas
quotas, OnXmlDictionaryReaderClose? onClose)
System\Runtime\Serialization\XmlObjectSerializer.cs (1)
274
return ReadObject(XmlDictionaryReader.CreateTextReader(stream,
XmlDictionaryReaderQuotas
.Max));
System\Xml\XmlBaseReader.cs (3)
36
private readonly
XmlDictionaryReaderQuotas
_quotas;
85
public override
XmlDictionaryReaderQuotas
Quotas
110
protected void MoveToInitial(
XmlDictionaryReaderQuotas
quotas)
System\Xml\XmlBinaryReader.cs (5)
16
XmlDictionaryReaderQuotas
quotas,
21
XmlDictionaryReaderQuotas
quotas,
42
XmlDictionaryReaderQuotas
quotas,
61
XmlDictionaryReaderQuotas
quotas,
72
private void MoveToInitial(
XmlDictionaryReaderQuotas
quotas, OnXmlDictionaryReaderClose? onClose)
System\Xml\XmlDictionaryReader.cs (24)
29
public static XmlDictionaryReader CreateBinaryReader(byte[] buffer,
XmlDictionaryReaderQuotas
quotas)
36
public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, int offset, int count,
XmlDictionaryReaderQuotas
quotas)
41
public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, int offset, int count, IXmlDictionary? dictionary,
XmlDictionaryReaderQuotas
quotas)
46
public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, int offset, int count, IXmlDictionary? dictionary,
XmlDictionaryReaderQuotas
quotas, XmlBinaryReaderSession? session)
53
XmlDictionaryReaderQuotas
quotas,
62
public static XmlDictionaryReader CreateBinaryReader(Stream stream,
XmlDictionaryReaderQuotas
quotas)
67
public static XmlDictionaryReader CreateBinaryReader(Stream stream, IXmlDictionary? dictionary,
XmlDictionaryReaderQuotas
quotas)
72
public static XmlDictionaryReader CreateBinaryReader(Stream stream, IXmlDictionary? dictionary,
XmlDictionaryReaderQuotas
quotas, XmlBinaryReaderSession? session)
79
XmlDictionaryReaderQuotas
quotas,
88
public static XmlDictionaryReader CreateTextReader(byte[] buffer,
XmlDictionaryReaderQuotas
quotas)
95
public static XmlDictionaryReader CreateTextReader(byte[] buffer, int offset, int count,
XmlDictionaryReaderQuotas
quotas)
102
XmlDictionaryReaderQuotas
quotas,
110
public static XmlDictionaryReader CreateTextReader(Stream stream,
XmlDictionaryReaderQuotas
quotas)
116
XmlDictionaryReaderQuotas
quotas,
124
public static XmlDictionaryReader CreateMtomReader(Stream stream, Encoding encoding,
XmlDictionaryReaderQuotas
quotas)
131
public static XmlDictionaryReader CreateMtomReader(Stream stream, Encoding[] encodings,
XmlDictionaryReaderQuotas
quotas)
136
public static XmlDictionaryReader CreateMtomReader(Stream stream, Encoding[] encodings, string? contentType,
XmlDictionaryReaderQuotas
quotas)
142
XmlDictionaryReaderQuotas
quotas, int maxBufferSize, OnXmlDictionaryReaderClose? onClose)
147
public static XmlDictionaryReader CreateMtomReader(byte[] buffer, int offset, int count, Encoding encoding,
XmlDictionaryReaderQuotas
quotas)
154
public static XmlDictionaryReader CreateMtomReader(byte[] buffer, int offset, int count, Encoding[] encodings,
XmlDictionaryReaderQuotas
quotas)
159
public static XmlDictionaryReader CreateMtomReader(byte[] buffer, int offset, int count, Encoding[] encodings, string? contentType,
XmlDictionaryReaderQuotas
quotas)
165
XmlDictionaryReaderQuotas
quotas, int maxBufferSize, OnXmlDictionaryReaderClose? onClose)
178
public virtual
XmlDictionaryReaderQuotas
Quotas
182
return
XmlDictionaryReaderQuotas
.Max;
System\Xml\XmlDictionaryReaderQuotas.cs (4)
34
private static readonly
XmlDictionaryReaderQuotas
s_maxQuota = new XmlDictionaryReaderQuotas(int.MaxValue, int.MaxValue, int.MaxValue, int.MaxValue, int.MaxValue,
57
public static
XmlDictionaryReaderQuotas
Max
65
public void CopyTo(
XmlDictionaryReaderQuotas
quotas)
75
internal void InternalCopyTo(
XmlDictionaryReaderQuotas
quotas)
System\Xml\XmlUTF8TextReader.cs (5)
20
void SetInput(byte[] buffer, int offset, int count, Encoding? encoding,
XmlDictionaryReaderQuotas
quotas, OnXmlDictionaryReaderClose? onClose);
21
void SetInput(Stream stream, Encoding? encoding,
XmlDictionaryReaderQuotas
quotas, OnXmlDictionaryReaderClose? onClose);
556
public void SetInput(byte[] buffer, int offset, int count, Encoding? encoding,
XmlDictionaryReaderQuotas
quotas, OnXmlDictionaryReaderClose? onClose)
572
public void SetInput(Stream stream, Encoding? encoding,
XmlDictionaryReaderQuotas
quotas, OnXmlDictionaryReaderClose? onClose)
582
private 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)
255
var reader = XmlDictionaryReader.CreateTextReader(memeoryStream.ToArray(),
XmlDictionaryReaderQuotas
.Max);
294
var reader = XmlDictionaryReader.CreateTextReader(memeoryStream.ToArray(),
XmlDictionaryReaderQuotas
.Max);
System.ServiceModel.Http.Tests (6)
ServiceModel\BasicHttpBindingTest.cs (3)
204
XmlDictionaryReaderQuotas
maxQuota =
XmlDictionaryReaderQuotas
.Max;
205
XmlDictionaryReaderQuotas
defaultQuota = new XmlDictionaryReaderQuotas();
ServiceModel\BasicHttpsBindingTest.cs (3)
194
XmlDictionaryReaderQuotas
maxQuota =
XmlDictionaryReaderQuotas
.Max;
195
XmlDictionaryReaderQuotas
defaultQuota = new XmlDictionaryReaderQuotas();
System.ServiceModel.NetNamedPipe (1)
System\ServiceModel\NetNamedPipeBinding.cs (1)
69
public
XmlDictionaryReaderQuotas
ReaderQuotas
System.ServiceModel.Primitives (3)
netstandard.cs (3)
1222
public System.Xml.
XmlDictionaryReaderQuotas
ReaderQuotas { get { return default; } set { } }
1781
public System.Xml.
XmlDictionaryReaderQuotas
ReaderQuotas { get; set; }
1829
public System.Xml.
XmlDictionaryReaderQuotas
ReaderQuotas { get { return default; } set { } }
System.ServiceModel.Syndication (10)
System\ServiceModel\Syndication\SyndicationElementExtension.cs (2)
33
using (XmlDictionaryWriter writer = _buffer.OpenSection(
XmlDictionaryReaderQuotas
.Max))
202
using (XmlDictionaryWriter writer = _buffer.OpenSection(
XmlDictionaryReaderQuotas
.Max))
System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs (1)
208
using (XmlDictionaryWriter writer = newBuffer.OpenSection(
XmlDictionaryReaderQuotas
.Max))
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
494
extWriter = buffer.OpenSection(
XmlDictionaryReaderQuotas
.Max);
System\ServiceModel\Syndication\XmlSyndicationContent.cs (2)
48
using (XmlDictionaryWriter writer = _contentBuffer.OpenSection(
XmlDictionaryReaderQuotas
.Max))
174
using (XmlDictionaryWriter writer = tmp.OpenSection(
XmlDictionaryReaderQuotas
.Max))
System\ServiceModel\XmlBuffer.cs (4)
18
private
XmlDictionaryReaderQuotas
_quotas;
29
public Section(int offset, int size,
XmlDictionaryReaderQuotas
quotas)
40
public
XmlDictionaryReaderQuotas
Quotas { get; }
57
public XmlDictionaryWriter OpenSection(
XmlDictionaryReaderQuotas
quotas)
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\UnixDomainSocketBinding.cs (1)
61
public
XmlDictionaryReaderQuotas
ReaderQuotas
UnitTests.Common (2)
TestHelpers.cs (2)
23
public static bool XmlDictionaryReaderQuotasAreEqual(
XmlDictionaryReaderQuotas
a,
XmlDictionaryReaderQuotas
b)