1 write to _chars
System.Private.DataContractSerialization (1)
System\Xml\EncodingStreamWrapper.cs (1)
294_chars ??= new char[BufferLength];
12 references to _chars
System.Private.DataContractSerialization (12)
System\Xml\EncodingStreamWrapper.cs (12)
92int count = _encoding.GetChars(_bytes, _byteOffset, _byteCount, _chars, 0); 94_byteCount = DataContractSerializer.ValidatingUTF8.GetBytes(_chars, 0, count, _bytes, 0); 290[MemberNotNull(nameof(_chars))] 597Debug.Assert(_chars != null); 601_byteCount = _stream.Read(_bytes, _byteCount, (_chars.Length - 1) * 2); 611int charCount = _encoding!.GetChars(_bytes, 0, _byteCount, _chars, 0); 612_byteCount = Encoding.UTF8.GetBytes(_chars, 0, charCount, _bytes, 0); 696Debug.Assert(_chars != null); 700int size = _chars.Length < count ? _chars.Length : count; 701int charCount = _dec!.GetChars(buffer, offset, size, _chars, 0, false); 702_byteCount = _enc!.GetBytes(_chars, 0, charCount, _bytes, 0, false);