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