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)
23
return 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 (14)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (1)
42
ReaderQuotas = new
XmlDictionaryReaderQuotas
();
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (2)
25
_readerQuotas = new
XmlDictionaryReaderQuotas
();
38
_readerQuotas = new
XmlDictionaryReaderQuotas
();
System\ServiceModel\Channels\EncoderHelpers.cs (1)
15
XmlDictionaryReaderQuotas bufferedReadQuotas = new
XmlDictionaryReaderQuotas
();
System\ServiceModel\Channels\Message.cs (1)
1383
_quotas = new
XmlDictionaryReaderQuotas
();
System\ServiceModel\Channels\MtomMessageEncoder.cs (1)
294
ReaderQuotas = new
XmlDictionaryReaderQuotas
();
System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (2)
36
_readerQuotas = new
XmlDictionaryReaderQuotas
();
48
_readerQuotas = new
XmlDictionaryReaderQuotas
();
System\ServiceModel\Channels\TextMessageEncoder.cs (1)
283
ReaderQuotas = new
XmlDictionaryReaderQuotas
();
System\ServiceModel\Channels\TextMessageEncodingBindingElement.cs (2)
36
_readerQuotas = new
XmlDictionaryReaderQuotas
();
47
_readerQuotas = new
XmlDictionaryReaderQuotas
();
System\ServiceModel\Channels\TransportBindingElement.cs (1)
129
return (T)(object)new
XmlDictionaryReaderQuotas
();
System\ServiceModel\Channels\TransportDefaults.cs (1)
38
public static readonly XmlDictionaryReaderQuotas ReaderQuotas = new
XmlDictionaryReaderQuotas
();
System\ServiceModel\XmlBuffer.cs (1)
86
_quotas = new
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");
178 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)
250
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)
241
var reader = XmlDictionaryReader.CreateTextReader(memeoryStream.ToArray(),
XmlDictionaryReaderQuotas
.Max);
280
var reader = XmlDictionaryReader.CreateTextReader(memeoryStream.ToArray(),
XmlDictionaryReaderQuotas
.Max);
System.ServiceModel.Http (5)
System\ServiceModel\HttpBindingBase.cs (2)
125
public
XmlDictionaryReaderQuotas
ReaderQuotas
276
internal virtual void SetReaderQuotas(
XmlDictionaryReaderQuotas
readerQuotas)
System\ServiceModel\NetHttpBinding.cs (1)
145
internal override void SetReaderQuotas(
XmlDictionaryReaderQuotas
readerQuotas)
System\ServiceModel\NetHttpsBinding.cs (1)
138
internal override void SetReaderQuotas(
XmlDictionaryReaderQuotas
readerQuotas)
System\ServiceModel\WSHttpBindingBase.cs (1)
95
public
XmlDictionaryReaderQuotas
ReaderQuotas
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.NetTcp (1)
System\ServiceModel\NetTcpBinding.cs (1)
69
public
XmlDictionaryReaderQuotas
ReaderQuotas
System.ServiceModel.Primitives (83)
Internals\System\Xml\XmlMtomReader.cs (15)
17
void SetInput(byte[] buffer, int offset, int count, Encoding[] encodings, string contentType,
XmlDictionaryReaderQuotas
quotas, int maxBufferSize, OnXmlDictionaryReaderClose onClose);
18
void SetInput(Stream stream, Encoding[] encodings, string contentType,
XmlDictionaryReaderQuotas
quotas, int maxBufferSize, OnXmlDictionaryReaderClose onClose);
23
public static XmlDictionaryReader Create(Stream stream, Encoding encoding,
XmlDictionaryReaderQuotas
quotas)
31
public static XmlDictionaryReader Create(Stream stream, Encoding[] encodings,
XmlDictionaryReaderQuotas
quotas)
36
public static XmlDictionaryReader Create(Stream stream, Encoding[] encodings, string contentType,
XmlDictionaryReaderQuotas
quotas)
42
XmlDictionaryReaderQuotas
quotas, int maxBufferSize, OnXmlDictionaryReaderClose onClose)
49
public static XmlDictionaryReader Create(byte[] buffer, int offset, int count, Encoding encoding,
XmlDictionaryReaderQuotas
quotas)
57
public static XmlDictionaryReader Create(byte[] buffer, int offset, int count, Encoding[] encodings,
XmlDictionaryReaderQuotas
quotas)
62
public static XmlDictionaryReader Create(byte[] buffer, int offset, int count, Encoding[] encodings, string contentType,
XmlDictionaryReaderQuotas
quotas)
68
XmlDictionaryReaderQuotas
quotas, int maxBufferSize, OnXmlDictionaryReaderClose onClose)
124
public void SetInput(byte[] buffer, int offset, int count, Encoding[] encodings, string contentType,
XmlDictionaryReaderQuotas
quotas, int maxBufferSize, OnXmlDictionaryReaderClose onClose)
129
public void SetInput(Stream stream, Encoding[] encodings, string contentType,
XmlDictionaryReaderQuotas
quotas, int maxBufferSize, OnXmlDictionaryReaderClose onClose)
137
private void Initialize(Stream stream, string contentType,
XmlDictionaryReaderQuotas
quotas, int maxBufferSize)
181
public override
XmlDictionaryReaderQuotas
Quotas
1157
public override
XmlDictionaryReaderQuotas
Quotas
Internals\System\Xml\XmlMtomWriter.cs (1)
644
XmlReader contentTypeReader = XmlDictionaryReader.CreateBinaryReader(_contentTypeStream, null,
XmlDictionaryReaderQuotas
.Max, null, null);
System\ServiceModel\Channels\AddressHeader.cs (1)
145
XmlDictionaryWriter writer = buffer.OpenSection(
XmlDictionaryReaderQuotas
.Max);
System\ServiceModel\Channels\BinaryMessageEncoder.cs (5)
30
private
XmlDictionaryReaderQuotas
_bufferedReadReaderQuotas;
34
XmlDictionaryReaderQuotas
readerQuotas, long maxReceivedMessageSize, BinaryVersion version, CompressionFormat compressionFormat)
79
public
XmlDictionaryReaderQuotas
ReaderQuotas { get; }
221
public override
XmlDictionaryReaderQuotas
Quotas
690
XmlDictionaryReader xmlDictionaryReader = XmlDictionaryReader.CreateBinaryReader(messageData.Array, messageData.Offset, messageData.Count, XD.Dictionary,
XmlDictionaryReaderQuotas
.Max, _readerSessionForLogging);
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (3)
15
private
XmlDictionaryReaderQuotas
_readerQuotas;
118
public
XmlDictionaryReaderQuotas
ReaderQuotas
213
if (typeof(T) == typeof(
XmlDictionaryReaderQuotas
))
System\ServiceModel\Channels\BodyWriter.cs (2)
73
return OnCreateBufferedCopy(maxBufferSize,
XmlDictionaryReaderQuotas
.Max);
76
internal BodyWriter OnCreateBufferedCopy(int maxBufferSize,
XmlDictionaryReaderQuotas
quotas)
System\ServiceModel\Channels\BufferedMessageData.cs (2)
28
public virtual
XmlDictionaryReaderQuotas
Quotas
30
get { return
XmlDictionaryReaderQuotas
.Max; }
System\ServiceModel\Channels\EncoderHelpers.cs (4)
13
internal static
XmlDictionaryReaderQuotas
GetBufferedReadQuotas(
XmlDictionaryReaderQuotas
encoderQuotas)
15
XmlDictionaryReaderQuotas
bufferedReadQuotas = new XmlDictionaryReaderQuotas();
47
private static bool IsDefaultQuota(
XmlDictionaryReaderQuotas
quotas, XmlDictionaryReaderQuotaTypes quotaType)
System\ServiceModel\Channels\Message.cs (7)
327
XmlDictionaryWriter writer = buffer.OpenSection(
XmlDictionaryReaderQuotas
.Max);
395
return OnCreateBufferedCopy(maxBufferSize,
XmlDictionaryReaderQuotas
.Max);
398
internal MessageBuffer OnCreateBufferedCopy(int maxBufferSize,
XmlDictionaryReaderQuotas
quotas)
415
XmlDictionaryWriter writer = bodyBuffer.OpenSection(
XmlDictionaryReaderQuotas
.Max);
1328
private
XmlDictionaryReaderQuotas
_quotas;
1531
XmlDictionaryReaderQuotas
Quotas { get; }
1898
return OnCreateBufferedCopy(maxBufferSize,
XmlDictionaryReaderQuotas
.Max);
System\ServiceModel\Channels\MessageFault.cs (1)
243
XmlDictionaryWriter writer = detailBuffer.OpenSection(
XmlDictionaryReaderQuotas
.Max);
System\ServiceModel\Channels\MessageHeaders.cs (1)
532
XmlDictionaryWriter writer = buffer.OpenSection(
XmlDictionaryReaderQuotas
.Max);
System\ServiceModel\Channels\MtomMessageEncoder.cs (8)
26
private
XmlDictionaryReaderQuotas
_readerQuotas;
39
public MtomMessageEncoderFactory(MessageVersion version, Encoding writeEncoding, int maxReadPoolSize, int maxWritePoolSize, int maxBufferSize,
XmlDictionaryReaderQuotas
quotas)
72
public
XmlDictionaryReaderQuotas
ReaderQuotas => _readerQuotas;
273
private
XmlDictionaryReaderQuotas
_bufferedReadReaderQuotas;
280
public MtomMessageEncoder(MessageVersion version, Encoding writeEncoding, int maxReadPoolSize, int maxWritePoolSize, int maxBufferSize,
XmlDictionaryReaderQuotas
quotas, MtomMessageEncoderFactory factory)
319
public
XmlDictionaryReaderQuotas
ReaderQuotas { get; }
501
XmlDictionaryReader xmlDictionaryReader = XmlMtomReader.Create(messageData.Array, messageData.Offset, messageData.Count, MtomMessageEncoderFactory.GetSupportedEncodings(), contentType,
XmlDictionaryReaderQuotas
.Max, int.MaxValue, null);
601
public override
XmlDictionaryReaderQuotas
Quotas => _messageEncoder._bufferedReadReaderQuotas;
System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (3)
15
private
XmlDictionaryReaderQuotas
_readerQuotas;
91
public
XmlDictionaryReaderQuotas
ReaderQuotas
180
if (typeof(T) == typeof(
XmlDictionaryReaderQuotas
))
System\ServiceModel\Channels\SecurityBindingElement.cs (2)
171
internal
XmlDictionaryReaderQuotas
ReaderQuotas { get; set; }
337
ReaderQuotas = context.GetInnerProperty<
XmlDictionaryReaderQuotas
>();
System\ServiceModel\Channels\TextMessageEncoder.cs (7)
29
public TextMessageEncoderFactory(MessageVersion version, Encoding writeEncoding, int maxReadPoolSize, int maxWritePoolSize,
XmlDictionaryReaderQuotas
quotas)
62
public
XmlDictionaryReaderQuotas
ReaderQuotas
263
private
XmlDictionaryReaderQuotas
_bufferedReadReaderQuotas;
266
public TextMessageEncoder(MessageVersion version, Encoding writeEncoding, int maxReadPoolSize, int maxWritePoolSize,
XmlDictionaryReaderQuotas
quotas)
327
public
XmlDictionaryReaderQuotas
ReaderQuotas { get; }
540
XmlDictionaryReader xmlDictionaryReader = XmlDictionaryReader.CreateTextReader(messageData.Array, messageData.Offset, messageData.Count,
XmlDictionaryReaderQuotas
.Max);
742
public override
XmlDictionaryReaderQuotas
Quotas
System\ServiceModel\Channels\TextMessageEncodingBindingElement.cs (3)
16
private
XmlDictionaryReaderQuotas
_readerQuotas;
89
public
XmlDictionaryReaderQuotas
ReaderQuotas
157
if (typeof(T) == typeof(
XmlDictionaryReaderQuotas
))
System\ServiceModel\Channels\TransportBindingElement.cs (1)
127
if (typeof(T) == typeof(
XmlDictionaryReaderQuotas
))
System\ServiceModel\Channels\TransportDefaults.cs (2)
38
public static readonly
XmlDictionaryReaderQuotas
ReaderQuotas = new XmlDictionaryReaderQuotas();
40
public static bool IsDefaultReaderQuotas(
XmlDictionaryReaderQuotas
quotas)
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
238
XmlDictionaryReader 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)
77
private
XmlDictionaryReaderQuotas
_readerQuotas;
213
internal
XmlDictionaryReaderQuotas
ReaderQuotas
System\ServiceModel\Security\RequestSecurityToken.cs (1)
454
writer.WriteNode(XmlDictionaryReader.CreateBinaryReader(_cachedWriteBuffer.Array, 0, _cachedWriteBufferLength, XD.Dictionary,
XmlDictionaryReaderQuotas
.Max), false);
System\ServiceModel\Security\RequestSecurityTokenResponse.cs (1)
594
writer.WriteNode(XmlDictionaryReader.CreateBinaryReader(_cachedWriteBuffer.Array, 0, _cachedWriteBufferLength, XD.Dictionary,
XmlDictionaryReaderQuotas
.Max), false);
System\ServiceModel\Security\SecurityAppliedMessage.cs (1)
311
XmlDictionaryWriter canonicalWriter = _fullBodyBuffer.OpenSection(
XmlDictionaryReaderQuotas
.Max);
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
333
_bootstrapSecurityBindingElement.ReaderQuotas = context.GetInnerProperty<
XmlDictionaryReaderQuotas
>();
System\ServiceModel\Security\SecurityVerifiedMessage.cs (1)
439
XmlAttributeHolder[] outerContext1, XmlAttributeHolder[] outerContext2, XmlAttributeHolder[] outerContext3,
XmlDictionaryReaderQuotas
quotas)
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (2)
146
effectiveWriter = canonicalBuffer.OpenSection(
XmlDictionaryReaderQuotas
.Max);
190
effectiveWriter = canonicalBuffer.OpenSection(
XmlDictionaryReaderQuotas
.Max);
System\ServiceModel\XmlBuffer.cs (4)
20
private
XmlDictionaryReaderQuotas
_quotas;
33
public Section(int offset, int size,
XmlDictionaryReaderQuotas
quotas)
47
public
XmlDictionaryReaderQuotas
Quotas { get; }
78
public XmlDictionaryWriter OpenSection(
XmlDictionaryReaderQuotas
quotas)
System.ServiceModel.Syndication (10)
System\ServiceModel\Syndication\SyndicationElementExtension.cs (2)
30
using (XmlDictionaryWriter writer = _buffer.OpenSection(
XmlDictionaryReaderQuotas
.Max))
184
using (XmlDictionaryWriter writer = _buffer.OpenSection(
XmlDictionaryReaderQuotas
.Max))
System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs (1)
187
using (XmlDictionaryWriter writer = newBuffer.OpenSection(
XmlDictionaryReaderQuotas
.Max))
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
392
extWriter = buffer.OpenSection(
XmlDictionaryReaderQuotas
.Max);
System\ServiceModel\Syndication\XmlSyndicationContent.cs (2)
45
using (XmlDictionaryWriter writer = _contentBuffer.OpenSection(
XmlDictionaryReaderQuotas
.Max))
165
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)