Implemented interface member:
method
ToString
System.IConvertible.ToString(System.IFormatProvider)
226 references to ToString
mscorlib (9)
system\convert.cs (2)
1899
return value.
ToString
(CultureInfo.CurrentCulture);
1904
return value.
ToString
(provider);
system\io\textwriter.cs (1)
251
Write(value.
ToString
(FormatProvider));
system\security\claims\ClaimsPrincipal.cs (1)
448
identities.Add(windowsIdentity.GetTokenInternal().ToInt64().
ToString
(NumberFormatInfo.InvariantInfo));
system\security\permissions\isolatedstoragepermission.cs (3)
213
esd.AddAttribute(_strUserQuota, (m_userQuota).
ToString
(CultureInfo.InvariantCulture)) ;
217
esd.AddAttribute(_strMachineQuota, (m_machineQuota).
ToString
(CultureInfo.InvariantCulture)) ;
221
esd.AddAttribute( _strExpiry, (m_expirationDays).
ToString
(CultureInfo.InvariantCulture)) ;
system\text\stringbuilder.cs (2)
954
return Append(value.
ToString
(CultureInfo.CurrentCulture));
1188
return Insert(index, value.
ToString
(CultureInfo.CurrentCulture), 1);
PresentationBuildTasks (1)
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (1)
919
prefix = UidNamespaceAbbreviation + ext.
ToString
(TypeConverterHelper.InvariantEnglishUS);
PresentationCore (2)
Core\CSharp\System\Windows\Media\Animation\Generated\Int64Animation.cs (2)
331
defaultOriginValue.
ToString
(CultureInfo.InvariantCulture)));
342
defaultDestinationValue.
ToString
(CultureInfo.InvariantCulture)));
PresentationFramework (49)
src\Framework\MS\Internal\Utility\TraceLog.cs (1)
40
string s = DateTime.Now.Ticks.
ToString
(CultureInfo.InvariantCulture)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (11)
495
return nCount.
ToString
(CultureInfo.InvariantCulture);
1993
sb.Append(EffectiveWidth.
ToString
(CultureInfo.InvariantCulture));
1997
sb.Append(CF.
ToString
(CultureInfo.InvariantCulture));
2242
sb.Append(BorderLeft.CF.
ToString
(CultureInfo.InvariantCulture));
2249
sb.Append(BorderTop.CF.
ToString
(CultureInfo.InvariantCulture));
2256
sb.Append(BorderRight.CF.
ToString
(CultureInfo.InvariantCulture));
2263
sb.Append(BorderBottom.CF.
ToString
(CultureInfo.InvariantCulture));
2266
sb.Append(Spacing.
ToString
(CultureInfo.InvariantCulture));
2707
sb.Append(Width.Value.
ToString
(CultureInfo.InvariantCulture));
2709
sb.Append(CellX.
ToString
(CultureInfo.InvariantCulture));
5363
xamlStringBuilder.Append(FormatState.StartIndex.
ToString
(CultureInfo.InvariantCulture));
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (37)
508
_rtfBuilder.Append(dn.FormatState.Font.
ToString
(CultureInfo.InvariantCulture));
589
_rtfBuilder.Append(listTableEntry.ID.
ToString
(CultureInfo.InvariantCulture));
601
_rtfBuilder.Append(lMarker.
ToString
(CultureInfo.InvariantCulture));
603
_rtfBuilder.Append(lMarker.
ToString
(CultureInfo.InvariantCulture));
640
_rtfBuilder.Append(listTableEntry.ID.
ToString
(CultureInfo.InvariantCulture));
659
_rtfBuilder.Append(lo.ID.
ToString
(CultureInfo.InvariantCulture));
664
_rtfBuilder.Append(lo.StartIndex.
ToString
(CultureInfo.InvariantCulture));
667
_rtfBuilder.Append(lo.Index.
ToString
(CultureInfo.InvariantCulture));
728
_rtfBuilder.Append(fsThis.Lang.
ToString
(CultureInfo.InvariantCulture));
734
_rtfBuilder.Append(fsThis.Font.
ToString
(CultureInfo.InvariantCulture));
783
_rtfBuilder.Append(fsThis.FontSize.
ToString
(CultureInfo.InvariantCulture));
788
_rtfBuilder.Append(fsThis.CF.
ToString
(CultureInfo.InvariantCulture));
793
_rtfBuilder.Append(fsThis.CB.
ToString
(CultureInfo.InvariantCulture));
945
_rtfBuilder.Append(fsThis.Lang.
ToString
(CultureInfo.InvariantCulture));
964
_rtfBuilder.Append(fsThis.CF.
ToString
(CultureInfo.InvariantCulture));
1005
_rtfBuilder.Append(fsThis.SL.
ToString
(CultureInfo.InvariantCulture));
1082
_rtfBuilder.Append(fsThis.ITAP.
ToString
(CultureInfo.InvariantCulture));
1087
_rtfBuilder.Append(fsThis.LI.
ToString
(CultureInfo.InvariantCulture));
1089
_rtfBuilder.Append(fsThis.RI.
ToString
(CultureInfo.InvariantCulture));
1091
_rtfBuilder.Append(fsThis.SA.
ToString
(CultureInfo.InvariantCulture));
1093
_rtfBuilder.Append(fsThis.SB.
ToString
(CultureInfo.InvariantCulture));
1105
_rtfBuilder.Append(fsThis.LI.
ToString
(CultureInfo.InvariantCulture));
1111
_rtfBuilder.Append(fsThis.FI.
ToString
(CultureInfo.InvariantCulture));
1149
_rtfBuilder.Append(fsThis.CBPara.
ToString
(CultureInfo.InvariantCulture));
1156
_rtfBuilder.Append(fsThis.SL.
ToString
(CultureInfo.InvariantCulture));
1243
_rtfBuilder.Append(fsThis.FontSize.
ToString
(CultureInfo.InvariantCulture));
1249
_rtfBuilder.Append(fsThis.Font.
ToString
(CultureInfo.InvariantCulture));
1275
_rtfBuilder.Append(fsThis.CF.
ToString
(CultureInfo.InvariantCulture));
1314
_rtfBuilder.Append(fsThis.ILS.
ToString
(CultureInfo.InvariantCulture));
1320
_rtfBuilder.Append(fsThis.ILVL.
ToString
(CultureInfo.InvariantCulture));
1338
_rtfBuilder.Append(fsThis.ListLevel.
ToString
(CultureInfo.InvariantCulture));
1347
_rtfBuilder.Append(fsThis.StartIndex.
ToString
(CultureInfo.InvariantCulture));
1438
string s = l.
ToString
(CultureInfo.InvariantCulture);
1604
_rtfBuilder.Append(fs.CBPara.
ToString
(CultureInfo.InvariantCulture));
1670
_rtfBuilder.Append(cellX.
ToString
(CultureInfo.InvariantCulture));
2117
_rtfBuilder.Append(Converters.PxToTwipRounded(imageNaturalSize.Width * scaleFactor.Width).
ToString
(CultureInfo.InvariantCulture));
2121
_rtfBuilder.Append(Converters.PxToTwipRounded(imageNaturalSize.Height * scaleFactor.Height).
ToString
(CultureInfo.InvariantCulture));
System (19)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
1241
Output.Write(((Int64)e.Value).
ToString
(CultureInfo.InvariantCulture));
compmod\system\codedom\compiler\CodeGenerator.cs (1)
1518
Output.Write(((Int64)e.Value).
ToString
(CultureInfo.InvariantCulture));
compmod\system\diagnostics\DelimitedListTraceListener.cs (1)
183
Write(eventCache.Timestamp.
ToString
(CultureInfo.InvariantCulture));
compmod\system\diagnostics\XmlWriterTraceListener.cs (1)
269
InternalWrite(eventCache.Timestamp.
ToString
(CultureInfo.InvariantCulture));
net\System\Net\_Connection.cs (1)
2220
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::ProcessHeaderData() Content-Length parsed:" + contentLength.
ToString
(NumberFormatInfo.InvariantInfo));
net\System\Net\_FtpControlStream.cs (2)
591
commandList.Add(new PipelineEntry(FormatFtpCommand("REST", request.CacheProtocol.Validator.CacheEntry.StreamSize.
ToString
(CultureInfo.InvariantCulture))));
595
commandList.Add(new PipelineEntry(FormatFtpCommand("REST", request.ContentOffset.
ToString
(CultureInfo.InvariantCulture))));
net\System\Net\Cache\_Rfc2616CacheValidators.cs (4)
1142
{ctx.CacheHeaders[HttpKnownHeaderNames.ContentLength] = ctx.CacheStreamLength.
ToString
(NumberFormatInfo.InvariantInfo);}
1709
string ranges = "bytes " + rangeStart + '-' + (rangeStart + ctx.CacheStreamLength-1) +'/' + (ctx.CacheEntityLength <= 0?"*":ctx.CacheEntityLength.
ToString
(NumberFormatInfo.InvariantInfo));
1711
ctx.CacheHeaders[HttpKnownHeaderNames.ContentLength] = ctx.CacheStreamLength.
ToString
(NumberFormatInfo.InvariantInfo);
1728
{ctx.CacheHeaders[HttpKnownHeaderNames.ContentLength] = ctx.CacheEntityLength.
ToString
(NumberFormatInfo.InvariantInfo);}
net\System\Net\Cache\FtpRequestCacheValidator.cs (2)
290
if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_partial_and_non_zero_content_offset, CacheStreamOffset.
ToString
(CultureInfo.InvariantCulture)));
441
if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_update_not_supported_for_ftp_restart, ((FtpWebRequest)Request).ContentOffset.
ToString
(CultureInfo.InvariantCulture)));
net\System\Net\Cache\IERequestCache.cs (1)
1082
Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_committed_as_partial, "WinInetWriteStream.Close()", m_Entry.Key, (m_StreamSize > 0 ? m_StreamSize.
ToString
(CultureInfo.CurrentCulture) : SR.GetString(SR.net_log_unknown))));
net\System\Net\filewebresponse.cs (1)
58
m_headers.AddInternal(HttpKnownHeaderNames.ContentLength, m_contentLength.
ToString
(NumberFormatInfo.InvariantInfo));
net\System\Net\HttpWebRequest.cs (4)
5003
_HttpRequestHeaders.ChangeInternal(HttpKnownHeaderNames.ContentLength, _ContentLength.
ToString
(NumberFormatInfo.InvariantInfo));
6245
if (!AddRange(rangeSpecifier, from.
ToString
(NumberFormatInfo.InvariantInfo), to.
ToString
(NumberFormatInfo.InvariantInfo))) {
6261
if (!AddRange(rangeSpecifier, range.
ToString
(NumberFormatInfo.InvariantInfo), (range >= 0) ? "" : null)) {
System.Activities (7)
System\Activities\ActivityContext.cs (1)
80
return this.instanceId.
ToString
(CultureInfo.InvariantCulture);
System\Activities\ActivityInstance.cs (1)
241
return this.id.
ToString
(CultureInfo.InvariantCulture);
System\Activities\Bookmark.cs (1)
201
return this.Id.
ToString
(CultureInfo.InvariantCulture);
System\Activities\BookmarkScope.cs (1)
165
return new BookmarkScopeInfo(this.temporaryId.
ToString
(CultureInfo.InvariantCulture));
System\Activities\Runtime\ActivityExecutor.cs (1)
2942
TraceActivityScheduled(parent, activity, instanceId.
ToString
(CultureInfo.InvariantCulture));
System\Activities\Runtime\BookmarkScopeManager.cs (1)
406
TD.BookmarkScopeInitialized(temporaryId.
ToString
(CultureInfo.InvariantCulture), lookupScope.Id.ToString());
System\Activities\Tracking\ActivityInfo.cs (1)
111
this.instanceId = this.instanceIdInternal.
ToString
(CultureInfo.InvariantCulture);
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\CorrelationKey.cs (1)
55
xmlWriter.WriteAttributeString("StartPosition", this.StartPosition.
ToString
(CultureInfo.InvariantCulture));
System.Configuration (2)
System\Configuration\TimeSpanMinutesConverter.cs (1)
28
return data.
ToString
(CultureInfo.InvariantCulture);
System\Configuration\TimeSpanSecondsConverter.cs (1)
28
return data.
ToString
(CultureInfo.InvariantCulture);
System.Core (1)
System\Diagnostics\EventSchemaTraceListener.cs (1)
411
_InternalBuildRaw(writer, eventCache.Timestamp.
ToString
(CultureInfo.InvariantCulture));
System.Data (29)
fx\src\data\System\Data\Common\AdapterUtil.cs (6)
1203
return InvalidOperation(Res.GetString(Res.ADP_NonSeqByteAccess, badIndex.
ToString
(CultureInfo.InvariantCulture), currIndex.
ToString
(CultureInfo.InvariantCulture), method));
1219
return IndexOutOfRange(Res.GetString(Res.SQL_ExceedsMaxDataLength, specifiedLength.
ToString
(CultureInfo.InvariantCulture), maxLength.
ToString
(CultureInfo.InvariantCulture)));
1498
return ArgumentOutOfRange(Res.GetString(Res.ADP_InvalidSourceBufferIndex, maxLen.ToString(CultureInfo.InvariantCulture), srcOffset.
ToString
(CultureInfo.InvariantCulture)), parameterName);
1507
return IndexOutOfRange(Res.GetString(Res.SQL_InvalidDataLength, length.
ToString
(CultureInfo.InvariantCulture)));
fx\src\data\System\Data\Odbc\OdbcParameter.cs (1)
609
value = ((Int64)value).
ToString
(CultureInfo.CurrentCulture);
fx\src\data\System\Data\Sql\SqlMetaData.cs (13)
467
throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.
ToString
(CultureInfo.InvariantCulture)), "maxLength");
472
throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.
ToString
(CultureInfo.InvariantCulture)), "maxLength");
477
throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.
ToString
(CultureInfo.InvariantCulture)), "maxLength");
482
throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.
ToString
(CultureInfo.InvariantCulture)), "maxLength");
488
throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.
ToString
(CultureInfo.InvariantCulture)), "maxLength");
493
throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.
ToString
(CultureInfo.InvariantCulture)), "maxLength");
497
throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.
ToString
(CultureInfo.InvariantCulture)), "maxLength");
502
throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.
ToString
(CultureInfo.InvariantCulture)), "maxLength");
536
throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.
ToString
(CultureInfo.InvariantCulture)), "maxLength");
541
throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.
ToString
(CultureInfo.InvariantCulture)), "maxLength");
546
throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.
ToString
(CultureInfo.InvariantCulture)), "maxLength");
551
throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.
ToString
(CultureInfo.InvariantCulture)), "maxLength");
557
throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.
ToString
(CultureInfo.InvariantCulture)), "maxLength");
fx\src\data\System\Data\SQLTypes\SQLInt64.cs (1)
110
return IsNull ? SQLResource.NullString : m_value.
ToString
((IFormatProvider)null);
fx\src\data\System\Data\SQLTypes\SQLString.cs (1)
543
return x.IsNull ? Null : new SqlString((x.Value).
ToString
((IFormatProvider)null));
fx\src\data\System\Data\xmlsaver.cs (7)
1161
root.SetAttribute("AutoIncrementSeed", Keywords.MSDNS, col.AutoIncrementSeed.
ToString
(CultureInfo.InvariantCulture));
1164
root.SetAttribute("AutoIncrementStep", Keywords.MSDNS, col.AutoIncrementStep.
ToString
(CultureInfo.InvariantCulture));
2114
_xmlw.WriteAttributeString( Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, row.Table.TableName+row.rowID.
ToString
(CultureInfo.InvariantCulture));
2135
_xmlw.WriteAttributeString( Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, row.Table.TableName+row.rowID.
ToString
(CultureInfo.InvariantCulture));
2166
string rowIDString = table.TableName+row.rowID.
ToString
(CultureInfo.InvariantCulture);
2171
parentId = parentRow.Table.TableName+parentRow.rowID.
ToString
(CultureInfo.InvariantCulture);
2545
_xmlw.WriteAttributeString( Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, row.Table.TableName+row.rowID.
ToString
(CultureInfo.InvariantCulture));
System.Data.Entity (5)
System\Data\Common\EntityUtil.cs (4)
441
return IndexOutOfRange(System.Data.Entity.Strings.ADP_InvalidDataLength(length.
ToString
(CultureInfo.InvariantCulture)));
447
return ArgumentOutOfRange(System.Data.Entity.Strings.ADP_InvalidSourceBufferIndex(maxLen.ToString(CultureInfo.InvariantCulture), srcOffset.
ToString
(CultureInfo.InvariantCulture)), parameterName);
456
return InvalidOperation(System.Data.Entity.Strings.ADP_NonSequentialChunkAccess(badIndex.
ToString
(CultureInfo.InvariantCulture), currIndex.
ToString
(CultureInfo.InvariantCulture), method));
System\Data\Objects\ELinq\InitializerFacet.cs (1)
42
Identity = s_identifierPrefix + Interlocked.Increment(ref s_identifier).
ToString
(CultureInfo.InvariantCulture);
System.Data.Services (1)
System\Data\Services\Serializers\JsonWriter.cs (1)
212
this.WriteCore(value.
ToString
(CultureInfo.InvariantCulture), /* quotes */ true);
System.IdentityModel (1)
System\IdentityModel\SecurityUniqueId.cs (1)
41
this.val = this.prefix + this.id.
ToString
(CultureInfo.InvariantCulture);
System.Management (9)
Instrumentation\WMICapabilities.cs (2)
97
wmiCIMOMKey.SetValue(AutoRecoverMofsTimestampVal, DateTime.Now.ToFileTime().
ToString
((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int64))));
115
wmiCIMOMKey.SetValue(AutoRecoverMofsTimestampVal, DateTime.Now.ToFileTime().
ToString
((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int64))));
ManagementDatetime.cs (4)
275
UtcString = "+" + ((tickOffset.Ticks / System.TimeSpan.TicksPerMinute)).
ToString
(frmInt32).PadLeft(3,'0');
279
string strTemp = OffsetMins.
ToString
(frmInt32);
298
String strMicrosec = microsec.
ToString
((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int64)));
453
String strMicrosec = microsec.
ToString
((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int64)));
property.cs (3)
454
((String[])(wmiValue))[i] = (Convert.ToInt64(valArray.GetValue(i),(IFormatProvider)culInfo.GetFormat(typeof(System.Int64)))).
ToString
((IFormatProvider)culInfo.GetFormat(typeof(System.Int64)));
563
wmiValue = (Convert.ToInt64(val,(IFormatProvider)culInfo.GetFormat(typeof(System.Int64)))).
ToString
((IFormatProvider)culInfo.GetFormat(typeof(System.Int64)));
711
((string[])wmiValue) [i] = ((long)(arrayValue[i])).
ToString
((IFormatProvider)culInfo.GetFormat(typeof(System.Int64)));
System.Runtime.Remoting (1)
channels\http\httpstreams.cs (1)
780
headers["Content-Length"] = httpContentStream.Length.
ToString
(CultureInfo.InvariantCulture);
System.Runtime.Serialization (7)
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
643
ThrowConversionException(value.
ToString
(NumberFormatInfo.CurrentInfo), "UInt32");
System\Xml\XmlBufferReader.cs (6)
495
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(value.
ToString
(CultureInfo.InvariantCulture), "DateTime", exception));
499
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(value.
ToString
(CultureInfo.InvariantCulture), "DateTime", exception));
503
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(value.
ToString
(CultureInfo.InvariantCulture), "DateTime", exception));
517
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(value.
ToString
(CultureInfo.InvariantCulture), "TimeSpan", exception));
521
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(value.
ToString
(CultureInfo.InvariantCulture), "TimeSpan", exception));
525
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(value.
ToString
(CultureInfo.InvariantCulture), "TimeSpan", exception));
System.ServiceModel (8)
System\ServiceModel\Administration\WbemProvider.cs (1)
964
val = ((Int64)val).
ToString
(CultureInfo.InvariantCulture);
System\ServiceModel\Channels\MsmqSubqueueLockingQueue.cs (2)
212
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MsmqException(SR.GetString(SR.MsmqReceiveContextMessageNotReceived, lookupId.
ToString
(CultureInfo.InvariantCulture))));
238
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MsmqException(SR.GetString(SR.MsmqReceiveContextMessageNotMoved, lookupId.
ToString
(CultureInfo.InvariantCulture))));
System\ServiceModel\Channels\UriGenerator.cs (1)
39
return prefix + nextId.
ToString
(CultureInfo.InvariantCulture);
System\ServiceModel\Diagnostics\WsrmTraceRecord.cs (3)
66
writer.WriteString(this.sequenceNumber.
ToString
(CultureInfo.InvariantCulture));
111
writer.WriteAttributeString("Lower", this.ranges[i].Lower.
ToString
(CultureInfo.InvariantCulture));
112
writer.WriteAttributeString("Upper", this.ranges[i].Upper.
ToString
(CultureInfo.InvariantCulture));
System\ServiceModel\Security\SecurityUtils.cs (1)
2421
this.val = this.prefix + this.id.
ToString
(CultureInfo.InvariantCulture);
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\DiscoveryMessageSequence.cs (2)
186
this.InstanceId.
ToString
(CultureInfo.InvariantCulture));
197
this.MessageNumber.
ToString
(CultureInfo.InvariantCulture));
System.ServiceModel.Internals (1)
System\Runtime\NameGenerator.cs (1)
26
return nameGenerator.prefix + nextId.
ToString
(CultureInfo.InvariantCulture);
System.ServiceModel.Web (2)
System\ServiceModel\Web\OutgoingWebRequestContext.cs (1)
32
set { this.MessageProperty.Headers[HttpRequestHeader.ContentLength] = value.
ToString
(CultureInfo.InvariantCulture); }
System\ServiceModel\Web\OutgoingWebResponseContext.cs (1)
35
set { this.MessageProperty.Headers[HttpResponseHeader.ContentLength] = value.
ToString
(CultureInfo.InvariantCulture); }
System.Web (28)
Cache\CacheDependency.cs (1)
748
sb.Append(fad.FileSize.
ToString
(CultureInfo.InvariantCulture));
Hosting\ISAPIWorkerRequest.cs (1)
1334
_headers.Append(contentLength.
ToString
(CultureInfo.InvariantCulture));
HttpCachePolicy.cs (5)
745
sb.Append(utcFileLastModifiedMax.Ticks.
ToString
(CultureInfo.InvariantCulture));
872
AppendValueToHeader(sb, "max-age=" + ((long)_maxAge.TotalSeconds).
ToString
(CultureInfo.InvariantCulture));
876
AppendValueToHeader(sb, "s-maxage=" + ((long)(_proxyMaxAge).TotalSeconds).
ToString
(CultureInfo.InvariantCulture));
1019
AppendValueToHeader(sb, "max-age=" + ((long)maxAge.TotalSeconds).
ToString
(CultureInfo.InvariantCulture));
1029
AppendValueToHeader(sb, "s-maxage=" + ((long)(proxyMaxAge).TotalSeconds).
ToString
(CultureInfo.InvariantCulture));
Management\EventlogProvider.cs (5)
51
dataFields.Add(eventRaised.EventSequence.
ToString
(CultureInfo.InstalledUICulture));
52
dataFields.Add(eventRaised.EventOccurrence.
ToString
(CultureInfo.InstalledUICulture));
108
dataFields.Add(procStats.WorkingSet.
ToString
(CultureInfo.InstalledUICulture));
109
dataFields.Add(procStats.PeakWorkingSet.
ToString
(CultureInfo.InstalledUICulture));
110
dataFields.Add(procStats.ManagedHeapSize.
ToString
(CultureInfo.InstalledUICulture));
Management\WebEvents.cs (7)
246
formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_sequence, EventSequence.
ToString
(CultureInfo.InstalledUICulture)));
247
formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_occurrence, EventOccurrence.
ToString
(CultureInfo.InstalledUICulture)));
333
fields.Add(new WebEventFieldData("SequenceNumber", EventSequence.
ToString
(CultureInfo.InstalledUICulture), WebEventFieldType.Long));
334
fields.Add(new WebEventFieldData("Occurrence", EventOccurrence.
ToString
(CultureInfo.InstalledUICulture), WebEventFieldType.Long));
2125
formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_working_set, WorkingSet.
ToString
(CultureInfo.InstalledUICulture)));
2126
formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_peak_working_set, PeakWorkingSet.
ToString
(CultureInfo.InstalledUICulture)));
2127
formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_managed_heap_size, ManagedHeapSize.
ToString
(CultureInfo.InstalledUICulture)));
Management\wmiprovider.cs (5)
73
wmiData.sequenceNumber = eventRaised.EventSequence.
ToString
(CultureInfo.InstalledUICulture);
74
wmiData.occurrence = eventRaised.EventOccurrence.
ToString
(CultureInfo.InstalledUICulture);
186
wmiData.workingSet = procStats.WorkingSet.
ToString
(CultureInfo.InstalledUICulture);
187
wmiData.peakWorkingSet = procStats.PeakWorkingSet.
ToString
(CultureInfo.InstalledUICulture);
188
wmiData.managedHeapSize = procStats.ManagedHeapSize.
ToString
(CultureInfo.InstalledUICulture);
Security\AntiXss\SafeList.cs (1)
199
return StringToCharArrayWithHashPrefix(value.
ToString
(CultureInfo.InvariantCulture));
State\StateRuntime.cs (2)
316
response.AppendHeader(StateHeaders.LOCKDATE_NAME_RAW, localLockDate.Ticks.
ToString
(CultureInfo.InvariantCulture));
317
response.AppendHeader(StateHeaders.LOCKAGE_NAME_RAW, lockAge.
ToString
(CultureInfo.InvariantCulture));
StaticFileHandler.cs (1)
576
response.AppendHeader("Content-Range", "bytes */" + fileLength.
ToString
(NumberFormatInfo.InvariantInfo));
System.Web.Extensions (6)
ClientServices\Providers\ClientFormsAuthenticationMembershipProvider.cs (1)
435
SqlHelper.AddParameter(conn, cmd, "@Date", DateTime.Now.ToFileTimeUtc().
ToString
(CultureInfo.InvariantCulture));
ClientServices\Providers\ClientRoleProvider.cs (1)
282
SqlHelper.AddParameter(conn, cmd, "@Date", DateTime.UtcNow.ToFileTimeUtc().
ToString
(CultureInfo.InvariantCulture));
Compilation\XmlSerializer\DataSvcMapFileSerializer.cs (1)
171
default: throw CreateInvalidEnumValueException(((System.Int64)v).
ToString
(System.Globalization.CultureInfo.InvariantCulture), @"System.Web.Compilation.WCFModel.MetadataFile.MetadataType");
Compilation\XmlSerializer\SvcMapFileSerializer.cs (3)
142
default: throw CreateInvalidEnumValueException(((System.Int64)v).
ToString
(System.Globalization.CultureInfo.InvariantCulture), @"System.Web.Compilation.WCFModel.MetadataFile.MetadataType");
328
default: throw CreateInvalidEnumValueException(((System.Int64)v).
ToString
(System.Globalization.CultureInfo.InvariantCulture), @"System.Web.Compilation.WCFModel.ClientOptions.ProxySerializerType");
359
default: throw CreateInvalidEnumValueException(((System.Int64)v).
ToString
(System.Globalization.CultureInfo.InvariantCulture), @"System.Web.Compilation.WCFModel.ReferencedCollectionType.CollectionCategory");
System.Web.Mobile (6)
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (2)
264
return new Triplet(baseState, _chooseOption, visibleDate.Ticks.
ToString
(CultureInfo.InvariantCulture));
270
visibleDate.Ticks.
ToString
(CultureInfo.InvariantCulture),
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (2)
247
return new Triplet(baseState, _chooseOption, visibleDate.Ticks.
ToString
(CultureInfo.InvariantCulture));
253
visibleDate.Ticks.
ToString
(CultureInfo.InvariantCulture),
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (2)
226
return new Triplet(baseState, _chooseOption, visibleDate.Ticks.
ToString
(CultureInfo.InvariantCulture));
231
visibleDate.Ticks.
ToString
(CultureInfo.InvariantCulture),
System.Web.Services (8)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (7)
544
default: throw CreateInvalidEnumValueException(((System.Int64)v).
ToString
(System.Globalization.CultureInfo.InvariantCulture), @"System.Web.Services.Description.SoapBindingUse");
583
default: throw CreateInvalidEnumValueException(((System.Int64)v).
ToString
(System.Globalization.CultureInfo.InvariantCulture), @"System.Web.Services.Description.SoapBindingUse");
1224
default: throw CreateInvalidEnumValueException(((System.Int64)v).
ToString
(System.Globalization.CultureInfo.InvariantCulture), @"System.Web.Services.Description.SoapBindingStyle");
1284
default: throw CreateInvalidEnumValueException(((System.Int64)v).
ToString
(System.Globalization.CultureInfo.InvariantCulture), @"System.Web.Services.Description.SoapBindingStyle");
2199
default: throw CreateInvalidEnumValueException(((System.Int64)v).
ToString
(System.Globalization.CultureInfo.InvariantCulture), @"System.Xml.Schema.XmlSchemaContentProcessing");
3281
default: throw CreateInvalidEnumValueException(((System.Int64)v).
ToString
(System.Globalization.CultureInfo.InvariantCulture), @"System.Xml.Schema.XmlSchemaUse");
3291
default: throw CreateInvalidEnumValueException(((System.Int64)v).
ToString
(System.Globalization.CultureInfo.InvariantCulture), @"System.Xml.Schema.XmlSchemaForm");
System\Web\Services\Description\WebReferenceOptions.cs (1)
190
default: throw CreateInvalidEnumValueException(((System.Int64)v).
ToString
(System.Globalization.CultureInfo.InvariantCulture), @"System.Web.Services.Description.ServiceDescriptionImportStyle");
System.Workflow.Activities (2)
Rules\ArithmeticLiteral.cs (2)
1190
return (v + m_value.
ToString
(CultureInfo.CurrentCulture));
3372
return (v.
ToString
(CultureInfo.CurrentCulture) + m_value);
System.Xml (8)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
3500
return ValueAsLong().
ToString
( CultureInfo.InvariantCulture );
System\Xml\Serialization\XmlSerializationReader.cs (1)
2760
Writer.Write(constants[i].Value.
ToString
(CultureInfo.InvariantCulture)+"L");
System\Xml\Serialization\XmlSerializationWriter.cs (6)
1893
Writer.Write(c.Value.
ToString
(CultureInfo.InvariantCulture));
3115
Writer.Write(((DateTime)value).Ticks.
ToString
(CultureInfo.InvariantCulture));
3126
Writer.Write(((TimeSpan)value).Ticks.
ToString
(CultureInfo.InvariantCulture));
3198
enumValue = choiceMapping.Constants[i].Value.
ToString
(CultureInfo.InvariantCulture);
3212
enumValue = choiceMapping.Constants[i].Value.
ToString
(CultureInfo.InvariantCulture);
3792
writer.Write(c.Value.
ToString
(CultureInfo.InvariantCulture));
WindowsBase (11)
Base\MS\Internal\IO\Packaging\CompoundFile\NativeCompoundFileAPIs.cs (7)
723
throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "dlibMove", dlibMove.
ToString
(CultureInfo.InvariantCulture)));
735
throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "libNewSize", libNewSize.
ToString
(CultureInfo.InvariantCulture)));
749
throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "cb", cb.
ToString
(CultureInfo.InvariantCulture)));
775
throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "libOffset", libOffset.
ToString
(CultureInfo.InvariantCulture)));
779
throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "cb", cb.
ToString
(CultureInfo.InvariantCulture)));
791
throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "libOffset", libOffset.
ToString
(CultureInfo.InvariantCulture)));
795
throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "cb", cb.
ToString
(CultureInfo.InvariantCulture)));
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (4)
723
string generatedName = timeSeed.
ToString
(CultureInfo.InvariantCulture);
729
generatedName = timeSeed.
ToString
(CultureInfo.InvariantCulture);
995
string generatedName = timeSeed.
ToString
(CultureInfo.InvariantCulture);
1001
generatedName = timeSeed.
ToString
(CultureInfo.InvariantCulture);