4 references to maxBytesPerChar
System.Runtime.Serialization (4)
System\Xml\XmlBinaryWriter.cs (4)
405
if (charCount < 128 /
maxBytesPerChar
)
412
byte[] buffer = GetBuffer(1 + charCount *
maxBytesPerChar
, out offset);
694
if (charCount <= byte.MaxValue /
maxBytesPerChar
)
700
byte[] buffer = GetBuffer(1 + 1 + charCount *
maxBytesPerChar
, out offset);