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)
82this.realEncoding = Encoding.GetEncoding(this.m_codePage);
system\text\encoding.cs (3)
566baseEncoding = GetEncoding(codepage); 681return (GetEncoding(EncodingTable.GetCodePageFromName(name))); 1413enc = GetEncoding(codePage);
system\text\encodinginfo.cs (1)
56return Encoding.GetEncoding(this.iCodePage);
system\text\mlangcodepageencoding.cs (1)
84this.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)
3450Encoding e = Encoding.GetEncoding(CodePageList[i]); 8852Encoding ec = Encoding.GetEncoding(932);
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (2)
2227return Encoding.GetEncoding(XamlRtfConverter.RtfCodePage).GetString(imageHexBytes); 4024e = Encoding.GetEncoding(cp);
System.Data (12)
fx\src\data\System\Data\Odbc\OdbcParameter.cs (2)
648Encoding cpe = System.Text.Encoding.GetEncoding(culInfo.TextInfo.ANSICodePage); 851Encoding cpe = System.Text.Encoding.GetEncoding(culInfo.TextInfo.ANSICodePage);
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
2156Encoding cp = System.Text.Encoding.GetEncoding(TdsEnums.DEFAULT_ENGLISH_CODE_PAGE_VALUE); 2455Encoding 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); 3526rec.encoding = System.Text.Encoding.GetEncoding(rec.codePage); 4275col.encoding = System.Text.Encoding.GetEncoding(col.codePage); 5766Encoding encoding = Encoding.GetEncoding(GetCodePage(collation, stateObj));
fx\src\data\System\Data\SQLTypes\SQLString.cs (2)
149Encoding cpe = System.Text.Encoding.GetEncoding(culInfo.TextInfo.ANSICodePage); 383Encoding cpe = System.Text.Encoding.GetEncoding(culInfo.TextInfo.ANSICodePage);
System.Web (5)
Security\AntiXss\AntiXssEncoder.cs (2)
103return UrlEncode(input, Encoding.GetEncoding(codePage)); 109return HtmlFormUrlEncode(input, Encoding.GetEncoding(codePage));
State\SessionStateContainer.cs (1)
195HttpContext.Current.Response.ContentEncoding = Encoding.GetEncoding(value);
UI\Page.cs (1)
3829set { Response.ContentEncoding = Encoding.GetEncoding(value); }
UI\PageParser.cs (1)
445Encoding.GetEncoding(_codePage);
System.Xml (4)
System\Xml\BinaryXml\XmlBinaryReader.cs (3)
3542Encoding enc = System.Text.Encoding.GetEncoding( codepage ); 3678Encoding enc = System.Text.Encoding.GetEncoding(codepage); 3840Encoding enc = System.Text.Encoding.GetEncoding(codepage);
System\Xml\Core\XmlWriterSettings.cs (1)
776Debug.Assert(Encoding.Equals(Encoding.GetEncoding(Encoding.CodePage)), "Cannot serialize encoding correctly");