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