444 references to InvariantInfo
mscorlib (5)
system\globalization\japanesecalendar.cs (3)
296if (!Number.TryParseInt32(value.Substring(0,4), NumberStyles.None, NumberFormatInfo.InvariantInfo, out year) || 297!Number.TryParseInt32(value.Substring(5,2), NumberStyles.None, NumberFormatInfo.InvariantInfo, out month) || 298!Number.TryParseInt32(value.Substring(8,2), NumberStyles.None, NumberFormatInfo.InvariantInfo, out day))
system\security\claims\ClaimsPrincipal.cs (2)
410if (Int64.TryParse(listOfIdentities[i], NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out handle)) 448identities.Add(windowsIdentity.GetTokenInternal().ToInt64().ToString(NumberFormatInfo.InvariantInfo));
PresentationCore (4)
Core\CSharp\MS\Internal\IO\Packaging\ByteRangeDownloader.cs (3)
884NumberStyles.None, NumberFormatInfo.InvariantInfo); 896int lastByteOffset = Int32.Parse(contentRange.Substring(0, index), NumberStyles.None, NumberFormatInfo.InvariantInfo); 907Int32.Parse(contentRange, NumberStyles.None, NumberFormatInfo.InvariantInfo);
Core\CSharp\System\Windows\Media\FamilyMap.cs (1)
118sb.AppendFormat(NumberFormatInfo.InvariantInfo, "{0:x4}-{1:x4}", _ranges[i].First, _ranges[i].Last);
PresentationFramework (36)
src\Framework\MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (2)
196pageNumber = Int32.Parse(pageNumberString, NumberFormatInfo.InvariantInfo); 339part.NameValuePairs.Add(ValueAttributeName, page.ToString(NumberFormatInfo.InvariantInfo));
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (14)
217part.NameValuePairs.Add(TextSelectionProcessor.CountAttribute, 1.ToString(NumberFormatInfo.InvariantInfo)); 218part.NameValuePairs.Add(TextSelectionProcessor.SegmentAttribute + 0.ToString(NumberFormatInfo.InvariantInfo), ",,,"); 222part.NameValuePairs.Add(TextSelectionProcessor.CountAttribute, fp.Segments.Count.ToString(NumberFormatInfo.InvariantInfo)); 229value += fp.Segments[i].Start.X.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator[0] + fp.Segments[i].Start.Y.ToString(NumberFormatInfo.InvariantInfo); 238value += fp.Segments[i].End.X.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator[0] + fp.Segments[i].End.Y.ToString(NumberFormatInfo.InvariantInfo); 245part.NameValuePairs.Add(TextSelectionProcessor.SegmentAttribute + i.ToString(NumberFormatInfo.InvariantInfo), value); 326int count = Int32.Parse(stringCount, NumberFormatInfo.InvariantInfo); 520string segmentValue = locatorPart.NameValuePairs[TextSelectionProcessor.SegmentAttribute + segmentNumber.ToString(NumberFormatInfo.InvariantInfo)]; 522throw new ArgumentException(SR.Get(SRID.InvalidLocatorPart, TextSelectionProcessor.SegmentAttribute + segmentNumber.ToString(NumberFormatInfo.InvariantInfo))); 526throw new ArgumentException(SR.Get(SRID.InvalidLocatorPart, TextSelectionProcessor.SegmentAttribute + segmentNumber.ToString(NumberFormatInfo.InvariantInfo))); 542double x = Double.Parse(xstr, NumberFormatInfo.InvariantInfo); 543double y = Double.Parse(ystr, NumberFormatInfo.InvariantInfo);
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (10)
179part.NameValuePairs.Add(SegmentAttribute + i.ToString(NumberFormatInfo.InvariantInfo), startOffset.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator[0] + endOffset.ToString(NumberFormatInfo.InvariantInfo)); 182part.NameValuePairs.Add(CountAttribute, textSegments.Count.ToString(NumberFormatInfo.InvariantInfo)); 226int count = Int32.Parse(stringCount,NumberFormatInfo.InvariantInfo); 383int count = Int32.Parse(stringCount,NumberFormatInfo.InvariantInfo); 461string segmentString = locatorPart.NameValuePairs[SegmentAttribute + segmentNumber.ToString(NumberFormatInfo.InvariantInfo)]; 466throw new ArgumentException(SR.Get(SRID.InvalidLocatorPart, SegmentAttribute + segmentNumber.ToString(NumberFormatInfo.InvariantInfo))); 469startOffset = Int32.Parse(values[0], NumberFormatInfo.InvariantInfo); 470endOffset = Int32.Parse(values[1], NumberFormatInfo.InvariantInfo);
src\Framework\MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (4)
162part.NameValuePairs.Add(TextSelectionProcessor.CountAttribute, 1.ToString(NumberFormatInfo.InvariantInfo)); 163part.NameValuePairs.Add(TextSelectionProcessor.SegmentAttribute + 0.ToString(NumberFormatInfo.InvariantInfo), startOffset.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator[0] + endOffset.ToString(NumberFormatInfo.InvariantInfo));
src\Framework\MS\Internal\AppModel\ResourceContainer.cs (1)
302assemblyKey += reqKeyToken[i].ToString("x", NumberFormatInfo.InvariantInfo);
src\Framework\System\Windows\Annotations\LocatorPart.cs (2)
381string startStr = startOffset.ToString(NumberFormatInfo.InvariantInfo); 382string endStr = endOffset.ToString(NumberFormatInfo.InvariantInfo);
src\Framework\System\Windows\Controls\BorderGapMaskConverter.cs (1)
85lineWidth = Double.Parse(((string)parameter), NumberFormatInfo.InvariantInfo);
src\Framework\System\Windows\Controls\DataGridClipboardHelper.cs (1)
206output.Write(((int)ch).ToString(NumberFormatInfo.InvariantInfo));
src\Framework\System\Windows\Controls\MenuScrollingVisibilityConverter.cs (1)
85target = Double.Parse(((string)parameter), NumberFormatInfo.InvariantInfo);
SMSvcHost (1)
System\ServiceModel\Activation\WorkerProcess.cs (1)
120this.ProcessId.ToString(NumberFormatInfo.InvariantInfo),
System (149)
net\System\Net\_Connection.cs (7)
1670GlobalLog.Enter("Connection#" + ValidationHelper.HashString(this) + "::ParseStatusLine", statusLineLength.ToString(NumberFormatInfo.InvariantInfo) + ", " + bytesParsed.ToString(NumberFormatInfo.InvariantInfo) +", " +statusState.ToString(NumberFormatInfo.InvariantInfo)); 1870GlobalLog.Enter("Connection::ParseStatusLineStrict", statusLineLength.ToString(NumberFormatInfo.InvariantInfo) + ", " + bytesParsed.ToString(NumberFormatInfo.InvariantInfo) + ", " + statusState.ToString(NumberFormatInfo.InvariantInfo)); 2220GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::ProcessHeaderData() Content-Length parsed:" + contentLength.ToString(NumberFormatInfo.InvariantInfo));
net\System\Net\_DigestClient.cs (4)
589NonceCount = Int32.Parse(value, NumberFormatInfo.InvariantInfo); 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\_FtpControlStream.cs (14)
837sb.Append(port.ToString(NumberFormatInfo.InvariantInfo)); 894return Convert.ToInt64(parsedList[1], NumberFormatInfo.InvariantInfo); 910int year = Convert.ToInt32(dateTimeLine.Substring(0, 4), NumberFormatInfo.InvariantInfo); 911int month = Convert.ToInt16(dateTimeLine.Substring(4, 2), NumberFormatInfo.InvariantInfo); 912int day = Convert.ToInt16(dateTimeLine.Substring(6, 2), NumberFormatInfo.InvariantInfo); 913int hour = Convert.ToInt16(dateTimeLine.Substring(8, 2), NumberFormatInfo.InvariantInfo); 914int minute = Convert.ToInt16(dateTimeLine.Substring(10, 2), NumberFormatInfo.InvariantInfo); 915int second = Convert.ToInt16(dateTimeLine.Substring(12, 2), NumberFormatInfo.InvariantInfo); 918millisecond = Convert.ToInt16(parsedList[2], NumberFormatInfo.InvariantInfo); 998NumberFormatInfo.InvariantInfo, out result)) 1059int port = Convert.ToByte(parsedList[index--], NumberFormatInfo.InvariantInfo); 1061(Convert.ToByte(parsedList[index--], NumberFormatInfo.InvariantInfo) << 8); 1088return Convert.ToInt32(parsedList[3], NumberFormatInfo.InvariantInfo); 1190response.Status = Convert.ToInt16(response.StatusCodeString, NumberFormatInfo.InvariantInfo);
net\System\Net\_NetRes.cs (2)
82string webStatusCode = "(" + ((int)statusCode).ToString(NumberFormatInfo.InvariantInfo) + ")"; 112string webStatusCode = "(" + ((int)statusCode).ToString(NumberFormatInfo.InvariantInfo) + ")";
net\System\Net\_NTAuthentication.cs (17)
349m_UniqueUserId = (Interlocked.Increment(ref s_UniqueGroupId)).ToString(NumberFormatInfo.InvariantInfo) + m_UniqueUserId; 670GlobalLog.Enter("NTAuthentication#" + ValidationHelper.HashString(this) + "::GetOutgoingBlob", ((incomingBlob == null) ? "0" : incomingBlob.Length.ToString(NumberFormatInfo.InvariantInfo)) + " bytes"); 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)); 1182NumberFormatInfo.InvariantInfo)); 1240errorCode.ToString("x", NumberFormatInfo.InvariantInfo));
net\System\Net\_SecureChannel.cs (2)
91GlobalLog.Enter("SecureChannel#" + ValidationHelper.HashString(this) + "::.ctor", "hostname:" + hostname + " #clientCertificates=" + ((clientCertificates == null) ? "0" : clientCertificates.Count.ToString(NumberFormatInfo.InvariantInfo))); 92if (Logging.On) Logging.PrintInfo(Logging.Web, this, ".ctor", "hostname=" + hostname + ", #clientCertificates=" + ((clientCertificates == null) ? "0" : clientCertificates.Count.ToString(NumberFormatInfo.InvariantInfo)) + ", encryptionPolicy=" + encryptionPolicy);
net\System\Net\_SSPIWrapper.cs (4)
705return "0x"+errorCode.ToString("x", NumberFormatInfo.InvariantInfo); 978+ " Version:" + Version.ToString(NumberFormatInfo.InvariantInfo) 979+ " RPCID:" + RPCID.ToString(NumberFormatInfo.InvariantInfo) 980+ " MaxToken:" + MaxToken.ToString(NumberFormatInfo.InvariantInfo)
net\System\Net\_StreamFramer.cs (6)
169m_CurReadHeader.MaxMessageSize.ToString(NumberFormatInfo.InvariantInfo), 170m_CurReadHeader.PayloadSize.ToString(NumberFormatInfo.InvariantInfo))); 288m_CurReadHeader.MaxMessageSize.ToString(NumberFormatInfo.InvariantInfo), 289payloadSize.ToString(NumberFormatInfo.InvariantInfo))); 616MaxMessageSize.ToString(NumberFormatInfo.InvariantInfo), 617value.ToString(NumberFormatInfo.InvariantInfo)), "PayloadSize");
net\System\Net\_TimerThread.cs (2)
576if (Logging.On) Logging.PrintError(Logging.Web, "TimerThreadTimer#" + StartTime.ToString(NumberFormatInfo.InvariantInfo) + "::Fire() - " + SR.GetString(SR.net_log_exception_in_callback, exception)); 734if (Logging.On) Logging.PrintError(Logging.Web, "TimerThread#" + Thread.CurrentThread.ManagedThreadId.ToString(NumberFormatInfo.InvariantInfo) + "::ThreadProc() - Exception:" + exception.ToString());
net\System\Net\_TLSstream.cs (2)
61GlobalLog.Enter("TlsStream::TlsStream", "host="+destinationHost+", #certs="+((clientCertificates == null) ? "none" : clientCertificates.Count.ToString(NumberFormatInfo.InvariantInfo))); 70(clientCertificates == null) ? "null" : clientCertificates.Count.ToString(NumberFormatInfo.InvariantInfo),
net\System\Net\Cache\_RequestCacheProtocol.cs (8)
146if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_object_and_exception, "CacheProtocol#" + this.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), (e is WebException? e.Message: e.ToString()))); 230if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_object_and_exception, "CacheProtocol#" + this.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), (e is WebException? e.Message: e.ToString()))); 258if(Logging.On) Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_closing_cache_stream, "CacheProtocol#" + this.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), "Abort()", stream.GetType().FullName, _Validator.CacheKey)); 269if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_exception_ignored, "CacheProtocol#" + this.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), "stream.Close()", e.ToString())); 386if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_object_and_exception, "CacheProtocol#" + this.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), (e is WebException? e.Message: e.ToString()))); 441if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_object_and_exception, "CacheProtocol#" + this.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), (e is WebException? e.Message: e.ToString()))); 542if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_object_and_exception, "CacheProtocol#" + this.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), (e is WebException? e.Message: e.ToString()))); 655"Request#" + _Validator.Request.GetHashCode().ToString(NumberFormatInfo.InvariantInfo) +
net\System\Net\Cache\_Rfc2616CacheValidators.cs (19)
514if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age1_date_header, ((int)age.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo), ctx.CacheDate.ToString("r", CultureInfo.InvariantCulture))); 526Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age1_last_synchronized_age_header, ((int)age.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo), ctx.CacheEntry.LastSynchronizedUtc.ToString("r", CultureInfo.InvariantCulture), ((int)ctx.CacheAge.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo))); 528Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age1_last_synchronized, ((int)age.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo), ctx.CacheEntry.LastSynchronizedUtc.ToString("r", CultureInfo.InvariantCulture))); 536if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age2, ((int)ctx.CacheAge.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo))); 567if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_age_cache_s_max_age, ((int)ctx.CacheMaxAge.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo))); 581if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_age_cache_max_age, ((int)ctx.CacheMaxAge.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo))); 605if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_age_expires_date, ((int)((expiresDate - date).TotalSeconds)).ToString(NumberFormatInfo.InvariantInfo), expiresDate.ToString("r", CultureInfo.InvariantCulture))); 649if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_no_max_age_use_10_percent, maxAgeSeconds.ToString(NumberFormatInfo.InvariantInfo), lastModifiedDate.ToString("r", CultureInfo.InvariantCulture))); 658if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_no_max_age_use_default, ((int)(ctx.UnspecifiedMaxAge.TotalSeconds)).ToString(NumberFormatInfo.InvariantInfo))); 883if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age, (ctx.CacheAge != TimeSpan.MinValue ? ((int)ctx.CacheAge.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo) : SR.GetString(SR.net_log_unknown)), (ctx.CacheMaxAge != TimeSpan.MinValue? ((int)ctx.CacheMaxAge.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo): SR.GetString(SR.net_log_unknown)))); 887if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_policy_min_fresh, ((int)ctx.Policy.MinFresh.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo))); 893if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_policy_max_age, ((int)ctx.Policy.MaxAge.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo))); 908if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_policy_max_stale, ((int)ctx.Policy.MaxStale.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo))); 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 (3)
156if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age1, ((int)age.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo), CacheEntry.LastSynchronizedUtc.ToString("r", CultureInfo.InvariantCulture))); 166if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_no_max_age_use_10_percent, maxAgeSeconds.ToString(NumberFormatInfo.InvariantInfo), CacheEntry.LastModifiedUtc.ToString("r", CultureInfo.InvariantCulture))); 174if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_no_max_age_use_default, ((int)(UnspecifiedMaxAge.TotalSeconds)).ToString(NumberFormatInfo.InvariantInfo)));
net\System\Net\Cache\HttpRequestCacheValidator.cs (3)
315CacheHeaders[HttpKnownHeaderNames.Age] = ((int)(CacheAge.TotalSeconds)).ToString(NumberFormatInfo.InvariantInfo); 389CacheHeaders[HttpKnownHeaderNames.Age] = ((int)(CacheAge.TotalSeconds)).ToString(NumberFormatInfo.InvariantInfo); 500sb.Append(((int)CacheStatusCode).ToString(NumberFormatInfo.InvariantInfo));
net\System\Net\ConnectionPoolManager.cs (1)
45return hostName+"\r"+port.ToString(NumberFormatInfo.InvariantInfo)+"\r"+groupName;
net\System\Net\cookie.cs (3)
708+ m_version.ToString(NumberFormatInfo.InvariantInfo) + (IsQuotedVersion? "\"": string.Empty)); 798result += SeparatorLiteral + MaxAgeAttributeName + EqualsLiteral + seconds.ToString(NumberFormatInfo.InvariantInfo); 808result += SeparatorLiteral + VersionAttributeName + EqualsLiteral + m_version.ToString(NumberFormatInfo.InvariantInfo);
net\System\Net\cookiecontainer.cs (1)
886Cookie.MaxSupportedVersion.ToString(NumberFormatInfo.InvariantInfo)) : String.Empty;
net\System\Net\CredentialCache.cs (3)
469return "[" + Host.Length.ToString(NumberFormatInfo.InvariantInfo) + "]:" + Host + ":" + Port.ToString(NumberFormatInfo.InvariantInfo) + ":" + ValidationHelper.ToString(AuthenticationType); 563return "[" + UriPrefixLength.ToString(NumberFormatInfo.InvariantInfo) + "]:" + ValidationHelper.ToString(UriPrefix) + ":" + ValidationHelper.ToString(AuthenticationType);
net\System\Net\filewebresponse.cs (1)
58m_headers.AddInternal(HttpKnownHeaderNames.ContentLength, m_contentLength.ToString(NumberFormatInfo.InvariantInfo));
net\System\Net\HttpListenerResponse.cs (1)
667Headers.SetInternal(HttpResponseHeader.ContentLength, m_ContentLength.ToString("D", NumberFormatInfo.InvariantInfo));
net\System\Net\HttpWebRequest.cs (8)
5003_HttpRequestHeaders.ChangeInternal(HttpKnownHeaderNames.ContentLength, _ContentLength.ToString(NumberFormatInfo.InvariantInfo)); 5422connectionLine.Append(ClientCertificates.GetHashCode().ToString(NumberFormatInfo.InvariantInfo)); 5467+ baseObject.GetHashCode().ToString(NumberFormatInfo.InvariantInfo); 5806if(Logging.On)Logging.PrintWarning(Logging.Web, this, "", SR.GetString(SR.net_log_server_response_error_code, ((int)ResponseStatusCode).ToString(NumberFormatInfo.InvariantInfo))); 6245if (!AddRange(rangeSpecifier, from.ToString(NumberFormatInfo.InvariantInfo), to.ToString(NumberFormatInfo.InvariantInfo))) { 6261if (!AddRange(rangeSpecifier, range.ToString(NumberFormatInfo.InvariantInfo), (range >= 0) ? "" : null)) { 6299return (Interlocked.Increment(ref s_UniqueGroupId)).ToString(NumberFormatInfo.InvariantInfo);
net\System\Net\Internal.cs (2)
893return objectValue.GetHashCode().ToString(NumberFormatInfo.InvariantInfo); 1479GlobalLog.Assert(size >= 0, "SecurityBuffer::.ctor", "'size' out of range. [" + size.ToString(NumberFormatInfo.InvariantInfo) + "]");
net\System\Net\IPEndPoint.cs (1)
122return String.Format(format, m_Address.ToString(), Port.ToString(NumberFormatInfo.InvariantInfo));
net\System\Net\Logging.cs (4)
172maxDumpSize = Int32.Parse(traceSource.Attributes[AttributeNameMaxSize], NumberFormatInfo.InvariantInfo); 177traceSource.Attributes[AttributeNameMaxSize] = maxDumpSize.ToString(NumberFormatInfo.InvariantInfo); 595PrintLine(traceSource, TraceEventType.Verbose, 0, "(printing " + maxDumpSize.ToString(NumberFormatInfo.InvariantInfo) + " out of " + length.ToString(NumberFormatInfo.InvariantInfo) + ")");
net\System\Net\mail\smtpconnection.cs (1)
170connectionPool = ConnectionPoolManager.GetConnectionPool(servicePoint, ClientCertificates.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), m_CreateConnectionCallback);
net\System\Net\SecureProtocols\_SslState.cs (1)
173targetHost = "?" + Interlocked.Increment(ref UniqueNameInteger).ToString(NumberFormatInfo.InvariantInfo);
net\System\Net\SocketAddress.cs (2)
289bytes.Append(this[i].ToString(NumberFormatInfo.InvariantInfo)); 291return Family.ToString() + ":" + Size.ToString(NumberFormatInfo.InvariantInfo) + ":{" + bytes.ToString() + "}";
net\System\Net\SocketPermission.cs (6)
156port = Int32.Parse(m_port, NumberFormatInfo.InvariantInfo); 560port = Int32.Parse(tmpStr, NumberFormatInfo.InvariantInfo); 601permission.Port.ToString(NumberFormatInfo.InvariantInfo): "All"); 615permission.Port.ToString(NumberFormatInfo.InvariantInfo): "All"); 754throw new ArgumentOutOfRangeException("port", SR.GetString(SR.net_perm_invalid_val, "Port", port.ToString(NumberFormatInfo.InvariantInfo))); 1006return hostname + encSeperator + port + encSeperator + ((int)transport).ToString(NumberFormatInfo.InvariantInfo);
net\System\Net\webclient.cs (1)
624string boundary = "---------------------" + DateTime.Now.Ticks.ToString("x", NumberFormatInfo.InvariantInfo);
net\System\Net\WebHeaderCollection.cs (4)
1021string headerName = serializationInfo.GetString(i.ToString(NumberFormatInfo.InvariantInfo)); 1022string headerValue = serializationInfo.GetString((i+count).ToString(NumberFormatInfo.InvariantInfo)); 1047serializationInfo.AddValue(i.ToString(NumberFormatInfo.InvariantInfo), GetKey(i)); 1048serializationInfo.AddValue((i + Count).ToString(NumberFormatInfo.InvariantInfo), Get(i));
net\System\Net\WebSockets\WebSocketBuffer.cs (12)
62"'receiveBufferSize' MUST be at least " + MinReceiveBufferSize.ToString(NumberFormatInfo.InvariantInfo) + "."); 64"'sendBufferSize' MUST be at least " + MinSendBufferSize.ToString(NumberFormatInfo.InvariantInfo) + "."); 66"'receiveBufferSize' MUST NOT exceed " + MaxBufferSize.ToString(NumberFormatInfo.InvariantInfo) + "."); 68"'sendBufferSize' MUST NOT exceed " + MaxBufferSize.ToString(NumberFormatInfo.InvariantInfo) + "."); 660"'receiveBufferSize' MUST be at least " + MinReceiveBufferSize.ToString(NumberFormatInfo.InvariantInfo) + "."); 662"'sendBufferSize' MUST be at least " + MinSendBufferSize.ToString(NumberFormatInfo.InvariantInfo) + "."); 671"'receiveBufferSize' MUST be at least " + MinReceiveBufferSize.ToString(NumberFormatInfo.InvariantInfo) + "."); 673"'sendBufferSize' MUST be at least " + MinSendBufferSize.ToString(NumberFormatInfo.InvariantInfo) + "."); 686"'receiveBufferSize' MUST be at least " + MinReceiveBufferSize.ToString(NumberFormatInfo.InvariantInfo) + "."); 688"'sendBufferSize' MUST be at least " + MinSendBufferSize.ToString(NumberFormatInfo.InvariantInfo) + "."); 691"'receiveBufferSize' MUST be less than or equal to " + MaxBufferSize.ToString(NumberFormatInfo.InvariantInfo) + "."); 693"'sendBufferSize' MUST be at less than or equal to " + MaxBufferSize.ToString(NumberFormatInfo.InvariantInfo) + ".");
net\System\Net\WebUtility.cs (3)
138output.Write(valueToEncode.ToString(NumberFormatInfo.InvariantInfo)); 201parsedSuccessfully = UInt32.TryParse(entity.Substring(2), NumberStyles.AllowHexSpecifier, NumberFormatInfo.InvariantInfo, out parsedValue); 204parsedSuccessfully = UInt32.TryParse(entity.Substring(1), NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out parsedValue);
regex\system\text\regularexpressions\Regex.cs (1)
268String key = ((int) options).ToString(NumberFormatInfo.InvariantInfo) + ":" + cultureKey + ":" + pattern;
System.Data (12)
fx\src\data\System\Data\Filter\ConstNode.cs (11)
36this.val = Convert.ToDouble(constant, NumberFormatInfo.InvariantInfo); 110if (Decimal.TryParse(sval, NumberStyles.Number, NumberFormatInfo.InvariantInfo, out r12)) { 115if (Double.TryParse(sval, NumberStyles.Float| NumberStyles.AllowThousands, NumberFormatInfo.InvariantInfo, out r8)) { 123return convertible.ToDecimal(NumberFormatInfo.InvariantInfo); 138return convertible.ToDouble(NumberFormatInfo.InvariantInfo); 166if (Int32.TryParse(sval, NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out i4)) { 170if (Int64.TryParse(sval, NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out i8)) { 174if (Double.TryParse(sval, NumberStyles.Float| NumberStyles.AllowThousands, NumberFormatInfo.InvariantInfo, out r8)) { 182return convertible.ToInt32(NumberFormatInfo.InvariantInfo); 198return convertible.ToInt64(NumberFormatInfo.InvariantInfo); 214return convertible.ToDouble(NumberFormatInfo.InvariantInfo);
fx\src\data\System\Data\SQLTypes\SQLMoney.cs (1)
279else if (Decimal.TryParse(s, SqlNumberStyle, NumberFormatInfo.InvariantInfo, out d)) {
System.Data.Entity (2)
System\Data\Common\EntitySql\CqlParserHelpers.cs (2)
34private string _version = YYMAJOR.ToString(NumberFormatInfo.InvariantInfo) + '.' + YYMINOR.ToString(NumberFormatInfo.InvariantInfo);
System.Data.Services (5)
System\Data\Services\DataService.cs (1)
2629if (!Int32.TryParse(contentIdValue, System.Globalization.NumberStyles.Integer, System.Globalization.NumberFormatInfo.InvariantInfo, out contentId))
System\Data\Services\Parsing\WebConvert.cs (1)
462if (Decimal.TryParse(text, NumberStyles.Float, NumberFormatInfo.InvariantInfo, out result))
System\Data\Services\Serializers\JsonReader.cs (3)
90if (long.TryParse(ticksStr, NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out ticks)) 349if (Int32.TryParse(s, NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out intValue)) 353else if (Double.TryParse(s, NumberStyles.Float, NumberFormatInfo.InvariantInfo, out doubleValue))
System.Data.Services.Client (1)
System\Data\Services\Client\DataServiceContext.cs (1)
5682!Int32.TryParse(contentValueID, NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out contentID))
System.Data.SqlXml (1)
System\Xml\Xsl\Xslt\Scripts.cs (1)
375if (int.TryParse(fileName.Substring(idx + 1), NumberStyles.None, NumberFormatInfo.InvariantInfo, out scriptNumber))
System.Net (1)
net\Logging.cs (1)
163m_maxDataSize = Int32.Parse(Attributes[AttributeNameMaxDataSize], NumberFormatInfo.InvariantInfo);
System.Runtime.Serialization (30)
System\Runtime\Serialization\CodeExporter.cs (5)
434string uniqueName = AppendToValidClrIdentifier(typeName, i.ToString(NumberFormatInfo.InvariantInfo)); 492string uniqueName = AppendToValidClrIdentifier(nestedTypeName, i.ToString(NumberFormatInfo.InvariantInfo)); 1365uniqueMemberName = AppendToValidClrIdentifier(memberName, i.ToString(NumberFormatInfo.InvariantInfo)); 1448uniqueNamespace = ((clrNamespace.Length == 0) ? Globals.DefaultClrNamespace : clrNamespace) + i.ToString(NumberFormatInfo.InvariantInfo); 1570string uniquifier = i.ToString(NumberFormatInfo.InvariantInfo);
System\Runtime\Serialization\CodeGenerator.cs (3)
508EmitSourceInstruction("Branch if " + GetCmpInverse(cmpOp).ToString() + " to " + ifState.ElseBegin.GetHashCode().ToString(NumberFormatInfo.InvariantInfo)); 541EmitSourceInstruction("Branch if " + GetCmpInverse(cmpOp).ToString() + " to " + ifState.ElseBegin.GetHashCode().ToString(NumberFormatInfo.InvariantInfo)); 1919EmitSourceInstruction("Branch if " + GetCmpInverse(Cmp.EqualTo).ToString() + " to " + ifState.ElseBegin.GetHashCode().ToString(NumberFormatInfo.InvariantInfo));
System\Runtime\Serialization\ExtensionDataObject.cs (1)
283element.AddAttribute(Globals.SerPrefix, Globals.SerializationNamespace, Globals.ArraySizeLocalName, Size.ToString(NumberFormatInfo.InvariantInfo));
System\Runtime\Serialization\ExtensionDataReader.cs (1)
536nextElement.AddAttribute(Globals.SerPrefix, Globals.SerializationNamespace, Globals.RefLocalName, node.Id.ToString(NumberFormatInfo.InvariantInfo));
System\Runtime\Serialization\Json\JsonObjectDataContract.cs (3)
74if (Int32.TryParse(value, NumberStyles.Float, NumberFormatInfo.InvariantInfo, out intValue)) 81if (Int64.TryParse(value, NumberStyles.Float, NumberFormatInfo.InvariantInfo, out longValue)) 89if (Decimal.TryParse(value, NumberStyles.Float, NumberFormatInfo.InvariantInfo, out decimalValue))
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (2)
316return ulong.Parse(value, NumberStyles.Float, NumberFormatInfo.InvariantInfo); 354return ulong.Parse(value, NumberStyles.Float, NumberFormatInfo.InvariantInfo);
System\Runtime\Serialization\Json\XmlJsonReader.cs (3)
693return decimal.Parse(value, NumberStyles.Float, NumberFormatInfo.InvariantInfo); 719return long.Parse(value, NumberStyles.Float, NumberFormatInfo.InvariantInfo); 1018return int.Parse(value, style, NumberFormatInfo.InvariantInfo);
System\Runtime\Serialization\SchemaImporter.cs (1)
377typeQName = new XmlQualifiedName(typeQName.Name + i.ToString(NumberFormatInfo.InvariantInfo), typeQName.Namespace);
System\Runtime\Serialization\XPathQueryGenerator.cs (1)
143prefix = "xg" + (this.nextPrefix++).ToString(NumberFormatInfo.InvariantInfo);
System\Xml\XmlConverter.cs (6)
343return ulong.Parse(value, NumberFormatInfo.InvariantInfo); 422static public string ToString(UInt64 value) { return value.ToString(NumberFormatInfo.InvariantInfo); } 1007return ToAsciiChars(value.ToString("R", NumberFormatInfo.InvariantInfo), buffer, offset); 1016return ToAsciiChars(value.ToString("R", NumberFormatInfo.InvariantInfo), buffer, offset); 1021return ToAsciiChars(value.ToString(null, NumberFormatInfo.InvariantInfo), buffer, offset); 1026return ToAsciiChars(value.ToString(null, NumberFormatInfo.InvariantInfo), buffer, offset);
System\Xml\XmlDictionaryReader.cs (1)
865value = DateTime.Parse(string.Empty, NumberFormatInfo.InvariantInfo);
System\Xml\XmlDictionaryWriter.cs (3)
149prefix = namespaceUri.Length == 0 ? string.Empty : string.Concat("d", namespaceUri.Length.ToString(System.Globalization.NumberFormatInfo.InvariantInfo)); 1386string depthStr = this.depth.ToString(System.Globalization.NumberFormatInfo.InvariantInfo); 1387string prefixStr = this.prefix.ToString(System.Globalization.NumberFormatInfo.InvariantInfo);
System.ServiceModel (20)
System\ServiceModel\Channels\BaseUriWithWildcard.cs (1)
63!int.TryParse(portString, NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out port))
System\ServiceModel\Channels\CorrelationKey.cs (5)
116checksum.Append(sortedKeyData.Count.ToString(NumberFormatInfo.InvariantInfo)); 129checksum.Append(sortedKeyData.Keys[i].Length.ToString(NumberFormatInfo.InvariantInfo)); 131checksum.Append(sortedKeyData.Values[i].Length.ToString(NumberFormatInfo.InvariantInfo)); 144checksum.Append(scopeName.Length.ToString(NumberFormatInfo.InvariantInfo)); 146checksum.Append(provider.Length.ToString(NumberFormatInfo.InvariantInfo));
System\ServiceModel\ComIntegration\TypeCacheManager.cs (3)
121major = ushort.Parse(version, numberStyle, NumberFormatInfo.InvariantInfo); 126major = ushort.Parse(version.Substring(0, indexOfDot), numberStyle, NumberFormatInfo.InvariantInfo); 133minor = ushort.Parse(minorVersion, numberStyle, NumberFormatInfo.InvariantInfo);
System\ServiceModel\Diagnostics\SecurityTraceRecordHelper.cs (3)
981xml.WriteElementString("Capacity", this.capacity.ToString(NumberFormatInfo.InvariantInfo)); 982xml.WriteElementString("PruningAmount", this.pruningAmount.ToString(NumberFormatInfo.InvariantInfo)); 1297xml.WriteElementString("CacheSize", this.cacheSize.ToString(NumberFormatInfo.InvariantInfo));
System\ServiceModel\Dispatcher\QueryModel.cs (1)
577NumberFormatInfo.InvariantInfo,
System\ServiceModel\Dispatcher\XPathMessageFilter.cs (3)
528int quota = quotaString == null ? int.MaxValue : int.Parse(quotaString, NumberFormatInfo.InvariantInfo); 615writer.WriteAttributeString(NodeQuotaAttr, this.NodeQuota.ToString(NumberFormatInfo.InvariantInfo)); 659newPrefix = newPrefix + i.ToString(NumberFormatInfo.InvariantInfo);
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
314long effectiveTicksInterval = Convert.ToInt64((double)this.ServiceTokenValidityThresholdPercentage / 100.0 * (double)serviceTokenTicksInterval, NumberFormatInfo.InvariantInfo);
System\ServiceModel\Security\WSTrust.cs (3)
270keySize = Int32.Parse(XmlHelper.ReadTextElementAsTrimmedString(child), NumberFormatInfo.InvariantInfo); 364keySize = Int32.Parse(XmlHelper.ReadTextElementAsTrimmedString(child), NumberFormatInfo.InvariantInfo); 1281keySize = Int32.Parse(XmlHelper.ReadTextElementAsTrimmedString(element), NumberFormatInfo.InvariantInfo);
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\MetabaseSettings.cs (1)
167string binding = string.Format(CultureInfo.InvariantCulture, ":{0}:{1}", result.OriginalRequestUri.Port.ToString(NumberFormatInfo.InvariantInfo), MetabaseSettings.LocalMachine);
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (1)
245prefix = string.Concat("d", context.currentDepthLevel.ToString(System.Globalization.NumberFormatInfo.InvariantInfo));
System.Web (76)
Cache\CacheDependency.cs (1)
747sb.Append(fad.UtcLastWriteTime.Ticks.ToString("d", NumberFormatInfo.InvariantInfo));
Compilation\BaseTemplateCodeDomTreeGenerator.cs (1)
1604builder.ID = "__control" + _controlCount.ToString(NumberFormatInfo.InvariantInfo);
Compilation\PageThemeCodeDomTreeGenerator.cs (1)
202builder.ID = "__control" + _controlCount.ToString(NumberFormatInfo.InvariantInfo);
Configuration\HttpCapabilitiesBase.cs (3)
533NumberFormatInfo.InvariantInfo); 552NumberFormatInfo.InvariantInfo); 856NumberFormatInfo.InvariantInfo);
FileChangesMonitor.cs (7)
181Debug.Trace("GetDacl", "Error in first call to GetFileSecurity: 0x" + hr.ToString("x", NumberFormatInfo.InvariantInfo)); 420Debug.Trace("FileChangesMonitor", "DirMonCompletion::ctor " + dir + " " + watchSubtree.ToString() + " " + notifyFilter.ToString(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) + ")");
Handlers\TraceHandler.cs (5)
262tcell = AddHeaderCell(trow, SR.GetString(SR.Trace_Remaining) + " " + HttpRuntime.Profile.RequestsRemaining.ToString(NumberFormatInfo.InvariantInfo)); 287AddCell(trow, (i + 1).ToString(NumberFormatInfo.InvariantInfo)); 400AddCell(trow, ((int) size).ToString(NumberFormatInfo.InvariantInfo)); 406AddCell(trow, ((int) size).ToString(NumberFormatInfo.InvariantInfo)); 412AddCell(trow, ((int) size).ToString(NumberFormatInfo.InvariantInfo));
Hosting\ApplicationManager.cs (1)
1712return id + "-" + domainCount.ToString(NumberFormatInfo.InvariantInfo) + "-" + DateTime.UtcNow.ToFileTime().ToString();
HttpResponse.cs (1)
3035return this.StatusCode.ToString(NumberFormatInfo.InvariantInfo) + " " + this.StatusDescription;
httpserverutility.cs (1)
1235output.Write(((int)ch).ToString(NumberFormatInfo.InvariantInfo));
Security\ADMembershipProvider.cs (3)
1932sidHexValueStr.Append(sidBinaryForm[i].ToString("x2", NumberFormatInfo.InvariantInfo)); 2621dcLevel = Int32.Parse(dcLevelString, NumberFormatInfo.InvariantInfo); 3543port = Int32.Parse(tempStr.Substring(index + 1), NumberFormatInfo.InvariantInfo);
StaticFileHandler.cs (1)
576response.AppendHeader("Content-Range", "bytes */" + fileLength.ToString(NumberFormatInfo.InvariantInfo));
UI\Control.cs (2)
1657_id = automaticLegacyIDPrefix + idNo.ToString(NumberFormatInfo.InvariantInfo); 1664_id = automaticIDPrefix + idNo.ToString(NumberFormatInfo.InvariantInfo);
UI\HtmlControls\HtmlControl.cs (1)
290return n.ToString(NumberFormatInfo.InvariantInfo);
UI\HtmlControls\HtmlHead.cs (1)
366string name = "aspnet_s" + index.ToString(NumberFormatInfo.InvariantInfo);
UI\Page.cs (2)
2063int viewhash = Int32.Parse(hashCode, NumberFormatInfo.InvariantInfo); 5513Pair allSavedViewState = new Pair(GetTypeHashCode().ToString(NumberFormatInfo.InvariantInfo), SaveViewStateRecursive(inheritedMode));
UI\TemplateParser.cs (1)
1572_id = "_ctrl_" + _controlCount.ToString(NumberFormatInfo.InvariantInfo);
UI\WebControls\basecomparevalidator.cs (6)
101AddExpandoAttribute(expandoAttributeWriter, id, "digits", digits.ToString(NumberFormatInfo.InvariantInfo), false); 106AddExpandoAttribute(expandoAttributeWriter, id, "groupsize", groupSize.ToString(NumberFormatInfo.InvariantInfo), false); 111AddExpandoAttribute(expandoAttributeWriter, id, "cutoffyear", CutoffYear.ToString(NumberFormatInfo.InvariantInfo), false); 118AddExpandoAttribute(expandoAttributeWriter, id, "century", century.ToString(NumberFormatInfo.InvariantInfo), false); 272string groupSizeText = groupSize.ToString(NumberFormatInfo.InvariantInfo); 287+ (hasDigits ? "\\" + decimalChar + "?(\\d{0," + digits.ToString(NumberFormatInfo.InvariantInfo) + "})" : string.Empty)
UI\WebControls\CheckBox.cs (1)
570writer.AddAttribute(HtmlTextWriterAttribute.Tabindex, i.ToString(NumberFormatInfo.InvariantInfo));
UI\WebControls\DataGrid.cs (3)
1382button.CommandArgument = (firstPage - 1).ToString(NumberFormatInfo.InvariantInfo); 1390string pageString = (i).ToString(NumberFormatInfo.InvariantInfo); 1419button.CommandArgument = (lastPage + 1).ToString(NumberFormatInfo.InvariantInfo);
UI\WebControls\DetailsView.cs (3)
2021button.CommandArgument = (firstPage - 1).ToString(NumberFormatInfo.InvariantInfo); 2030string pageString = (i).ToString(NumberFormatInfo.InvariantInfo); 2054button.CommandArgument = (lastPage + 1).ToString(NumberFormatInfo.InvariantInfo);
UI\WebControls\FormView.cs (3)
1719button.CommandArgument = (firstPage - 1).ToString(NumberFormatInfo.InvariantInfo); 1727string pageString = (i).ToString(NumberFormatInfo.InvariantInfo); 1750button.CommandArgument = (lastPage + 1).ToString(NumberFormatInfo.InvariantInfo);
UI\WebControls\GridView.cs (3)
2583button.CommandArgument = (firstPage - 1).ToString(NumberFormatInfo.InvariantInfo); 2592string pageString = (i).ToString(NumberFormatInfo.InvariantInfo); 2617button.CommandArgument = (lastPage + 1).ToString(NumberFormatInfo.InvariantInfo);
UI\WebControls\ImageMap.cs (1)
242writer.AddAttribute(HtmlTextWriterAttribute.Tabindex, n.ToString(NumberFormatInfo.InvariantInfo));
UI\WebControls\Listbox.cs (1)
139Rows.ToString(NumberFormatInfo.InvariantInfo));
UI\WebControls\ListControl.cs (1)
851string idSuffix = index.ToString(NumberFormatInfo.InvariantInfo);
UI\WebControls\MenuRendererClassic.cs (1)
206string name = Menu.ClientID + "_" + _cssStyleIndex++.ToString(NumberFormatInfo.InvariantInfo);
UI\WebControls\RadioButton.cs (1)
250writer.AddAttribute(HtmlTextWriterAttribute.Tabindex, i.ToString(NumberFormatInfo.InvariantInfo));
UI\WebControls\RepeatInfo.cs (4)
203writer.AddAttribute(HtmlTextWriterAttribute.Colspan, columnSpan.ToString(NumberFormatInfo.InvariantInfo)); 321writer.AddAttribute(HtmlTextWriterAttribute.Colspan, columnSpan.ToString(NumberFormatInfo.InvariantInfo)); 453writer.AddAttribute(HtmlTextWriterAttribute.Colspan, columnSpan.ToString(NumberFormatInfo.InvariantInfo)); 637writer.AddAttribute(HtmlTextWriterAttribute.Colspan, columnSpan.ToString(NumberFormatInfo.InvariantInfo));
UI\WebControls\Table.cs (1)
253borderWidthString = ((int)borderWidth.Value).ToString(NumberFormatInfo.InvariantInfo);
UI\WebControls\TableCell.cs (2)
246writer.AddAttribute(HtmlTextWriterAttribute.Colspan, span.ToString(NumberFormatInfo.InvariantInfo)); 250writer.AddAttribute(HtmlTextWriterAttribute.Rowspan, span.ToString(NumberFormatInfo.InvariantInfo));
UI\WebControls\TableStyle.cs (2)
190writer.AddAttribute(HtmlTextWriterAttribute.Cellspacing, n.ToString(NumberFormatInfo.InvariantInfo)); 198writer.AddAttribute(HtmlTextWriterAttribute.Cellpadding, n.ToString(NumberFormatInfo.InvariantInfo));
UI\WebControls\TextBox.cs (5)
412writer.AddAttribute(HtmlTextWriterAttribute.Rows, rows.ToString(NumberFormatInfo.InvariantInfo)); 416writer.AddAttribute(HtmlTextWriterAttribute.Cols, columns.ToString(NumberFormatInfo.InvariantInfo)); 425writer.AddAttribute(HtmlTextWriterAttribute.Maxlength, MaxLength.ToString(NumberFormatInfo.InvariantInfo)); 473writer.AddAttribute(HtmlTextWriterAttribute.Maxlength, n.ToString(NumberFormatInfo.InvariantInfo)); 477writer.AddAttribute(HtmlTextWriterAttribute.Size, n.ToString(NumberFormatInfo.InvariantInfo));
UI\WebControls\TreeView.cs (1)
2820string name = ClientID + "_" + _cssStyleIndex++.ToString(NumberFormatInfo.InvariantInfo);
UI\WebControls\WebControl.cs (1)
616writer.AddAttribute(HtmlTextWriterAttribute.Tabindex, n.ToString(NumberFormatInfo.InvariantInfo));
UI\WebControls\Wizard.cs (1)
1445button.CommandArgument = index.ToString(NumberFormatInfo.InvariantInfo);
UI\WebParts\WebPartChrome.cs (1)
253string name = Zone.ClientID + "_" + _cssStyleIndex++.ToString(NumberFormatInfo.InvariantInfo);
UI\WebParts\WebPartMenu.cs (1)
98string name = _menuUser.ClientID + "__Menu_" + _cssStyleIndex++.ToString(NumberFormatInfo.InvariantInfo);
WorkerRequest.cs (1)
461return GetLocalPort().ToString(NumberFormatInfo.InvariantInfo);
System.Web.Extensions (2)
Script\Services\WebServiceTypeData.cs (2)
312value = (long)ulong.Parse(valueInnerText, NumberFormatInfo.InvariantInfo); 315value = long.Parse(valueInnerText, NumberFormatInfo.InvariantInfo);
System.Web.Services (1)
System\Web\Services\Diagnostics\TraceUtility.cs (1)
400return objectValue.GetHashCode().ToString(NumberFormatInfo.InvariantInfo);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
1526output.Write(((int)ch).ToString(NumberFormatInfo.InvariantInfo));
System.Workflow.Runtime (4)
Tracking\SqlTrackingService.cs (1)
164_interval = double.Parse(parameters[key], NumberFormatInfo.InvariantInfo);
Tracking\TrackingProfileSerializer.cs (3)
895version = string.Format(NumberFormatInfo.InvariantInfo, "{0}.{1}.{2}.{3}", profile.Version.Major, profile.Version.Minor, profile.Version.Build, profile.Version.Revision); 897version = string.Format(NumberFormatInfo.InvariantInfo, "{0}.{1}.{2}", profile.Version.Major, profile.Version.Minor, profile.Version.Build); 899version = string.Format(NumberFormatInfo.InvariantInfo, "{0}.{1}", profile.Version.Major, profile.Version.Minor);
System.Xml (91)
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\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\Schema\ConstraintStruct.cs (2)
254this.dstruct.Dvalue[i] = Convert.ToDecimal (((Array) this.ovalue).GetValue(i),NumberFormatInfo.InvariantInfo); 260this.dstruct.Dvalue[0] = Convert.ToDecimal (this.ovalue, NumberFormatInfo.InvariantInfo);
System\Xml\Schema\SchemaSetCompiler.cs (24)
1238restrictionErrorMsg = Res.GetString(Res.Sch_SeqFromAll, derivedParticle.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseParticle.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo)); 1264restrictionErrorMsg = Res.GetString(Res.Sch_SeqFromChoice, derivedParticle.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseParticle.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo)); 1351restrictionErrorMsg = Res.GetString(Res.Sch_GroupBaseFromAny2, derivedGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseAny.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseAny.LinePosition.ToString(NumberFormatInfo.InvariantInfo)); 1421restrictionErrorMsg = Res.GetString(Res.Sch_ElementFromGroupBase1, derivedElement.QualifiedName.ToString(), derivedElement.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedElement.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo)); 1431restrictionErrorMsg = Res.GetString(Res.Sch_ElementFromGroupBase2, derivedElement.QualifiedName.ToString(), derivedElement.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedElement.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo)); 1441restrictionErrorMsg = Res.GetString(Res.Sch_ElementFromGroupBase3, derivedElement.QualifiedName.ToString(), derivedElement.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedElement.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
System\Xml\Schema\XdrBuilder.cs (1)
1473return UInt32.TryParse(str,NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out n);
System\Xml\Serialization\XmlCodeExporter.cs (3)
235valueExpression = new CodePrimitiveExpression(Convert.ToString(value, NumberFormatInfo.InvariantInfo)); 248valueExpression = new CodePrimitiveExpression(Convert.ToString(value, NumberFormatInfo.InvariantInfo)); 275valueExpression = new CodePrimitiveExpression(Convert.ToString(value, NumberFormatInfo.InvariantInfo));
System\Xml\Serialization\XmlSerializationWriter.cs (7)
1829return "Write" + (++NextMethodNumber).ToString(null, NumberFormatInfo.InvariantInfo) + "_" + CodeIdentifier.MakeValidInternal(name); 3081Writer.Write(((Int32)value).ToString(null, NumberFormatInfo.InvariantInfo)); 3084Writer.Write(((Double)value).ToString("R", NumberFormatInfo.InvariantInfo)); 3100Writer.Write(Convert.ToString(value, NumberFormatInfo.InvariantInfo)); 3104Writer.Write(((Single)value).ToString("R", NumberFormatInfo.InvariantInfo)); 3108Writer.Write(((Decimal)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 (39)
645return value.ToString(null, NumberFormatInfo.InvariantInfo); 654return value.ToString(null, NumberFormatInfo.InvariantInfo); 662return value.ToString(null, NumberFormatInfo.InvariantInfo); 670return value.ToString(null, NumberFormatInfo.InvariantInfo); 678return value.ToString(null, NumberFormatInfo.InvariantInfo); 686return value.ToString(null, NumberFormatInfo.InvariantInfo); 695return value.ToString(null, NumberFormatInfo.InvariantInfo); 704return value.ToString(null, NumberFormatInfo.InvariantInfo); 713return value.ToString(null, NumberFormatInfo.InvariantInfo); 726return value.ToString("R", NumberFormatInfo.InvariantInfo); 739return value.ToString("R", NumberFormatInfo.InvariantInfo); 868return Decimal.Parse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowDecimalPoint|NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo); 873if (!Decimal.TryParse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowDecimalPoint|NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) { 880return Decimal.Parse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo); 884if (!Decimal.TryParse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) { 896return SByte.Parse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo); 901if (!SByte.TryParse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) { 913return Int16.Parse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo); 918if (!Int16.TryParse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) { 930return Int32.Parse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo); 935if (!Int32.TryParse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) { 947return Int64.Parse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo); 952if (!Int64.TryParse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) { 964return Byte.Parse(s, NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo); 969if (!Byte.TryParse(s, NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) { 982return UInt16.Parse(s, NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo); 987if (!UInt16.TryParse(s, NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) { 1000return UInt32.Parse(s, NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo); 1006if (!UInt32.TryParse(s, NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) { 1019return UInt64.Parse(s, NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo); 1024if (!UInt64.TryParse(s, NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) { 1039float f = Single.Parse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowDecimalPoint|NumberStyles.AllowExponent, NumberFormatInfo.InvariantInfo); 1057else if (!Single.TryParse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowDecimalPoint|NumberStyles.AllowExponent, NumberFormatInfo.InvariantInfo, out result)) { 1075double dVal = Double.Parse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowDecimalPoint|NumberStyles.AllowExponent|NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo); 1093else if (!Double.TryParse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowDecimalPoint|NumberStyles.AllowExponent, NumberFormatInfo.InvariantInfo, out result)) { 1110if (Double.TryParse(str, NumberStyles.AllowLeadingSign|NumberStyles.AllowDecimalPoint|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out d)) { 1123return Convert.ToDouble(o, NumberFormatInfo.InvariantInfo); 1136return ((double)value).ToString("R", NumberFormatInfo.InvariantInfo); 1142return Convert.ToString(value, NumberFormatInfo.InvariantInfo);
System\Xml\XPath\Internal\StringFunctions.cs (1)
60return num.ToString("R", NumberFormatInfo.InvariantInfo);