4 references to maxBytesPerChar
System.Runtime.Serialization (4)
System\Xml\XmlC14NWriter.cs (4)
380throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("ns", SR.GetString(SR.CombinedPrefixNSLength, int.MaxValue / maxBytesPerChar))); 382if (totalLength > int.MaxValue / maxBytesPerChar) 383throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("ns", SR.GetString(SR.CombinedPrefixNSLength, int.MaxValue / maxBytesPerChar))); 384EnsureXmlnsBuffer(totalLength * maxBytesPerChar);