3 writes to decoder
System.Private.Xml (3)
System\Xml\Core\XmlTextReaderImpl.cs (2)
3178_ps.decoder = new SafeAsciiDecoder(); 3183_ps.decoder = _ps.encoding.WebName switch // Encoding.Codepage is not supported in Silverlight
System\Xml\Core\XmlTextReaderImplHelpers.cs (1)
72decoder = null;
11 references to decoder
System.Private.Xml (11)
System\Xml\Core\XmlTextReaderImpl.cs (8)
3207if ((newEncoding.WebName != _ps.encoding.WebName || _ps.decoder is SafeAsciiDecoder) && !_afterResetState) 3285Debug.Assert(_ps.stream != null && _ps.decoder != null && _ps.bytes != null); 3488Debug.Assert(_ps.stream != null && _ps.decoder != null && _ps.bytes != null); 3504_ps.decoder.Convert(_ps.bytes, _ps.bytePos, bytesCount, _ps.chars, _ps.charsUsed, maxCharsCount, false, out bytesCount, out charsCount, out completed); 3529Debug.Assert(_ps.decoder != null); 3532_ps.decoder.Convert(_ps.bytes, _ps.bytePos + bytesDecoded, 1, _ps.chars, _ps.charsUsed + charsDecoded, 2, false, out bDec, out chDec, out completed); 3661if (_ps.decoder is SafeAsciiDecoder) 3879if (_ps.decoder is SafeAsciiDecoder)
System\Xml\Core\XmlTextReaderImplAsync.cs (3)
1001if ((newEncoding.WebName != _ps.encoding!.WebName || _ps.decoder is SafeAsciiDecoder) && !_afterResetState) 1245if (_ps.decoder is SafeAsciiDecoder) 1458if (_ps.decoder is SafeAsciiDecoder)