1 override of CodePage
System.Xml (1)
System\Xml\XmlEncoding.cs (1)
222
public override int
CodePage
{
62 references to CodePage
ComSvcConfig (2)
Tool.cs (2)
903
if ((System.Console.OutputEncoding.
CodePage
!= 65001) &&
904
(System.Console.OutputEncoding.
CodePage
!=
mscorlib (46)
system\console.cs (4)
445
return (StdConUnicodeEncoding.
CodePage
== enc.
CodePage
)
577
uint cp = (uint) value.
CodePage
;
640
uint cp = (uint) value.
CodePage
;
system\text\basecodepageencoding.cs (2)
212
Environment.GetResourceString("NotSupported_NoCodepageData",
CodePage
));
302
int iUseCodePage = this.bFlagDataTable ? dataTableCodePage :
CodePage
;
system\text\dbcscodepageencoding.cs (4)
107
Environment.GetResourceString("NotSupported_NoCodepageData",
CodePage
));
139
(*mapCodePageCached == this.
CodePage
&& !this.bFlagDataTable)),
144
(*mapCodePageCached != this.
CodePage
&& !this.bFlagDataTable))
412
"[DBCSCodePageEncoding.ReadBestFitTable]Expected small best fit table < 20 for code page " +
CodePage
+ ", not " + arrayTemp.Length / 2);
system\text\decoderbestfitfallback.cs (3)
51
return (this.encoding.
CodePage
== that.encoding.
CodePage
);
58
return this.encoding.
CodePage
;
system\text\encoderbestfitfallback.cs (3)
51
return (this.encoding.
CodePage
== that.encoding.
CodePage
);
58
return this.encoding.
CodePage
;
system\text\eucjpencoding.cs (1)
63
int iUseCodePage = this.bFlagDataTable ? dataTableCodePage :
CodePage
;
system\text\gb18030encoding.cs (2)
177
if (*mapCodePageCached == this.
CodePage
)
235
*mapCodePageCached = this.
CodePage
;
system\text\isciiencoding.cs (2)
764
this.currentCodePage = this.defaultCodePage = encoding.
CodePage
- 57000;
803
this.currentCodePage = encoding.
CodePage
- 57000;
system\text\iso2022encoding.cs (15)
117
int iUseCodePage = this.bFlagDataTable ? dataTableCodePage :
CodePage
;
121
switch (this.
CodePage
)
135
Contract.Assert(false, "[ISO2022Encoding.GetMemorySectionName] Don't expect to get here for code page " + this.
CodePage
);
152
switch (this.
CodePage
)
304
switch(
CodePage
)
352
switch (
CodePage
)
457
if (
CodePage
== 50220)
480
if (
CodePage
== 50222)
495
Contract.Assert(
CodePage
== 50221, "[ISO2022Encoding.GetBytesCP5022xJP]Expected Code Page 50221");
520
if (
CodePage
== 50222 && currentMode == ISO2022Modes.ModeHalfwidthKatakana)
552
if (
CodePage
== 50222 && currentMode == ISO2022Modes.ModeHalfwidthKatakana)
586
if (
CodePage
== 50222 && currentMode == ISO2022Modes.ModeHalfwidthKatakana)
600
(
CodePage
!= 50222 || currentMode != ISO2022Modes.ModeHalfwidthKatakana))
1781
switch (
CodePage
)
1828
switch (
CodePage
)
system\text\latin1encoding.cs (1)
56
info.AddValue("CodePageEncoding+m_codePage", this.
CodePage
);
system\text\sbcscodepageencoding.cs (4)
83
Environment.GetResourceString("NotSupported_NoCodepageData",
CodePage
));
186
byteTemp,
CodePage
, (int)arrayTemp[byteTemp]));
288
(int)mapBytesToUnicode[input], (int)input,
CodePage
));
951
switch (
CodePage
)
system\text\unicodeencoding.cs (3)
2000
return (
CodePage
== that.
CodePage
) &&
2012
return
CodePage
+ this.EncoderFallback.GetHashCode() + this.DecoderFallback.GetHashCode() +
system\text\utf32encoding.cs (1)
1227
CodePage
+ (emitUTF32ByteOrderMark?4:0) + (bigEndian?8:0);
system\text\utf7encoding.cs (1)
146
return this.
CodePage
+ this.EncoderFallback.GetHashCode() + this.DecoderFallback.GetHashCode();
System (2)
sys\system\io\ports\SerialPort.cs (2)
304
((value.
CodePage
< 50000 || value.
CodePage
== 54936)&& value.GetType().Assembly == typeof(String).Assembly))) {
System.Runtime.Serialization (2)
System\Xml\XmlUTF8TextWriter.cs (2)
128
if (encoding != null && encoding.
CodePage
== Encoding.UTF8.
CodePage
)
System.Web (5)
HttpWriter.cs (1)
872
_responseCodePage = _responseEncoding.
CodePage
;
State\SessionStateContainer.cs (2)
189
return HttpContext.Current.Response.ContentEncoding.
CodePage
;
191
return Encoding.Default.
CodePage
;
UI\Page.cs (1)
3830
get { return Response.ContentEncoding.
CodePage
; }
Util\SmtpMail.cs (1)
197
_helper.CallMethod(newMail, "SetLocaleIDs", new Object[1] { message.BodyEncoding.
CodePage
});
System.Xml (2)
System\Xml\Core\XmlWriterSettings.cs (2)
776
Debug.Assert(Encoding.Equals(Encoding.GetEncoding(Encoding.
CodePage
)), "Cannot serialize encoding correctly");
777
writer.Write(Encoding.
CodePage
);
WsatConfig (3)
CommandLine\ConsoleEntryPoint.cs (3)
258
if ((System.Console.OutputEncoding.
CodePage
!= Encoding.UTF8.
CodePage
) &&
259
(System.Console.OutputEncoding.
CodePage
!= Thread.CurrentThread.CurrentUICulture.TextInfo.OEMCodePage))