8 writes to MaxStringContentLength
System.IdentityModel.Selectors (1)
infocard\client\System\IdentityModel\Selectors\CardSpaceSelector.cs (1)
86DefaultQuotas.MaxStringContentLength = 8192; // maximum string read
System.ServiceModel (4)
System\ServiceModel\Channels\EncoderHelpers.cs (1)
23bufferedReadQuotas.MaxStringContentLength = EncoderDefaults.BufferedReadDefaultMaxStringContentLength;
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceSchemas.cs (2)
40quota.MaxStringContentLength = 8192; 833quota.MaxStringContentLength = 8192;
System\ServiceModel\Configuration\XmlDictionaryReaderQuotasElement.cs (1)
70readerQuotas.MaxStringContentLength = this.MaxStringContentLength;
System.ServiceModel.Channels (1)
System\ServiceModel\Configuration\ByteStreamMessageEncodingElement.cs (1)
78readerQuotas.MaxStringContentLength = oldQuotas.MaxStringContentLength;
System.ServiceModel.Web (2)
System\ServiceModel\Configuration\WebHttpBindingElement.cs (1)
291webBindingReaderQuotas.MaxStringContentLength = elementReaderQuotas.MaxStringContentLength;
System\ServiceModel\Configuration\WebMessageEncodingElement.cs (1)
152readerQuotas.MaxStringContentLength = currentQuotas.MaxStringContentLength;
30 references to MaxStringContentLength
System.Runtime.Serialization (9)
System\Xml\XmlBaseReader.cs (3)
1650if (value.Length > quotas.MaxStringContentLength) 1651XmlExceptionHelper.ThrowMaxStringContentLengthExceeded(this, quotas.MaxStringContentLength); 1655return base.ReadContentAsString(quotas.MaxStringContentLength);
System\Xml\XmlBinaryReader.cs (2)
126if (value.Length > Quotas.MaxStringContentLength) 127XmlExceptionHelper.ThrowMaxStringContentLengthExceeded(this, Quotas.MaxStringContentLength);
System\Xml\XmlDictionaryReader.cs (2)
412return ReadContentAsString(Quotas.MaxStringContentLength); 480return ReadString(Quotas.MaxStringContentLength);
System\Xml\XmlMtomReader.cs (2)
1393int stringContentQuota = this.Quotas.MaxStringContentLength; 1399XmlExceptionHelper.ThrowMaxStringContentLengthExceeded(this, this.Quotas.MaxStringContentLength);
System.ServiceModel (12)
System\ServiceModel\Administration\EndpointInstanceProvider.cs (1)
549readerQuotasInstance.SetProperty(AdministrationStrings.MaxStringContentLength, readerQuotas.MaxStringContentLength);
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (2)
289if (this.readerQuotas.MaxStringContentLength != binary.ReaderQuotas.MaxStringContentLength)
System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (2)
251if (this.readerQuotas.MaxStringContentLength != mtom.ReaderQuotas.MaxStringContentLength)
System\ServiceModel\Channels\PeerNodeImplementation.cs (2)
1739else if (existingOne.MaxStringContentLength != newOne.MaxStringContentLength)
System\ServiceModel\Channels\TextMessageEncodingBindingElement.cs (2)
223if (this.readerQuotas.MaxStringContentLength != text.ReaderQuotas.MaxStringContentLength)
System\ServiceModel\Configuration\XmlDictionaryReaderQuotasElement.cs (2)
96if (readerQuotas.MaxStringContentLength != EncoderDefaults.MaxStringContentLength) 98SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxStringContentLength, readerQuotas.MaxStringContentLength);
System\ServiceModel\NetMsmqBinding.cs (1)
136if (this.ReaderQuotas.MaxStringContentLength != EncoderDefaults.MaxStringContentLength)
System.ServiceModel.Channels (3)
System\ServiceModel\Configuration\ByteStreamMessageEncodingElement.cs (3)
108if (readerQuotas.MaxStringContentLength != EncoderDefaults.MaxStringContentLength && readerQuotas.MaxStringContentLength != 0) 110thisQuotas.MaxStringContentLength = readerQuotas.MaxStringContentLength;
System.ServiceModel.Web (6)
System\ServiceModel\Channels\WebMessageEncodingBindingElement.cs (3)
211readerQuotasInstance.SetProperty(AdministrationStrings.MaxStringContentLength, this.readerQuotas.MaxStringContentLength); 262if (this.readerQuotas.MaxStringContentLength != other.ReaderQuotas.MaxStringContentLength)
System\ServiceModel\Configuration\WebHttpBindingElement.cs (3)
217if (readerQuotas.MaxStringContentLength != EncoderDefaults.MaxStringContentLength && readerQuotas.MaxStringContentLength != 0) 219thisQuotas.MaxStringContentLength = readerQuotas.MaxStringContentLength;