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)
92
int count = _encoding.GetChars(_bytes, _byteOffset, _byteCount,
_chars
, 0);
94
_byteCount = DataContractSerializer.ValidatingUTF8.GetBytes(
_chars
, 0, count, _bytes, 0);
290
[MemberNotNull(nameof(
_chars
))]
597
Debug.Assert(
_chars
!= null);
601
_byteCount = _stream.Read(_bytes, _byteCount, (
_chars
.Length - 1) * 2);
611
int charCount = _encoding!.GetChars(_bytes, 0, _byteCount,
_chars
, 0);
612
_byteCount = Encoding.UTF8.GetBytes(
_chars
, 0, charCount, _bytes, 0);
696
Debug.Assert(
_chars
!= null);
700
int size =
_chars
.Length < count ?
_chars
.Length : count;
701
int charCount = _dec!.GetChars(buffer, offset, size,
_chars
, 0, false);
702
_byteCount = _enc!.GetBytes(
_chars
, 0, charCount, _bytes, 0, false);