2 writes to _encoding
System.Private.DataContractSerialization (2)
System\Xml\EncodingStreamWrapper.cs (2)
120_encoding = GetEncoding(e); 168_encoding = encoding;
5 references to _encoding
System.Private.DataContractSerialization (5)
System\Xml\EncodingStreamWrapper.cs (5)
92int count = _encoding.GetChars(_bytes, _byteOffset, _byteCount, _chars, 0); 115[MemberNotNull(nameof(_encoding))] 178_enc = _encoding.GetEncoder(); 183ReadOnlySpan<byte> bom = _encoding.Preamble; 611int charCount = _encoding!.GetChars(_bytes, 0, _byteCount, _chars, 0);