4 references to maxBytesPerChar
System.Private.DataContractSerialization (4)
System\Xml\XmlCanonicalWriter.cs (4)
364throw new ArgumentOutOfRangeException(nameof(ns), SR.Format(SR.CombinedPrefixNSLength, int.MaxValue / maxBytesPerChar)); 366if (totalLength > int.MaxValue / maxBytesPerChar) 367throw new ArgumentOutOfRangeException(nameof(ns), SR.Format(SR.CombinedPrefixNSLength, int.MaxValue / maxBytesPerChar)); 368EnsureXmlnsBuffer(totalLength * maxBytesPerChar);