35 references to GetEncoding
mscorlib (8)
system\console.cs (2)
556
_inputEncoding = Encoding.
GetEncoding
((int) cp);
609
_outputEncoding = Encoding.
GetEncoding
((int) cp);
system\text\codepageencoding.cs (1)
82
this.realEncoding = Encoding.
GetEncoding
(this.m_codePage);
system\text\encoding.cs (3)
566
baseEncoding =
GetEncoding
(codepage);
681
return (
GetEncoding
(EncodingTable.GetCodePageFromName(name)));
1413
enc =
GetEncoding
(codePage);
system\text\encodinginfo.cs (1)
56
return Encoding.
GetEncoding
(this.iCodePage);
system\text\mlangcodepageencoding.cs (1)
84
this.realEncoding = Encoding.
GetEncoding
(this.m_codePage);
PresentationFramework (6)
src\Framework\System\Windows\Documents\RtfToXamlLexer.cs (2)
40
_currentEncoding = Encoding.
GetEncoding
(_currentCodePage);
305
_currentEncoding = Encoding.
GetEncoding
(_currentCodePage);
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (2)
3450
Encoding e = Encoding.
GetEncoding
(CodePageList[i]);
8852
Encoding ec = Encoding.
GetEncoding
(932);
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (2)
2227
return Encoding.
GetEncoding
(XamlRtfConverter.RtfCodePage).GetString(imageHexBytes);
4024
e = Encoding.
GetEncoding
(cp);
System.Data (12)
fx\src\data\System\Data\Odbc\OdbcParameter.cs (2)
648
Encoding cpe = System.Text.Encoding.
GetEncoding
(culInfo.TextInfo.ANSICodePage);
851
Encoding cpe = System.Text.Encoding.
GetEncoding
(culInfo.TextInfo.ANSICodePage);
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
2156
Encoding cp = System.Text.Encoding.
GetEncoding
(TdsEnums.DEFAULT_ENGLISH_CODE_PAGE_VALUE);
2455
Encoding cp = System.Text.Encoding.
GetEncoding
(TdsEnums.DEFAULT_ENGLISH_CODE_PAGE_VALUE);
fx\src\data\System\Data\SqlClient\TdsParser.cs (6)
2403
_defaultEncoding = System.Text.Encoding.
GetEncoding
(_defaultCodePage);
2411
_defaultEncoding = System.Text.Encoding.
GetEncoding
(_defaultCodePage);
2472
_defaultEncoding = System.Text.Encoding.
GetEncoding
(_defaultCodePage);
3526
rec.encoding = System.Text.Encoding.
GetEncoding
(rec.codePage);
4275
col.encoding = System.Text.Encoding.
GetEncoding
(col.codePage);
5766
Encoding encoding = Encoding.
GetEncoding
(GetCodePage(collation, stateObj));
fx\src\data\System\Data\SQLTypes\SQLString.cs (2)
149
Encoding cpe = System.Text.Encoding.
GetEncoding
(culInfo.TextInfo.ANSICodePage);
383
Encoding cpe = System.Text.Encoding.
GetEncoding
(culInfo.TextInfo.ANSICodePage);
System.Web (5)
Security\AntiXss\AntiXssEncoder.cs (2)
103
return UrlEncode(input, Encoding.
GetEncoding
(codePage));
109
return HtmlFormUrlEncode(input, Encoding.
GetEncoding
(codePage));
State\SessionStateContainer.cs (1)
195
HttpContext.Current.Response.ContentEncoding = Encoding.
GetEncoding
(value);
UI\Page.cs (1)
3829
set { Response.ContentEncoding = Encoding.
GetEncoding
(value); }
UI\PageParser.cs (1)
445
Encoding.
GetEncoding
(_codePage);
System.Xml (4)
System\Xml\BinaryXml\XmlBinaryReader.cs (3)
3542
Encoding enc = System.Text.Encoding.
GetEncoding
( codepage );
3678
Encoding enc = System.Text.Encoding.
GetEncoding
(codepage);
3840
Encoding enc = System.Text.Encoding.
GetEncoding
(codepage);
System\Xml\Core\XmlWriterSettings.cs (1)
776
Debug.Assert(Encoding.Equals(Encoding.
GetEncoding
(Encoding.CodePage)), "Cannot serialize encoding correctly");