5 writes to encoding
dotnet-svcutil-lib (5)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (4)
3012
_ps.
encoding
= Encoding.Unicode;
3036
_ps.
encoding
= originalEncoding;
3252
_ps.
encoding
= Encoding.UTF8;
3257
_ps.
encoding
= encoding;
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImplHelpers.cs (1)
76
encoding
= null;
33 references to encoding
dotnet-svcutil-lib (33)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (33)
485
_reportedEncoding = _ps.
encoding
;
504
_reportedEncoding = _ps.
encoding
;
529
_reportedEncoding = _ps.
encoding
;
552
_reportedEncoding = _ps.
encoding
;
682
_reportedEncoding = _ps.
encoding
;
756
_reportedEncoding = _ps.
encoding
;
805
_reportedEncoding = _ps.
encoding
;
825
_reportedEncoding = _ps.
encoding
;
1254
_reportedEncoding = _ps.
encoding
;
1257
_reportedEncoding = _ps.
encoding
;
1294
_reportedEncoding = _ps.
encoding
;
1302
_reportedEncoding = _ps.
encoding
;
2960
byte[] preamble = _ps.
encoding
.GetPreamble();
3154
_reportedEncoding = _ps.
encoding
;
3259
switch (_ps.
encoding
.WebName)
3277
if ((newEncoding.WebName != _ps.
encoding
.WebName || _ps.decoder is SafeAsciiDecoder) && !_afterResetState)
3294
return _ps.
encoding
;
3302
if (_ps.
encoding
.WebName != "utf-16BE" &&
3303
_ps.
encoding
.WebName != "utf-16" &&
3315
return _ps.
encoding
;
3341
if (_afterResetState && _ps.
encoding
.WebName != newEncoding.WebName)
3379
_ps.bytePos += _ps.
encoding
.GetByteCount(_ps.chars, 0, _ps.charPos);
3704
string encodingName = _ps.
encoding
.WebName;
3706
encodingName != "utf-16BE" && !(_ps.
encoding
is Ucs4Encoding))
3708
Throw(ResXml.Xml_EncodingSwitchAfterResetState, (_ps.
encoding
.GetByteCount("A") == 1) ? "UTF-8" : "UTF-16");
3931
string encodingName = _ps.
encoding
.WebName;
3933
encodingName != "utf-16BE" && !(_ps.
encoding
is Ucs4Encoding))
3935
Throw(ResXml.Xml_EncodingSwitchAfterResetState, (_ps.
encoding
.GetByteCount("A") == 1) ? "UTF-8" : "UTF-16");
6140
_reportedEncoding = _ps.
encoding
;
6276
_reportedEncoding = _ps.
encoding
;
6286
_reportedEncoding = _ps.
encoding
;
8158
Encoding enc = _ps.
encoding
;
8175
Encoding enc = _ps.
encoding
;