1 write to MaxArrayLength
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
FormattingUtilities.cs (1)
25
MaxArrayLength
= int.MaxValue,
50 references to MaxArrayLength
System.Private.DataContractSerialization (48)
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (2)
82
buffer = ByteArrayHelperWithString.Instance.ReadArray(tempDictionaryReader, JsonGlobals.itemString, string.Empty, tempDictionaryReader.Quotas.
MaxArrayLength
);
86
buffer = ByteArrayHelperWithString.Instance.ReadArray(dictionaryReader, JsonGlobals.itemString, string.Empty, dictionaryReader.Quotas.
MaxArrayLength
);
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
793
return Math.Min(context.RemainingItemCount, dictionaryReader.Quotas.
MaxArrayLength
);
System\Xml\XmlBaseReader.cs (23)
1304
if (value.Length > _quotas.
MaxArrayLength
)
1305
XmlExceptionHelper.ThrowMaxArrayLengthExceeded(this, _quotas.
MaxArrayLength
);
1312
return ReadContentAsBase64(_quotas.
MaxArrayLength
, _bufferReader.Buffer.Length);
1314
return ReadContentAsBase64(_quotas.
MaxArrayLength
, XmlDictionaryReader.MaxInitialArrayLength); // Initial count will get ignored
1375
return ReadContentAsBinHex(_quotas.
MaxArrayLength
);
1794
return Int16ArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, _quotas.
MaxArrayLength
);
1799
return Int16ArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, _quotas.
MaxArrayLength
);
1804
return Int32ArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, _quotas.
MaxArrayLength
);
1809
return Int32ArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, _quotas.
MaxArrayLength
);
1814
return Int64ArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, _quotas.
MaxArrayLength
);
1819
return Int64ArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, _quotas.
MaxArrayLength
);
1824
return SingleArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, _quotas.
MaxArrayLength
);
1829
return SingleArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, _quotas.
MaxArrayLength
);
1834
return DoubleArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, _quotas.
MaxArrayLength
);
1839
return DoubleArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, _quotas.
MaxArrayLength
);
1844
return DecimalArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, _quotas.
MaxArrayLength
);
1849
return DecimalArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, _quotas.
MaxArrayLength
);
1854
return DateTimeArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, _quotas.
MaxArrayLength
);
1859
return DateTimeArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, _quotas.
MaxArrayLength
);
1864
return GuidArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, _quotas.
MaxArrayLength
);
1869
return GuidArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, _quotas.
MaxArrayLength
);
1874
return TimeSpanArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, _quotas.
MaxArrayLength
);
1879
return TimeSpanArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, _quotas.
MaxArrayLength
);
System\Xml\XmlDictionaryReader.cs (22)
353
return ReadContentAsBase64(Quotas.
MaxArrayLength
, MaxInitialArrayLength);
496
return ReadContentAsBinHex(Quotas.
MaxArrayLength
);
1032
return BooleanArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, Quotas.
MaxArrayLength
);
1037
return BooleanArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, Quotas.
MaxArrayLength
);
1060
return Int16ArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, Quotas.
MaxArrayLength
);
1065
return Int16ArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, Quotas.
MaxArrayLength
);
1091
return Int32ArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, Quotas.
MaxArrayLength
);
1096
return Int32ArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, Quotas.
MaxArrayLength
);
1119
return Int64ArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, Quotas.
MaxArrayLength
);
1124
return Int64ArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, Quotas.
MaxArrayLength
);
1147
return SingleArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, Quotas.
MaxArrayLength
);
1152
return SingleArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, Quotas.
MaxArrayLength
);
1175
return DoubleArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, Quotas.
MaxArrayLength
);
1180
return DoubleArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, Quotas.
MaxArrayLength
);
1203
return DecimalArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, Quotas.
MaxArrayLength
);
1208
return DecimalArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, Quotas.
MaxArrayLength
);
1231
return DateTimeArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, Quotas.
MaxArrayLength
);
1236
return DateTimeArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, Quotas.
MaxArrayLength
);
1259
return GuidArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, Quotas.
MaxArrayLength
);
1264
return GuidArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, Quotas.
MaxArrayLength
);
1287
return TimeSpanArrayHelperWithString.Instance.ReadArray(this, localName, namespaceUri, Quotas.
MaxArrayLength
);
1292
return TimeSpanArrayHelperWithDictionaryString.Instance.ReadArray(this, localName, namespaceUri, Quotas.
MaxArrayLength
);
UnitTests.Common (2)
TestHelpers.cs (2)
25
return a.
MaxArrayLength
== b.
MaxArrayLength