4 references to maxBytesPerChar
System.Private.DataContractSerialization (4)
System\Xml\XmlBinaryWriter.cs (4)
397if (charCount < 128 / maxBytesPerChar) 404byte[] buffer = GetBuffer(1 + charCount * maxBytesPerChar, out offset); 647if (charCount <= byte.MaxValue / maxBytesPerChar) 653byte[] buffer = GetBuffer(1 + 1 + charCount * maxBytesPerChar, out offset);