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)
72
decoder
= null;
11 references to decoder
System.Private.Xml (11)
System\Xml\Core\XmlTextReaderImpl.cs (8)
3207
if ((newEncoding.WebName != _ps.encoding.WebName || _ps.
decoder
is SafeAsciiDecoder) && !_afterResetState)
3285
Debug.Assert(_ps.stream != null && _ps.
decoder
!= null && _ps.bytes != null);
3488
Debug.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);
3529
Debug.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);
3661
if (_ps.
decoder
is SafeAsciiDecoder)
3879
if (_ps.
decoder
is SafeAsciiDecoder)
System\Xml\Core\XmlTextReaderImplAsync.cs (3)
1001
if ((newEncoding.WebName != _ps.encoding!.WebName || _ps.
decoder
is SafeAsciiDecoder) && !_afterResetState)
1245
if (_ps.
decoder
is SafeAsciiDecoder)
1458
if (_ps.
decoder
is SafeAsciiDecoder)