Implemented interface member:
method
ToString
System.IFormattable.ToString(System.String, System.IFormatProvider)
186 references to ToString
mscorlib (28)
system\globalization\datetimeformat.cs (3)
486
result.Append(((int)fraction).
ToString
(fixedNumberFormats[tokenLen - 1], CultureInfo.InvariantCulture));
500
result.Append(((int)fraction).
ToString
(fixedNumberFormats[effectiveDigits - 1], CultureInfo.InvariantCulture));
630
result.Append(year.
ToString
(fmtPattern, CultureInfo.InvariantCulture));
system\globalization\timespanformat.cs (1)
126
sb.Append((fraction).
ToString
(DateTimeFormat.fixedNumberFormats[effectiveDigits - 1], CultureInfo.InvariantCulture));
system\intptr.cs (1)
155
return ((int)m_value).
ToString
(format, CultureInfo.InvariantCulture);
system\resources\manifestbasedresourcegroveler.cs (1)
570
Contract.Assert(false, "[This assert catches satellite assembly build/deployment problems - report this message to your build lab & loc engineer]" + Environment.NewLine + "GetSatelliteAssembly failed for culture " + lookForCulture.Name + " and version " + (_mediator.SatelliteContractVersion == null ? _mediator.MainAssembly.GetVersion().ToString() : _mediator.SatelliteContractVersion.ToString()) + " of assembly " + _mediator.MainAssembly.GetSimpleName() + " with error code 0x" + hr.
ToString
("X", CultureInfo.InvariantCulture) + Environment.NewLine + "Exception: " + fle);
system\resources\resourcereader.cs (2)
325
BCLDebug.Log("RESMGRFILEFORMAT", "FindPosForResource for "+name+" hash: "+hash.
ToString
("x", CultureInfo.InvariantCulture));
556
BCLDebug.Log("RESMGRFILEFORMAT", "LoadString("+pos.
ToString
("x", CultureInfo.InvariantCulture)+" returned "+(s==null ? "[a null string]" : s));
system\resources\resourcewriter.cs (1)
504
BCLDebug.Log("RESMGRFILEFORMAT", "Generate: start of DataSection: 0x" + startOfDataSection.
ToString
("x", CultureInfo.InvariantCulture) + " nameSection length: " + nameSection.Length);
system\runtime\interopservices\comexception.cs (1)
71
s = _className + " (0x" + HResult.
ToString
("X8", CultureInfo.InvariantCulture) + ")";
system\runtime\interopservices\externalexception.cs (1)
62
s = _className + " (0x" + HResult.
ToString
("X8", CultureInfo.InvariantCulture) + ")";
system\runtime\interopservices\registrationservices.cs (4)
875
String strVersion = attr.MajorVersion.
ToString
("x", CultureInfo.InvariantCulture) + "." + attr.MinorVersion.
ToString
("x", CultureInfo.InvariantCulture);
901
String strVersion = attr.MajorVersion.
ToString
("x", CultureInfo.InvariantCulture) + "." + attr.MinorVersion.
ToString
("x", CultureInfo.InvariantCulture);
system\runtime\interopservices\typelibconverter.cs (2)
186
String strVersion = major.
ToString
("x", CultureInfo.InvariantCulture) + "." + minor.
ToString
("x", CultureInfo.InvariantCulture);
system\security\permissions\keycontainerpermission.cs (2)
545
entryElem.AddAttribute("ProviderType", accessEntry.ProviderType.
ToString
(null, null));
547
entryElem.AddAttribute("KeySpec", accessEntry.KeySpec.
ToString
(null, null));
system\text\encoderbestfitfallback.cs (2)
108
Contract.Assert(iCount < 1, "[InternalEncoderBestFitFallbackBuffer.Fallback(non surrogate)] Fallback char " + ((int)cBestFit).
ToString
("X4", CultureInfo.InvariantCulture) + " caused recursive fallback");
135
Contract.Assert(iCount < 1, "[InternalEncoderBestFitFallbackBuffer.Fallback(surrogate)] Fallback char " + ((int)cBestFit).
ToString
("X4", CultureInfo.InvariantCulture) + " caused recursive fallback");
system\text\gb18030encoding.cs (2)
300
"[GB18030Encoding.GetBytes] leftover character should be high surrogate, not 0x" + ((int)charLeftOver).
ToString
("X4", CultureInfo.InvariantCulture));
330
"[GB18030Encoding.GetBytes](1) Expected offset < 0x6f, not 0x" + offset.
ToString
("X2", CultureInfo.InvariantCulture));
system\text\utf8encoding.cs (5)
517
"[UTF8Encoding.GetBytes]expected high surrogate, not 0x" + ((int)ch).
ToString
("X4", CultureInfo.InvariantCulture));
549
"[UTF8Encoding.GetBytes]expected high surrogate, not 0x" + ((int)ch).
ToString
("X4", CultureInfo.InvariantCulture));
905
"[UTF8Encoding.GetBytes]expected high surrogate, not 0x" + ((int)ch).
ToString
("X4", CultureInfo.InvariantCulture));
933
"[UTF8Encoding.GetBytes]expected high surrogate, not 0x" + ((int)ch).
ToString
("X4", CultureInfo.InvariantCulture));
1263
"[UTF8Encoding.GetBytes] Expected no mustflush or 0 leftover ch " + ch.
ToString
("X2", CultureInfo.InvariantCulture));
PresentationFramework (3)
src\Framework\System\Windows\Controls\DataGridClipboardHelper.cs (2)
92
string prefix = string.Format(CultureInfo.InvariantCulture, DATAGRIDVIEW_htmlPrefix, bytecountEndOfHtml.
ToString
("00000000", CultureInfo.InvariantCulture), bytecountEndOfFragment.
ToString
("00000000", CultureInfo.InvariantCulture)) + DATAGRIDVIEW_htmlStartFragment;
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (1)
5055
xamlStringBuilder.Append(ic.
ToString
("x", CultureInfo.InvariantCulture));
SMSvcHost (1)
System\ServiceModel\Activation\Diagnostics\ListenerTraceUtility.cs (1)
81
traceCode.
ToString
("X", CultureInfo.InvariantCulture), typeof(ListenerTraceUtility)));
System (27)
compmod\microsoft\csharp\csharpcodeprovider.cs (2)
1311
Output.Write(((int)value).
ToString
("X4", CultureInfo.InvariantCulture));
1314
b.Append(((int)value).
ToString
("X4", CultureInfo.InvariantCulture));
compmod\system\componentmodel\Int32Converter.cs (1)
62
return ((Int32)value).
ToString
("G", formatInfo);
net\System\Net\_DigestClient.cs (3)
659
stringBuilder.Append(HttpDigest.pair(HttpDigest.DA_nc, NonceCount.
ToString
("x8", NumberFormatInfo.InvariantInfo), true));
1032
authorization.Append(pair(DA_nc, digestChallenge.NonceCount.
ToString
("x8", NumberFormatInfo.InvariantInfo), false));
1124
challenge.NonceCount.
ToString
("x8", NumberFormatInfo.InvariantInfo) + ":" +
net\System\Net\_ListenerResponseStream.cs (1)
166
string chunkHeader = size.
ToString
("x", CultureInfo.InvariantCulture);
net\System\Net\_NTAuthentication.cs (15)
704
GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingBlob() SSPIWrapper.InitializeSecurityContext() returns statusCode:0x" + ((int) statusCode).
ToString
("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")");
716
GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingDigestBlob() SSPIWrapper.CompleteAuthToken() returns statusCode:0x" + ((int) statusCode).
ToString
("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")");
732
GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingBlob() SSPIWrapper.AcceptSecurityContext() returns statusCode:0x" + ((int) statusCode).
ToString
("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")");
756
GlobalLog.Leave("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingBlob", "null statusCode:0x" + ((int) statusCode).
ToString
("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")");
776
GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingBlob() need continue statusCode:[0x" + ((int) statusCode).
ToString
("x8", NumberFormatInfo.InvariantInfo) + "] (" + statusCode.ToString() + ") m_SecurityContext#" + ValidationHelper.HashString(m_SecurityContext) + "::Handle:" + ValidationHelper.ToString(m_SecurityContext) + "]");
829
GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingDigestBlob() SSPIWrapper.InitializeSecurityContext() returns statusCode:0x" + ((int) statusCode).
ToString
("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")");
876
GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingDigestBlob() SSPIWrapper.AcceptSecurityContext() returns statusCode:0x" + ((int)statusCode).
ToString
("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")");
887
GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingDigestBlob() SSPIWrapper.CompleteAuthToken() returns statusCode:0x" + ((int)statusCode).
ToString
("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")");
913
GlobalLog.Leave("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingDigestBlob", "null statusCode:0x" + ((int) statusCode).
ToString
("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")");
932
GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingDigestBlob() need continue statusCode:[0x" + ((int) statusCode).
ToString
("x8", NumberFormatInfo.InvariantInfo) + "] (" + statusCode.ToString() + ") m_SecurityContext#" + ValidationHelper.HashString(m_SecurityContext) + "::Handle:" + ValidationHelper.ToString(m_SecurityContext) + "]");
996
GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::Encrypt() throw Error = " + errorCode.
ToString
("x", NumberFormatInfo.InvariantInfo));
1060
GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::Decrypt() throw Error = " + errorCode.
ToString
("x", NumberFormatInfo.InvariantInfo));
1113
GlobalLog.Print("NTAuthentication#" + ValidationHelper.HashString(this) + "::Decrypt() throw Error = " + errorCode.
ToString
("x", NumberFormatInfo.InvariantInfo));
1181
errorCode.
ToString
("x",
1240
errorCode.
ToString
("x", NumberFormatInfo.InvariantInfo));
net\System\Net\_SSPIWrapper.cs (1)
705
return "0x"+errorCode.
ToString
("x", NumberFormatInfo.InvariantInfo);
services\monitoring\system\diagnosticts\CounterSampleCalculator.cs (1)
104
throw new Win32Exception(result, SR.GetString(SR.PerfCounterPdhError, result.
ToString
("x", CultureInfo.InvariantCulture)));
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (1)
918
string lcidString = culture.LCID.
ToString
("X3", CultureInfo.InvariantCulture);
services\monitoring\system\diagnosticts\Process.cs (1)
1652
Debug.WriteLineIf(processTracing.TraceVerbose, "GetProcessHandle(access = 0x" + access.
ToString
("X8", CultureInfo.InvariantCulture) + ", throwIfExited = " + throwIfExited + ")");
sys\system\configuration\ConfigurationException.cs (1)
101
return BareMessage + " (line " + Line.
ToString
("G", CultureInfo.InvariantCulture) + ")";
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\SqlCommandAsyncResult.cs (1)
295
TD.SqlExceptionCaught(this.eventTraceActivity, exception.Number.
ToString
(null, CultureInfo.InvariantCulture), exception.Message);
System.Configuration (2)
System\Configuration\ConfigurationErrorsException.cs (1)
255
return BareMessage + " (line " + Line.
ToString
("G", CultureInfo.CurrentCulture) + ")";
System\Configuration\XmlUtilWriter.cs (1)
246
string numberToWrite = ((int)ch).
ToString
("X", CultureInfo.InvariantCulture);
System.Data (4)
fx\src\data\System\Data\OleDb\OLEDB_Util.cs (3)
244
return ADP.DataAdapter(Res.GetString(Res.OleDb_GVtUnknown, wType.
ToString
("X4", CultureInfo.InvariantCulture), wType.ToString(CultureInfo.InvariantCulture)));
247
return ADP.DataAdapter(Res.GetString(Res.OleDb_SVtUnknown, wType.
ToString
("X4", CultureInfo.InvariantCulture), wType.ToString(CultureInfo.InvariantCulture)));
642
builder.Append(((int)hr).
ToString
("X8", CultureInfo.InvariantCulture));
fx\src\data\System\Data\OleDb\OleDbConnection.cs (1)
244
Debug.Assert(false, "Unknown 'Connection Status' value " + connectionStatus.
ToString
("G", CultureInfo.InvariantCulture));
System.IdentityModel (1)
System\IdentityModel\Diagnostics\TraceUtility.cs (1)
52
traceCode.
ToString
( "X", CultureInfo.InvariantCulture ), typeof( TraceUtility ) ) );
System.Numerics (1)
System\Numerics\BigNumber.cs (1)
534
return value._sign.
ToString
(format, info);
System.Runtime.Serialization (9)
System\Runtime\Serialization\Diagnostics\TraceUtility.cs (1)
52
traceCode.
ToString
("X", CultureInfo.InvariantCulture), typeof(TraceUtility)));
System\Text\SurrogateChar.cs (3)
25
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.XmlInvalidSurrogate, ch.
ToString
("X", CultureInfo.InvariantCulture)), "ch"));
36
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.XmlInvalidLowSurrogate, ((int)lowChar).
ToString
("X", CultureInfo.InvariantCulture)), "lowChar"));
39
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.XmlInvalidHighSurrogate, ((int)highChar).
ToString
("X", CultureInfo.InvariantCulture)), "highChar"));
System\Xml\XmlMtomReader.cs (4)
2678
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(SR.GetString(SR.MimeHeaderInvalidCharacter, (char)(*ptr), ((int)(*ptr)).
ToString
("X", CultureInfo.InvariantCulture))));
3055
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(SR.GetString(SR.MimeHeaderInvalidCharacter, data[offset], ((int)data[offset]).
ToString
("X", CultureInfo.InvariantCulture))));
3089
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(SR.GetString(SR.MimeHeaderInvalidCharacter, data[offset], ((int)data[offset]).
ToString
("X", CultureInfo.InvariantCulture))));
3121
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(SR.GetString(SR.MimeHeaderInvalidCharacter, data[offset], ((int)data[offset]).
ToString
("X", CultureInfo.InvariantCulture))));
System\Xml\XmlMtomWriter.cs (1)
1221
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(SR.GetString(SR.MimeHeaderInvalidCharacter, c, ((int)c).
ToString
("X", CultureInfo.InvariantCulture))));
System.Security (3)
system\security\cryptography\xml\encryptedtype.cs (1)
177
keySizeElement.AppendChild(document.CreateTextNode(m_keySize.
ToString
(null, null)));
system\security\cryptography\xml\SignedXmlDebugLog.cs (2)
242
keyName = key.GetHashCode().
ToString
("x8", CultureInfo.InvariantCulture);
256
o.GetHashCode().
ToString
("x8", CultureInfo.InvariantCulture));
System.ServiceModel (5)
System\ServiceModel\Administration\WbemProvider.cs (2)
65
hr.
ToString
("x", CultureInfo.InvariantCulture));
82
hr.
ToString
("x", CultureInfo.InvariantCulture));
System\ServiceModel\Channels\HttpsChannelListener.cs (1)
376
SR.GetString(SR.TraceCodeHttpsClientCertificateInvalid1, "0x" + (request.ClientCertificateError & 65535).
ToString
("X", CultureInfo.InvariantCulture)),
System\ServiceModel\Diagnostics\PerformanceCountersBase.cs (1)
38
return String.Format("{0}{1}", instanceName, StringUtil.GetNonRandomizedHashCode(fullInstanceName).
ToString
("X", CultureInfo.InvariantCulture));
System\ServiceModel\Diagnostics\TraceUtility.cs (1)
812
traceCode.
ToString
("X", CultureInfo.InvariantCulture), typeof(TraceUtility)));
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\Diagnostics\TraceUtility.cs (1)
41
traceCode.
ToString
("X", CultureInfo.InvariantCulture), typeof(TraceUtility)));
System.ServiceModel.Internals (2)
System\Runtime\Diagnostics\DiagnosticTraceBase.cs (1)
361
xml.WriteElementString(DiagnosticStrings.NativeErrorCodeTag, win32Exception.NativeErrorCode.
ToString
("X", CultureInfo.InvariantCulture));
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (1)
771
win32Exception.NativeErrorCode.
ToString
("X", CultureInfo.InvariantCulture)));
System.Transactions (1)
System\Transactions\Trace\DiagnosticTrace.cs (1)
700
xml.WriteElementString(DiagnosticStrings.NativeErrorCodeTag, win32Exception.NativeErrorCode.
ToString
("X", CultureInfo.InvariantCulture));
System.Web (55)
Compilation\BuildManager.cs (1)
2272
return name + "." + StringUtil.GetStringHashCode(dir).
ToString
("x", CultureInfo.InvariantCulture);
Compilation\BuildResult.cs (1)
279
pfw.SetAttribute("flags", Flags.
ToString
("x", CultureInfo.InvariantCulture));
Compilation\CompilationLock.cs (1)
176
"CL" + hashCode.
ToString
("x", CultureInfo.InvariantCulture),
Configuration\ProcessHostConfigUtils.cs (1)
102
throw new InvalidOperationException(SR.GetString(SR.Cant_Init_Native_Config, result.
ToString
("X8", CultureInfo.InvariantCulture)));
ErrorFormatter.cs (4)
1033
sb.Append(" (0x" + (((ExternalException)e).ErrorCode).
ToString
("x", CultureInfo.CurrentCulture) + ")");
1503
String linestr = i.
ToString
("G", CultureInfo.CurrentCulture);
1640
results.NativeCompilerReturnValue.
ToString
("G",
1771
string number = currentLine.
ToString
("G", CultureInfo.CurrentCulture);
FileChangesMonitor.cs (6)
181
Debug.Trace("GetDacl", "Error in first call to GetFileSecurity: 0x" + hr.
ToString
("x", NumberFormatInfo.InvariantInfo));
1325
"\n\tArgs: Action=" + nqi.Action + "; fileName=" + nqi.Filename + "; Target=" + nqi.Callback.Target + "(HC=" + nqi.Callback.Target.GetHashCode().
ToString
("x", NumberFormatInfo.InvariantInfo) + ")");
1671
Debug.Trace("FileChangesMonitor", "StartMonitoringFile\n" + "\tArgs: File=" + alias + "; Callback=" + callback.Target + "(HC=" + callback.Target.GetHashCode().
ToString
("x", NumberFormatInfo.InvariantInfo) + ")");
1764
Debug.Trace("FileChangesMonitor", "StartMonitoringPath\n" + "\tArgs: File=" + alias + "; Callback=" + callback.Target + "(HC=" + callback.Target.GetHashCode().
ToString
("x", NumberFormatInfo.InvariantInfo) + ")");
1897
Debug.Trace("FileChangesMonitor", "StartMonitoringDirectoryRenamesAndBinDirectory\n" + "\tArgs: File=" + dir + "; Callback=" + callback.Target + "(HC=" + callback.Target.GetHashCode().
ToString
("x", NumberFormatInfo.InvariantInfo) + ")");
2052
Debug.Trace("FileChangesMonitor", "Firing subdir change event\n" + "\tArgs: Action=" + e.Action + "; fileName=" + e.FileName + "; Target=" + handler.Target + "(HC=" + handler.Target.GetHashCode().
ToString
("x", NumberFormatInfo.InvariantInfo) + ")");
Hosting\ApplicationManager.cs (2)
215
return appId.GetHashCode().
ToString
("x", CultureInfo.InvariantCulture);
896
physicalPath.ToLower(CultureInfo.InvariantCulture)))).
ToString
("x", CultureInfo.InvariantCulture);
Hosting\IIS7WorkerRequest.cs (2)
1978
throw new HttpException(SR.GetString(SR.Server_Support_Function_Error, result.
ToString
("X8", CultureInfo.InvariantCulture)), Marshal.GetExceptionForHR(result));
1984
throw new HttpException(SR.GetString(SR.Server_Support_Function_Error_Disconnect, result.
ToString
("X8", CultureInfo.InvariantCulture)), result);
Hosting\ISAPIWorkerRequest.cs (1)
2447
throw new HttpException(SR.GetString(message, rc.
ToString
("X8", CultureInfo.InvariantCulture)), rc);
HttpApplication.cs (2)
2867
throw new HttpException(SR.GetString(SR.Cant_Read_Native_Modules, result.
ToString
("X8", CultureInfo.InvariantCulture)));
2877
throw new HttpException(SR.GetString(SR.Cant_Read_Native_Modules, result.
ToString
("X8", CultureInfo.InvariantCulture)));
HttpClientCertificate.cs (3)
197
return Flags.
ToString
("G", CultureInfo.InvariantCulture);
200
return KeySize.
ToString
("G", CultureInfo.InvariantCulture);
230
return CertEncoding.
ToString
("G", CultureInfo.InvariantCulture);
HttpDebugHandler.cs (1)
243
context.Response.Write(SR.GetString(SR.Error_Attaching_with_MDM, "0x" + rc.
ToString
("X8", CultureInfo.InvariantCulture)));
Management\EventlogProvider.cs (1)
252
throw new HttpException(SR.GetString(SR.Event_log_provider_error, "0x" + hr.
ToString
("X8", CultureInfo.InstalledUICulture)));
Management\webeventbuffer.cs (1)
590
return t.ToString("T", DateTimeFormatInfo.InvariantInfo) + "." + t.Millisecond.
ToString
("d03", CultureInfo.InvariantCulture);
Management\wmiprovider.cs (2)
34
SR.GetString(SR.Wmi_provider_cant_initialize, "0x" + hr.
ToString
("X8", CultureInfo.CurrentCulture)));
234
throw new HttpException(SR.GetString(SR.Wmi_provider_error, "0x" + hr.
ToString
("X8", CultureInfo.InstalledUICulture)));
Security\AntiXss\SafeList.cs (4)
114
return StringToCharArrayWithHashPrefix(value.
ToString
("x2", CultureInfo.InvariantCulture));
131
return StringToCharArrayWithPercentPrefix(value.
ToString
("X2", CultureInfo.InvariantCulture));
148
return StringToCharArrayWithSlashPrefix(value.
ToString
("x2", CultureInfo.InvariantCulture));
182
return StringToCharArrayWithSlashPrefix(value.
ToString
("X6", CultureInfo.InvariantCulture));
Security\PassportIdentity.cs (2)
178
_Name = Int32.Parse(this["MemberIDHigh"], CultureInfo.InvariantCulture).
ToString
("X8", CultureInfo.InvariantCulture) +
179
Int32.Parse(this["MemberIDLow"], CultureInfo.InvariantCulture).
ToString
("X8", CultureInfo.InvariantCulture);
State\OutOfProcStateClientManager.cs (1)
395
"0x" + hr.
ToString
("X08", CultureInfo.InvariantCulture),
State\sqlstateclientmanager.cs (1)
1084
_appSuffix = (appId).
ToString
(APP_SUFFIX_FORMAT, CultureInfo.InvariantCulture);
UI\ObjectConverter.cs (1)
78
return ((int)value).
ToString
(formatString, CultureInfo.InvariantCulture);
UI\Util.cs (2)
299
HostingEnvironment.AppDomainUniqueInteger.
ToString
(
436
string uniqueToken = DateTime.Now.Ticks.GetHashCode().
ToString
("x", CultureInfo.InvariantCulture);
Util\HashCodeCombiner.cs (6)
111
Debug.Trace("HashCodeCombiner", "Hashcode: " + dt.GetHashCode().
ToString
("x", CultureInfo.InvariantCulture));
117
Debug.Trace("HashCodeCombiner", "Hashcode: " + fileSize.GetHashCode().
ToString
("x", CultureInfo.InvariantCulture));
123
Debug.Trace("HashCodeCombiner", "FileMajorPart: " + fileVersionInfo.FileMajorPart.GetHashCode().
ToString
("x", CultureInfo.InvariantCulture));
124
Debug.Trace("HashCodeCombiner", "FileMinorPart: " + fileVersionInfo.FileMinorPart.GetHashCode().
ToString
("x", CultureInfo.InvariantCulture));
125
Debug.Trace("HashCodeCombiner", "FileBuildPart: " + fileVersionInfo.FileBuildPart.GetHashCode().
ToString
("x", CultureInfo.InvariantCulture));
126
Debug.Trace("HashCodeCombiner", "FilePrivatePart: " + fileVersionInfo.FilePrivatePart.GetHashCode().
ToString
("x", CultureInfo.InvariantCulture));
Util\HttpEncoder.cs (1)
82
builder.Append(((int)c).
ToString
("x4", CultureInfo.InvariantCulture));
Util\ReadWriteSpinLock.cs (8)
102
Debug.Trace("Spinlock", "AcquireReaderLock: _bits=" + _bits.
ToString
("x8", CultureInfo.InvariantCulture)
103
+ " _id= " + _id.
ToString
("x8", CultureInfo.InvariantCulture));
117
Debug.Trace("Spinlock", "AcquireWriterLock: _bits=" + _bits.
ToString
("x8", CultureInfo.InvariantCulture)
118
+ " _id= " + _id.
ToString
("x8", CultureInfo.InvariantCulture));
131
Debug.Trace("Spinlock", "ReleaseReaderLock: _bits=" + _bits.
ToString
("x8", CultureInfo.InvariantCulture)
132
+ " _id= " + _id.
ToString
("x8", CultureInfo.InvariantCulture));
177
Debug.Trace("Spinlock", "ReleaseWriterLock: _bits=" + _bits.
ToString
("x8", CultureInfo.InvariantCulture)
178
+ " _id= " + _id.
ToString
("x8", CultureInfo.InvariantCulture));
System.Windows.Forms (17)
winforms\Managed\System\WinForms\Control.cs (1)
7613
Debug.WriteLineIf(ControlKeyboardRouting.TraceVerbose, "Control.IsInputChar 0x" + ((int)charCode).
ToString
("X", CultureInfo.InvariantCulture));
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
8223
string prefix = string.Format(CultureInfo.InvariantCulture, DATAGRIDVIEW_htmlPrefix, bytecountEndOfHtml.
ToString
("00000000", CultureInfo.InvariantCulture), bytecountEndOfFragment.
ToString
("00000000", CultureInfo.InvariantCulture)) + DATAGRIDVIEW_htmlStartFragment;
winforms\Managed\System\WinForms\MonthCalendar.cs (9)
610
throw new ArgumentOutOfRangeException("MaxSelectionCount", SR.GetString(SR.InvalidLowBoundArgumentEx, "MaxSelectionCount", (value).
ToString
("D", CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture)));
616
throw new ArgumentException(SR.GetString(SR.MonthCalendarMaxSelCount, (value).
ToString
("D", CultureInfo.CurrentCulture)), "MaxSelectionCount");
781
throw new ArgumentOutOfRangeException("ScrollChange", SR.GetString(SR.InvalidLowBoundArgumentEx, "ScrollChange", (value).
ToString
("D", CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture)));
784
throw new ArgumentOutOfRangeException("ScrollChange", SR.GetString(SR.InvalidHighBoundArgumentEx, "ScrollChange", (value).
ToString
("D", CultureInfo.CurrentCulture), (MaxScrollChange).
ToString
("D", CultureInfo.CurrentCulture)));
2038
throw new ArgumentOutOfRangeException("x", SR.GetString(SR.MonthCalendarInvalidDimensions, (x).
ToString
("D", CultureInfo.CurrentCulture), (y).
ToString
("D", CultureInfo.CurrentCulture)));
2041
throw new ArgumentOutOfRangeException("y", SR.GetString(SR.MonthCalendarInvalidDimensions, (x).
ToString
("D", CultureInfo.CurrentCulture), (y).
ToString
("D", CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\NativeWindow.cs (4)
293
Debug.WriteLineIf(WndProcChoice.TraceVerbose, "After reg check 0x" + intWndProcFlags.
ToString
("X", CultureInfo.InvariantCulture));
302
Debug.WriteLineIf(WndProcChoice.TraceVerbose, "After config check 0x" + intWndProcFlags.
ToString
("X", CultureInfo.InvariantCulture));
310
Debug.WriteLineIf(WndProcChoice.TraceVerbose, "After config & debugger check 0x" + intWndProcFlags.
ToString
("X", CultureInfo.InvariantCulture));
321
Debug.WriteLineIf(WndProcChoice.TraceVerbose, "Final 0x" + intWndProcFlags.
ToString
("X", CultureInfo.InvariantCulture));
winforms\Managed\System\WinForms\RichTextBox.cs (1)
3832
Debug.WriteLineIf(RichTextDbg.TraceVerbose, "real clsid:" + realClsid.ToString() + " (hr=" + hr.
ToString
("X", CultureInfo.InvariantCulture) + ")");
System.Xml (25)
System\Xml\Core\XmlEncodedRawTextWriter.cs (3)
537
string strVal = ((int)ch).
ToString
( "X", NumberFormatInfo.InvariantInfo );
603
RawText( surrogateChar.
ToString
( "X", NumberFormatInfo.InvariantInfo ) );
1538
string s = ((int)ch).
ToString
( "X",NumberFormatInfo.InvariantInfo );
System\Xml\Core\XmlEncodedRawTextWriterAsync.cs (2)
359
string strVal = ((int)ch).
ToString
( "X", NumberFormatInfo.InvariantInfo );
422
await RawTextAsync( surrogateChar.
ToString
( "X", NumberFormatInfo.InvariantInfo ) ).ConfigureAwait(false);
System\Xml\Core\XmlTextEncoder.cs (3)
217
textWriter.Write( surrogateChar.
ToString
( "X", NumberFormatInfo.InvariantInfo ) );
428
string strVal = ((int)ch).
ToString
( "X", NumberFormatInfo.InvariantInfo );
473
WriteCharEntityImpl( ((int)ch).
ToString
( "X", NumberFormatInfo.InvariantInfo ) );
System\Xml\Core\XmlTextWriter.cs (2)
1282
return "d" + top.
ToString
("d", CultureInfo.InvariantCulture)
1283
+ "p" + temp.
ToString
("d", CultureInfo.InvariantCulture);
System\Xml\Core\XmlUtf8RawTextWriter.cs (3)
473
string strVal = ((int)ch).
ToString
( "X", NumberFormatInfo.InvariantInfo );
535
RawText( surrogateChar.
ToString
( "X", NumberFormatInfo.InvariantInfo ) );
1438
string s = ((int)ch).
ToString
( "X",NumberFormatInfo.InvariantInfo );
System\Xml\Core\XmlUtf8RawTextWriterAsync.cs (2)
337
string strVal = ((int)ch).
ToString
( "X", NumberFormatInfo.InvariantInfo );
396
await RawTextAsync( surrogateChar.
ToString
( "X", NumberFormatInfo.InvariantInfo ) ).ConfigureAwait(false);
System\Xml\Core\XmlWellFormedWriter.cs (1)
1757
string genPrefix = "p" + (nsTop - 2).
ToString
("d", CultureInfo.InvariantCulture);
System\Xml\Serialization\XmlSerializationWriter.cs (3)
1829
return "Write" + (++NextMethodNumber).
ToString
(null, NumberFormatInfo.InvariantInfo) + "_" + CodeIdentifier.MakeValidInternal(name);
3081
Writer.Write(((Int32)value).
ToString
(null, NumberFormatInfo.InvariantInfo));
3120
Writer.Write(((int)value).
ToString
(null, NumberFormatInfo.InvariantInfo));
System\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
551
return "Write" + (++NextMethodNumber).
ToString
(null, NumberFormatInfo.InvariantInfo) + "_" + CodeIdentifier.MakeValidInternal(name);
System\Xml\XmlConvert.cs (5)
217
bufBld.Append(u.
ToString
("X8", CultureInfo.InvariantCulture));
222
bufBld.Append(((Int32)name[0]).
ToString
("X4", CultureInfo.InvariantCulture));
259
bufBld.Append(u.
ToString
("X8", CultureInfo.InvariantCulture));
264
bufBld.Append(((Int32)name[position]).
ToString
("X4", CultureInfo.InvariantCulture));
670
return value.
ToString
(null, NumberFormatInfo.InvariantInfo);