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