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