63 references to Default
mscorlib (3)
system\io\textwriter.cs (1)
626
get { return Encoding.
Default
; }
system\stubhelpers.cs (1)
53
string str = Encoding.
Default
.GetString(bytes);
system\text\encoding.cs (1)
466
result = Encoding.
Default
;
PresentationFramework (2)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (1)
7826
_rtfBytes = Encoding.
Default
.GetBytes(rtfString);
src\Framework\System\Windows\Markup\XamlReader.cs (1)
77
Stream xamlStream = new MemoryStream(UTF8Encoding.
Default
.GetBytes(xamlText));
System (15)
net\System\Net\_BasicClient.cs (3)
126
GlobalLog.Print("BasicClient::EncodingRightGetBytes(): Default Encoding is:" + Encoding.
Default
.EncodingName);
128
byte[] bytes = Encoding.
Default
.GetBytes(rawString);
129
string rawCopy = Encoding.
Default
.GetString(bytes);
net\System\Net\_DigestClient.cs (3)
892
byte[] bytes = charset==Charset.UTF8 ? Encoding.UTF8.GetBytes(rawString) : Encoding.
Default
.GetBytes(rawString);
913
byte[] bytes = Encoding.
Default
.GetBytes(rawString);
914
string rawCopy = Encoding.
Default
.GetString(bytes);
net\System\Net\_FtpControlStream.cs (1)
295
Encoding = Encoding.
Default
;
net\System\Net\HttpListener.cs (3)
2334
byte[] byteReason = Encoding.
Default
.GetBytes(statusDescription);
2340
byte[] byteContentLength = Encoding.
Default
.GetBytes("0");
2368
byte[] byteChallenge = Encoding.
Default
.GetBytes((string) challenges[i]);
net\System\Net\HttpListenerRequest.cs (1)
386
return Encoding.
Default
;
net\System\Net\webclient.cs (1)
44
Encoding m_Encoding = Encoding.
Default
;
net\System\Net\WebHeaderCollection.cs (2)
2103
m_Bytes = Encoding.
Default
.GetBytes(m_String);
2104
string copy = Encoding.
Default
.GetString(m_Bytes);
services\monitoring\system\diagnosticts\Process.cs (1)
2773
envBlock = Encoding.
Default
.GetBytes(stringBuff.ToString());
System.Data (2)
fx\src\data\System\Data\Odbc\OdbcParameter.cs (2)
338
cch = System.Text.Encoding.
Default
.GetMaxByteCount(cch);
350
cch = System.Text.Encoding.
Default
.GetMaxByteCount(cch);
System.Drawing (1)
commonui\System\Drawing\Printing\PrinterSettings.cs (1)
1404
byte[] bytes = System.Text.Encoding.
Default
.GetBytes(str);
System.Web (21)
Configuration\GlobalizationSection.cs (2)
155
fileEncodingCache = Encoding.
Default
;
166
fileEncodingCache = Encoding.
Default
;
ErrorFormatter.cs (4)
1001
return FormatterWithFileInfo.GetSourceFileLines(_physicalPath, Encoding.
Default
, null, _line);
1562
get { return Encoding.
Default
; }
1675
sb.Append(FormatterWithFileInfo.GetSourceFileLines(e.FileName, Encoding.
Default
, _excep.SourceCodeWithoutDemand, e.Line));
1732
sb.Append(FormatterWithFileInfo.GetSourceFileLines(e.FileName, Encoding.
Default
, _excep.SourceCodeWithoutDemand, e.Line));
Hosting\ISAPIWorkerRequest.cs (2)
704
String[] ss = buf.GetDecodedTabSeparatedStrings(Encoding.
Default
, 6, 0);
2851
String[] ss = buf.GetDecodedTabSeparatedStrings(Encoding.
Default
, _numServerVars-1, 1);
Hosting\SimpleWorkerRequest.cs (1)
294
_output.Write(System.Text.Encoding.
Default
.GetChars(data, 0, length));
HttpClientCertificate.cs (3)
221
return System.Text.Encoding.
Default
.GetString(Certificate);
224
return System.Text.Encoding.
Default
.GetString(BinaryIssuer);
227
return System.Text.Encoding.
Default
.GetString(PublicKey);
HttpRequest.cs (2)
189
_queryString = new HttpValueCollection(_queryStringText, true, true, Encoding.
Default
);
202
_queryString = new HttpValueCollection(_queryStringText, true, true, Encoding.
Default
);
HttpResponse.cs (2)
1711
_encoding = Encoding.
Default
;
2700
_writer.Write(Encoding.
Default
.GetChars(fileBytes, 0, bytesRead));
State\SessionStateContainer.cs (1)
191
return Encoding.
Default
.CodePage;
UI\Util.cs (3)
175
fileEncoding = Encoding.
Default
;
189
Encoding fileEncoding = Encoding.
Default
;
369
Encoding encoding = Encoding.
Default
;
Util\SmtpMail.cs (1)
644
Encoding bodyEncoding = Encoding.
Default
;
System.Web.Services (3)
System\Web\Services\Description\ServiceDescription.cs (1)
348
StreamReader reader = new StreamReader(fileName, Encoding.
Default
, true);
System\Web\Services\Protocols\HttpServerProtocol.cs (1)
167
string utf8MethodName = Encoding.UTF8.GetString(Encoding.
Default
.GetBytes(methodName));
System\Web\Services\Protocols\RequestResponse.cs (1)
95
if (e == null) e = Encoding.
Default
;
System.Windows.Forms (14)
winforms\Managed\System\Resources\ResXFileRef.cs (1)
294
Encoding textFileEncoding = Encoding.
Default
;
winforms\Managed\System\WinForms\Control.cs (2)
7880
bytes = Encoding.
Default
.GetBytes(value);
7881
nullBytes = Encoding.
Default
.GetBytes(nullChar);
winforms\Managed\System\WinForms\ListView.cs (2)
6070
byte[] buff = System.Text.Encoding.
Default
.GetBytes(text + "\0");
6155
byte[] byteBuf = System.Text.Encoding.
Default
.GetBytes(lvi.ToolTipText + "\0");
winforms\Managed\System\WinForms\RichTextBox.cs (5)
2285
string fontName = Encoding.
Default
.GetString(cf.szFaceName);
2902
bytesFaceName = Encoding.
Default
.GetBytes(logfont.lfFaceName);
3004
encodedBytes = Encoding.
Default
.GetBytes(str);
3031
string str = Encoding.
Default
.GetString(bytes);
3121
result = Encoding.
Default
.GetString(bytes, 0, bytes.Length);
winforms\Managed\System\WinForms\TextBoxBase.cs (2)
2074
Encoding e = Encoding.
Default
;
2116
Encoding e = Encoding.
Default
;
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (2)
6554
string result = Encoding.
Default
.GetString(buffer, offset, i - offset);
6569
byte[] bytes = Encoding.
Default
.GetBytes(s);
WindowsBase (2)
Shared\MS\Win32\NativeMethodsCLR.cs (2)
6196
string result = Encoding.
Default
.GetString(buffer, offset, i - offset);
6214
byte[] bytes = Encoding.
Default
.GetBytes(s);