7 references to ValidatingUTF8
System.Runtime.Serialization (7)
System\Xml\EncodingStreamWrapper.cs (7)
92byteCount = ValidatingUTF8.GetBytes(chars, 0, count, bytes, 0);
125return ValidatingUTF8;
178else if (encoding.WebName == ValidatingUTF8.WebName)
201dec = ValidatingUTF8.GetDecoder();
509bytes = new byte[ValidatingUTF8.GetMaxByteCount(ccount)];
510int bcount = ValidatingUTF8.GetBytes(chars, 0, ccount, bytes, 0);
524seg = new ArraySegment<byte>(ValidatingUTF8.GetBytes(GetEncoding(declEnc).GetChars(buffer, offset, count)));