8 writes to MaxArrayLength
System.IdentityModel.Selectors (1)
infocard\client\System\IdentityModel\Selectors\CardSpaceSelector.cs (1)
87DefaultQuotas.MaxArrayLength = 20 * 1024 * 1024; // maximum byte array
System.ServiceModel (4)
System\ServiceModel\Channels\EncoderHelpers.cs (1)
28bufferedReadQuotas.MaxArrayLength = EncoderDefaults.BufferedReadDefaultMaxArrayLength;
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceSchemas.cs (2)
41quota.MaxArrayLength = 16384; 834quota.MaxArrayLength = 16384;
System\ServiceModel\Configuration\XmlDictionaryReaderQuotasElement.cs (1)
74readerQuotas.MaxArrayLength = this.MaxArrayLength;
System.ServiceModel.Channels (1)
System\ServiceModel\Configuration\ByteStreamMessageEncodingElement.cs (1)
82readerQuotas.MaxArrayLength = oldQuotas.MaxArrayLength;
System.ServiceModel.Web (2)
System\ServiceModel\Configuration\WebHttpBindingElement.cs (1)
295webBindingReaderQuotas.MaxArrayLength = elementReaderQuotas.MaxArrayLength;
System\ServiceModel\Configuration\WebMessageEncodingElement.cs (1)
156readerQuotas.MaxArrayLength = currentQuotas.MaxArrayLength;
69 references to MaxArrayLength
System.Runtime.Serialization (48)
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (2)
117buffer = ByteArrayHelperWithString.Instance.ReadArray(tempDictionaryReader, JsonGlobals.itemString, string.Empty, tempDictionaryReader.Quotas.MaxArrayLength); 121buffer = ByteArrayHelperWithString.Instance.ReadArray(dictionaryReader, JsonGlobals.itemString, string.Empty, dictionaryReader.Quotas.MaxArrayLength);
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
838return Math.Min(context.RemainingItemCount, dictionaryReader.Quotas.MaxArrayLength);
System\Xml\XmlBaseReader.cs (23)
1410if (value.Length > quotas.MaxArrayLength) 1411XmlExceptionHelper.ThrowMaxArrayLengthExceeded(this, quotas.MaxArrayLength); 1418return ReadContentAsBase64(quotas.MaxArrayLength, bufferReader.Buffer.Length); 1420return ReadContentAsBase64(quotas.MaxArrayLength, XmlDictionaryReader.MaxInitialArrayLength); // Initial count will get ignored 1483return ReadContentAsBinHex(quotas.MaxArrayLength); 1919return Int16ArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, quotas.MaxArrayLength); 1924return Int16ArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, quotas.MaxArrayLength); 1929return Int32ArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, quotas.MaxArrayLength); 1934return Int32ArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, quotas.MaxArrayLength); 1939return Int64ArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, quotas.MaxArrayLength); 1944return Int64ArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, quotas.MaxArrayLength); 1949return SingleArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, quotas.MaxArrayLength); 1954return SingleArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, quotas.MaxArrayLength); 1959return DoubleArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, quotas.MaxArrayLength); 1964return DoubleArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, quotas.MaxArrayLength); 1969return DecimalArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, quotas.MaxArrayLength); 1974return DecimalArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, quotas.MaxArrayLength); 1979return DateTimeArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, quotas.MaxArrayLength); 1984return DateTimeArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, quotas.MaxArrayLength); 1989return GuidArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, quotas.MaxArrayLength); 1994return GuidArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, quotas.MaxArrayLength); 1999return TimeSpanArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, quotas.MaxArrayLength); 2004return TimeSpanArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, quotas.MaxArrayLength);
System\Xml\XmlDictionaryReader.cs (22)
382return ReadContentAsBase64(Quotas.MaxArrayLength, MaxInitialArrayLength); 527return ReadContentAsBinHex(Quotas.MaxArrayLength); 1066return BooleanArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, Quotas.MaxArrayLength); 1071return BooleanArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, Quotas.MaxArrayLength); 1094return Int16ArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, Quotas.MaxArrayLength); 1099return Int16ArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, Quotas.MaxArrayLength); 1125return Int32ArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, Quotas.MaxArrayLength); 1130return Int32ArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, Quotas.MaxArrayLength); 1153return Int64ArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, Quotas.MaxArrayLength); 1158return Int64ArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, Quotas.MaxArrayLength); 1181return SingleArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, Quotas.MaxArrayLength); 1186return SingleArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, Quotas.MaxArrayLength); 1209return DoubleArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, Quotas.MaxArrayLength); 1214return DoubleArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, Quotas.MaxArrayLength); 1237return DecimalArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, Quotas.MaxArrayLength); 1242return DecimalArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, Quotas.MaxArrayLength); 1265return DateTimeArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, Quotas.MaxArrayLength); 1270return DateTimeArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, Quotas.MaxArrayLength); 1293return GuidArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, Quotas.MaxArrayLength); 1298return GuidArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, Quotas.MaxArrayLength); 1321return TimeSpanArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, Quotas.MaxArrayLength); 1326return TimeSpanArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, Quotas.MaxArrayLength);
System.ServiceModel (12)
System\ServiceModel\Administration\EndpointInstanceProvider.cs (1)
545readerQuotasInstance.SetProperty(AdministrationStrings.MaxArrayLength, readerQuotas.MaxArrayLength);
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (2)
291if (this.readerQuotas.MaxArrayLength != binary.ReaderQuotas.MaxArrayLength)
System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (2)
253if (this.readerQuotas.MaxArrayLength != mtom.ReaderQuotas.MaxArrayLength)
System\ServiceModel\Channels\PeerNodeImplementation.cs (2)
1737if (existingOne.MaxArrayLength != newOne.MaxArrayLength)
System\ServiceModel\Channels\TextMessageEncodingBindingElement.cs (2)
225if (this.readerQuotas.MaxArrayLength != text.ReaderQuotas.MaxArrayLength)
System\ServiceModel\Configuration\XmlDictionaryReaderQuotasElement.cs (2)
100if (readerQuotas.MaxArrayLength != EncoderDefaults.MaxArrayLength) 102SetPropertyValueIfNotDefaultValue(ConfigurationStrings.MaxArrayLength, readerQuotas.MaxArrayLength);
System\ServiceModel\NetMsmqBinding.cs (1)
120if (this.ReaderQuotas.MaxArrayLength != EncoderDefaults.MaxArrayLength)
System.ServiceModel.Channels (3)
System\ServiceModel\Configuration\ByteStreamMessageEncodingElement.cs (3)
112if (readerQuotas.MaxArrayLength != EncoderDefaults.MaxArrayLength && readerQuotas.MaxArrayLength != 0) 114thisQuotas.MaxArrayLength = readerQuotas.MaxArrayLength;
System.ServiceModel.Web (6)
System\ServiceModel\Channels\WebMessageEncodingBindingElement.cs (3)
207readerQuotasInstance.SetProperty(AdministrationStrings.MaxArrayLength, this.readerQuotas.MaxArrayLength); 266if (this.readerQuotas.MaxArrayLength != other.ReaderQuotas.MaxArrayLength)
System\ServiceModel\Configuration\WebHttpBindingElement.cs (3)
221if (readerQuotas.MaxArrayLength != EncoderDefaults.MaxArrayLength && readerQuotas.MaxArrayLength != 0) 223thisQuotas.MaxArrayLength = readerQuotas.MaxArrayLength;