5 writes to encoding
System.Data (5)
fx\src\data\System\Data\SqlClient\TdsParser.cs (4)
3522
rec.
encoding
= _defaultEncoding;
3526
rec.
encoding
= System.Text.Encoding.GetEncoding(rec.codePage);
4271
col.
encoding
= _defaultEncoding;
4275
col.
encoding
= System.Text.Encoding.GetEncoding(col.codePage);
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (1)
866
this.
encoding
= original.encoding;
7 references to encoding
System.Data (7)
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (1)
1904
encoding = _metaData[i].
encoding
;
fx\src\data\System\Data\SqlClient\TdsParser.cs (5)
5220
System.Text.Encoding encoding = md.baseTI.
encoding
;
5374
if (!TryReadSqlStringValue(value, tdsType, length, md.
encoding
, isPlp, stateObj)) {
9504
if (metadata.
encoding
!= null) {
9505
_defaultEncoding = metadata.
encoding
;
11275
Encoding enc = metadata.
encoding
;
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (1)
866
this.encoding = original.
encoding
;