54 references to Max
System.Activities.DurableInstancing (2)
System\Activities\DurableInstancing\DefaultObjectSerializer.cs (2)
61
using (XmlDictionaryReader dictionaryReader = XmlDictionaryReader.CreateBinaryReader(stream, XmlDictionaryReaderQuotas.
Max
))
82
using (XmlDictionaryReader dictionaryReader = XmlDictionaryReader.CreateBinaryReader(stream, XmlDictionaryReaderQuotas.
Max
))
System.IdentityModel (15)
System\IdentityModel\Configuration\ConfigurationElementInterceptor.cs (1)
19
using ( XmlReader newReader = XmlDictionaryReader.CreateTextReader( Encoding.UTF8.GetBytes( elementXml.DocumentElement.OuterXml ), XmlDictionaryReaderQuotas.
Max
) )
System\IdentityModel\EnvelopedSignatureWriter.cs (1)
166
XmlReader reader = XmlDictionaryReader.CreateTextReader(_writerStream, XmlDictionaryReaderQuotas.
Max
);
System\IdentityModel\Metadata\MetadataSerializer.cs (1)
1183
XmlDictionaryReader reader = XmlDictionaryReader.CreateTextReader(stream, XmlDictionaryReaderQuotas.
Max
);
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (1)
2822
XmlDictionaryReader memoryReader = XmlDictionaryReader.CreateTextReader(ms, Encoding.UTF8, XmlDictionaryReaderQuotas.
Max
, null);
System\IdentityModel\SamlDelegatingWriter.cs (1)
94
XmlDictionaryReader reader = XmlDictionaryReader.CreateBinaryReader(this.writerStream, this.dictionary, XmlDictionaryReaderQuotas.
Max
);
System\IdentityModel\SignedXml.cs (3)
594
signatureReader = XmlDictionaryReader.CreateBinaryReader(buffer, 0, bufferLength, this.DictionaryManager.ParentDictionary, XmlDictionaryReaderQuotas.
Max
);
897
using (XmlDictionaryReader signedinfoReader = XmlDictionaryReader.CreateTextReader(_bufferedStream, XmlDictionaryReaderQuotas.
Max
))
948
using (XmlDictionaryReader effectiveReader = XmlDictionaryReader.CreateTextReader(_bufferedStream, XmlDictionaryReaderQuotas.
Max
))
System\IdentityModel\Tokens\BootstrapContext.cs (1)
41
using (XmlDictionaryReader reader = XmlDictionaryReader.CreateTextReader(Convert.FromBase64String(info.GetString(_tokenKey)), XmlDictionaryReaderQuotas.
Max
))
System\IdentityModel\Tokens\EncryptedSecurityTokenHandler.cs (1)
212
using (XmlReader innerTokenReader = XmlDictionaryReader.CreateTextReader(plainText, XmlDictionaryReaderQuotas.
Max
))
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (2)
1896
using (XmlDictionaryReader dicReader = XmlDictionaryReader.CreateTextReader(Encoding.UTF8.GetBytes(attributeValue), XmlDictionaryReaderQuotas.
Max
))
4702
using (XmlDictionaryReader wrappedReader = new WrappedXmlDictionaryReader(XmlReader.Create(sr), XmlDictionaryReaderQuotas.
Max
))
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (1)
1446
using (XmlDictionaryReader xmlReader = XmlDictionaryReader.CreateTextReader(Encoding.UTF8.GetBytes(attributeValue), XmlDictionaryReaderQuotas.
Max
))
System\IdentityModel\Tokens\SessionSecurityToken.cs (1)
351
using (XmlDictionaryReader reader = XmlDictionaryReader.CreateBinaryReader(cookie, 0, cookie.Length, dictionary, XmlDictionaryReaderQuotas.
Max
, null, null))
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (1)
314
using (XmlReader reader = XmlDictionaryReader.CreateTextReader(token, XmlDictionaryReaderQuotas.
Max
))
System.Runtime.Serialization (4)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (1)
241
return ReadObject(JsonReaderWriterFactory.CreateJsonReader(stream, XmlDictionaryReaderQuotas.
Max
));
System\Runtime\Serialization\XmlObjectSerializer.cs (1)
246
return ReadObject(XmlDictionaryReader.CreateTextReader(stream, XmlDictionaryReaderQuotas.
Max
));
System\Xml\XmlDictionaryReader.cs (1)
204
return XmlDictionaryReaderQuotas.
Max
;
System\Xml\XmlMtomWriter.cs (1)
480
XmlReader contentTypeReader = XmlDictionaryReader.CreateBinaryReader(contentTypeStream, null, XmlDictionaryReaderQuotas.
Max
, null, null);
System.ServiceModel (26)
System\ServiceModel\Channels\AddressHeader.cs (2)
126
XmlDictionaryWriter writer = buffer.OpenSection(XmlDictionaryReaderQuotas.
Max
);
136
XmlDictionaryWriter writer = buffer.OpenSection(XmlDictionaryReaderQuotas.
Max
);
System\ServiceModel\Channels\BinaryMessageEncoder.cs (1)
805
XmlDictionaryReader xmlDictionaryReader = XmlDictionaryReader.CreateBinaryReader(messageData.Array, messageData.Offset, messageData.Count, XD.Dictionary, XmlDictionaryReaderQuotas.
Max
, this.readerSessionForLogging, null);
System\ServiceModel\Channels\BodyWriter.cs (1)
68
return OnCreateBufferedCopy(maxBufferSize, XmlDictionaryReaderQuotas.
Max
);
System\ServiceModel\Channels\BufferedMessageData.cs (1)
36
get { return XmlDictionaryReaderQuotas.
Max
; }
System\ServiceModel\Channels\Message.cs (4)
306
XmlDictionaryWriter writer = buffer.OpenSection(XmlDictionaryReaderQuotas.
Max
);
390
return OnCreateBufferedCopy(maxBufferSize, XmlDictionaryReaderQuotas.
Max
);
410
XmlDictionaryWriter writer = bodyBuffer.OpenSection(XmlDictionaryReaderQuotas.
Max
);
1794
return OnCreateBufferedCopy(maxBufferSize, XmlDictionaryReaderQuotas.
Max
);
System\ServiceModel\Channels\MessageFault.cs (1)
215
XmlDictionaryWriter writer = detailBuffer.OpenSection(XmlDictionaryReaderQuotas.
Max
);
System\ServiceModel\Channels\MessageHeaders.cs (1)
461
XmlDictionaryWriter writer = buffer.OpenSection(XmlDictionaryReaderQuotas.
Max
);
System\ServiceModel\Channels\MtomMessageEncoder.cs (1)
356
XmlDictionaryReader xmlDictionaryReader = XmlDictionaryReader.CreateMtomReader(messageData.Array, messageData.Offset, messageData.Count, MtomMessageEncoderFactory.GetSupportedEncodings(), contentType, XmlDictionaryReaderQuotas.
Max
, int.MaxValue, null);
System\ServiceModel\Channels\TextMessageEncoder.cs (1)
503
XmlDictionaryReader xmlDictionaryReader = XmlDictionaryReader.CreateTextReader(messageData.Array, messageData.Offset, messageData.Count, null, XmlDictionaryReaderQuotas.
Max
, null);
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
216
XmlDictionaryReader bufferReader = XmlDictionaryReader.CreateTextReader(memoryStream.GetBuffer(), 0, (int)memoryStream.Length, XmlDictionaryReaderQuotas.
Max
);
System\ServiceModel\Security\RequestSecurityToken.cs (1)
545
writer.WriteNode(XmlDictionaryReader.CreateBinaryReader(this.cachedWriteBuffer, 0, this.cachedWriteBufferLength, XD.Dictionary, XmlDictionaryReaderQuotas.
Max
), false);
System\ServiceModel\Security\RequestSecurityTokenResponse.cs (1)
622
writer.WriteNode(XmlDictionaryReader.CreateBinaryReader(this.cachedWriteBuffer, 0, this.cachedWriteBufferLength, XD.Dictionary, XmlDictionaryReaderQuotas.
Max
), false);
System\ServiceModel\Security\SecurityAppliedMessage.cs (3)
285
XmlDictionaryWriter canonicalWriter = this.fullBodyBuffer.OpenSection(XmlDictionaryReaderQuotas.
Max
);
305
XmlDictionaryWriter canonicalWriter = this.fullBodyBuffer.OpenSection(XmlDictionaryReaderQuotas.
Max
);
319
XmlDictionaryWriter fragmentingWriter = buffer.OpenSection(XmlDictionaryReaderQuotas.
Max
);
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (1)
227
effectiveWriter = canonicalBuffer.OpenSection(XmlDictionaryReaderQuotas.
Max
);
System\ServiceModel\Syndication\SyndicationElementExtension.cs (2)
35
using (XmlDictionaryWriter writer = this.buffer.OpenSection(XmlDictionaryReaderQuotas.
Max
))
206
using (XmlDictionaryWriter writer = this.buffer.OpenSection(XmlDictionaryReaderQuotas.
Max
))
System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs (1)
213
using (XmlWriter writer = newBuffer.OpenSection(XmlDictionaryReaderQuotas.
Max
))
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
397
extWriter = buffer.OpenSection(XmlDictionaryReaderQuotas.
Max
);
System\ServiceModel\Syndication\XmlSyndicationContent.cs (2)
51
using (XmlDictionaryWriter writer = this.contentBuffer.OpenSection(XmlDictionaryReaderQuotas.
Max
))
199
using (XmlDictionaryWriter writer = tmp.OpenSection(XmlDictionaryReaderQuotas.
Max
))
System.ServiceModel.Channels (3)
System\ServiceModel\Channels\ByteStreamMessage.cs (2)
22
return CreateMessage(stream, XmlDictionaryReaderQuotas.
Max
, true); // moveBodyReaderToContent is true, for consistency with the other implementations of Message (including the Message base class itself)
38
return CreateMessage(data, XmlDictionaryReaderQuotas.
Max
, true); // moveBodyReaderToContent is true, for consistency with the other implementations of Message (including the Message base class itself)
System\ServiceModel\Channels\UdpOutputChannel.cs (1)
143
using (XmlDictionaryReader xmlDictionaryReader = XmlDictionaryReader.CreateTextReader(messageData.Array, messageData.Offset, messageData.Count, null, XmlDictionaryReaderQuotas.
Max
, null))
System.ServiceModel.Web (2)
System\ServiceModel\Channels\JsonMessageEncoderFactory.cs (1)
292
messageData.Array, messageData.Offset, messageData.Count, null, XmlDictionaryReaderQuotas.
Max
, null);
System\ServiceModel\Dispatcher\JsonQueryStringConverter.cs (1)
182
(byteArray, 0, byteArray.Length, Encoding.UTF8, XmlDictionaryReaderQuotas.
Max
, null);
System.WorkflowServices (2)
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (1)
428
XmlDictionaryReader dictionaryReader = XmlDictionaryReader.CreateBinaryReader((byte[])serializedInstance, XmlDictionaryReaderQuotas.
Max
);
System\ServiceModel\Security\SerializableAuthorizationContext.cs (1)
150
XmlDictionaryReader reader = XmlDictionaryReader.CreateBinaryReader(contextBlob, 0, contextBlob.Length, claimDictionary, XmlDictionaryReaderQuotas.
Max
, null, null);