Implemented interface member:
method
ToString
System.IConvertible.ToString(System.IFormatProvider)
1984 references to ToString
ComSvcConfig (2)
SvcFileManager.cs (2)
185while (File.Exists(fileName + "." + count.ToString(CultureInfo.InvariantCulture) + ".svc")) 190fileName = fileName + "." + count.ToString(CultureInfo.InvariantCulture);
mscorlib (24)
system\convert.cs (2)
1877return value.ToString(CultureInfo.CurrentCulture); 1882return value.ToString(provider);
system\diagnostics\eventing\eventprovider.cs (1)
541string valueName = "ControllerData_Session_" + etwSessionId.ToString(CultureInfo.InvariantCulture);
system\diagnostics\eventing\eventsource.cs (1)
2722commandArgs.Arguments["EtwSessionKeyword"] = (commandArgs.perEventSourceSessionId + SessionMask.SHIFT_SESSION_TO_KEYWORD).ToString(CultureInfo.InvariantCulture);
system\intptr.cs (1)
143return ((int)m_value).ToString(CultureInfo.InvariantCulture);
system\io\textwriter.cs (1)
234Write(value.ToString(FormatProvider));
system\rttype.cs (1)
2263i.ToString(CultureInfo.CurrentCulture), genericArgument.ToString(), definition.ToString(), genericParameter.ToString()), e);
system\runtime\remoting\channelservices.cs (1)
594BCLDebug.Trace("REMOTE", "Setting info for receiver " + j.ToString(CultureInfo.InvariantCulture) + "\n");
system\runtime\remoting\identity.cs (1)
479_ObjURI = (IDGuidString + random.Replace('/', '_') + "_" + GetNextSeqNum().ToString(CultureInfo.InvariantCulture.NumberFormat) + ".rem").ToLower(CultureInfo.InvariantCulture);
system\runtime\versioning\resourceattributes.cs (1)
161return id.ToString(CultureInfo.InvariantCulture);
system\security\policy\netcodegroup.cs (2)
91_LowerCasePort = allowPort.ToString(CultureInfo.InvariantCulture); 160_LowerCasePort = _IntPort.ToString(CultureInfo.InvariantCulture);
system\security\util\urlstring.cs (1)
712return m_port.ToString(CultureInfo.InvariantCulture);
system\text\stringbuilder.cs (2)
947return Append(value.ToString(CultureInfo.CurrentCulture)); 1178return Insert(index, value.ToString(CultureInfo.CurrentCulture), 1);
system\timezoneinfo.cs (9)
2353Byte[] regValue = dynamicKey.GetValue(first.ToString(CultureInfo.InvariantCulture), null, RegistryValueOptions.None) as Byte[]; 2389regValue = dynamicKey.GetValue(i.ToString(CultureInfo.InvariantCulture), null, RegistryValueOptions.None) as Byte[]; 2405regValue = dynamicKey.GetValue(last.ToString(CultureInfo.InvariantCulture), null, RegistryValueOptions.None) as Byte[]; 3685serializedText.Append(fixedDate.ToString(CultureInfo.InvariantCulture)); 3691serializedText.Append(SerializeSubstitute(time.Month.ToString(CultureInfo.InvariantCulture))); 3693serializedText.Append(SerializeSubstitute(time.Day.ToString(CultureInfo.InvariantCulture))); 3699serializedText.Append(SerializeSubstitute(time.Month.ToString(CultureInfo.InvariantCulture))); 3701serializedText.Append(SerializeSubstitute(time.Week.ToString(CultureInfo.InvariantCulture))); 3703serializedText.Append(SerializeSubstitute(((int)time.DayOfWeek).ToString(CultureInfo.InvariantCulture)));
PresentationBuildTasks (17)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
2228(i + 1).ToString(CultureInfo.CurrentCulture));
Framework\System\Windows\Markup\KnownTypes.cs (1)
5534MarkupCompiler.ThrowCompilerException(SRID.ParserInvalidKnownType, ((int)knownElement).ToString(CultureInfo.InvariantCulture), knownElement.ToString());
Framework\System\Windows\Markup\MarkupExtensionParser.cs (3)
1341numberOfConstructorAttributes.ToString(CultureInfo.CurrentCulture), 1759lineNumber.ToString(CultureInfo.CurrentCulture), 1760linePosition.ToString(CultureInfo.CurrentCulture));
Framework\System\Windows\Markup\XamlParser.cs (6)
241lineNumber.ToString(CultureInfo.CurrentCulture), 242linePosition.ToString(CultureInfo.CurrentCulture)); 970xamlDefAttributeNode.LineNumber.ToString(CultureInfo.CurrentCulture), 971xamlDefAttributeNode.LinePosition.ToString(CultureInfo.CurrentCulture)); 1457lineNumber.ToString(CultureInfo.CurrentCulture), 1458linePosition.ToString(CultureInfo.CurrentCulture));
Framework\System\Windows\Markup\XamlReaderHelper.cs (4)
1401lineNumber.ToString(CultureInfo.CurrentCulture), 1402linePosition.ToString(CultureInfo.CurrentCulture)); 1425LineNumber.ToString(CultureInfo.CurrentCulture), 1426LinePosition.ToString(CultureInfo.CurrentCulture));
Framework\System\Windows\Markup\XamlTypeMapper.cs (2)
786lineNumber.ToString(CultureInfo.CurrentCulture), 787linePosition.ToString(CultureInfo.CurrentCulture));
PresentationCore (9)
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (1)
688string faceIndexString = faceIndex.ToString(CultureInfo.InvariantCulture);
Core\CSharp\MS\Internal\TextFormatting\Bidi.cs (1)
2486counter.ToString(CultureInfo.InvariantCulture));
Core\CSharp\MS\Internal\TextFormatting\TextMarkerSource.cs (1)
378return number.ToString(CultureInfo.InvariantCulture);
Core\CSharp\System\Windows\FontWeight.cs (1)
220return RealWeight.ToString(provider);
Core\CSharp\System\Windows\Media\Animation\Generated\Int32Animation.cs (2)
331defaultOriginValue.ToString(CultureInfo.InvariantCulture))); 342defaultDestinationValue.ToString(CultureInfo.InvariantCulture)));
Core\CSharp\System\Windows\Media\GlyphsSerializer.cs (3)
194_glyphStringBuider.Append(normalizedAdvance.ToString(CultureInfo.InvariantCulture)); 206_glyphStringBuider.Append(offset.ToString(CultureInfo.InvariantCulture)); 213_glyphStringBuider.Append(offset.ToString(CultureInfo.InvariantCulture));
PresentationFramework (86)
src\Framework\MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (1)
339part.NameValuePairs.Add(ValueAttributeName, page.ToString(NumberFormatInfo.InvariantInfo));
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (7)
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)); 245part.NameValuePairs.Add(TextSelectionProcessor.SegmentAttribute + i.ToString(NumberFormatInfo.InvariantInfo), value); 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)));
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (6)
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)); 461string segmentString = locatorPart.NameValuePairs[SegmentAttribute + segmentNumber.ToString(NumberFormatInfo.InvariantInfo)]; 466throw new ArgumentException(SR.Get(SRID.InvalidLocatorPart, SegmentAttribute + segmentNumber.ToString(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\Controls\StickyNote\StickyNoteAnnotations.cs (1)
873sncAnnotation.UpdateAttribute(root, XmlToken.ZOrder, ((IAnnotationComponent)snc).ZOrder.ToString(CultureInfo.InvariantCulture));
src\Framework\MS\Internal\LayoutDump.cs (19)
345writer.WriteAttributeString("Count", count.ToString(CultureInfo.InvariantCulture)); 369writer.WriteAttributeString("Count", uiElements.Count.ToString(CultureInfo.InvariantCulture)); 588writer.WriteAttributeString("Count", flowDocumentPage.FormattedLinesCount.ToString(CultureInfo.InvariantCulture)); 608writer.WriteAttributeString("Start", cpStart.ToString(CultureInfo.InvariantCulture)); 609writer.WriteAttributeString("Length", (cpEnd - cpStart).ToString(CultureInfo.InvariantCulture)); 622writer.WriteAttributeString("Start", cpStart.ToString(CultureInfo.InvariantCulture)); 623writer.WriteAttributeString("Length", (cpEnd - cpStart).ToString(CultureInfo.InvariantCulture)); 633writer.WriteAttributeString("Start", cpStart.ToString(CultureInfo.InvariantCulture)); 634writer.WriteAttributeString("Length", (cpEnd - cpStart).ToString(CultureInfo.InvariantCulture)); 637writer.WriteAttributeString("HiddenLength", (cpEnd - cpContentEnd).ToString(CultureInfo.InvariantCulture)); 641writer.WriteAttributeString("EllipsesLength", (cpEnd - cpEllipses).ToString(CultureInfo.InvariantCulture)); 655writer.WriteAttributeString("Count", lines.Count.ToString(CultureInfo.InvariantCulture)); 696writer.WriteAttributeString("Count", paragraphs.Count.ToString(CultureInfo.InvariantCulture)); 883writer.WriteAttributeString("Count", columns.Count.ToString(CultureInfo.InvariantCulture)); 941writer.WriteAttributeString("Count", count.ToString(CultureInfo.InvariantCulture)); 973writer.WriteAttributeString("ColumnIndex", columnIndex.ToString(CultureInfo.InvariantCulture)); 981writer.WriteAttributeString("RowIndex", rowIndex.ToString(CultureInfo.InvariantCulture)); 984writer.WriteAttributeString("ColumnSpan", cell.ColumnSpan.ToString(CultureInfo.InvariantCulture)); 985writer.WriteAttributeString("RowSpan", cell.RowSpan.ToString(CultureInfo.InvariantCulture));
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\DataGridClipboardHelper.cs (1)
206output.Write(((int)ch).ToString(NumberFormatInfo.InvariantInfo));
src\Framework\System\Windows\Controls\DateTimeHelper.cs (4)
200result = date.Value.Day.ToString(format); 217result = decadeLeft.ToString(format) + "-" + decadeRight.ToString(format); 243result = date.Value.Year.ToString(format);
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (1)
119label = Host.GetHashCode().ToString(CultureInfo.InvariantCulture);
src\Framework\System\Windows\Controls\PageRanges.cs (1)
158rangeText = _pageFrom.ToString(CultureInfo.InvariantCulture);
src\Framework\System\Windows\Controls\Primitives\IItemContainerGenerator.cs (2)
155return string.Concat("GeneratorPosition (", _index.ToString(TypeConverterHelper.InvariantEnglishUS), ",", _offset.ToString(TypeConverterHelper.InvariantEnglishUS), ")");
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (3)
2705sb.Append(t.ToString(CultureInfo.InvariantCulture)); 5231xamlStringBuilder.Append(ColSpan.ToString(CultureInfo.InvariantCulture)); 5237xamlStringBuilder.Append(RowSpan.ToString(CultureInfo.InvariantCulture));
src\Framework\System\Windows\Documents\TextRangeBase.cs (1)
1132return number.ToString(CultureInfo.InvariantCulture);
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (7)
539_rtfBuilder.Append(entry.Index.ToString(CultureInfo.InvariantCulture)); 541_rtfBuilder.Append(entry.CharSet.ToString(CultureInfo.InvariantCulture)); 613_rtfBuilder.Append(nID.ToString(CultureInfo.InvariantCulture)); 623_rtfBuilder.Append(j.ToString(CultureInfo.InvariantCulture)); 629string indent = ((j + 1) * 720).ToString(CultureInfo.InvariantCulture); 1391_rtfBuilder.Append(nDepth.ToString(CultureInfo.InvariantCulture)); 1399_rtfBuilder.Append(nDepth.ToString(CultureInfo.InvariantCulture));
src\Framework\System\Windows\FrameworkElementFactory.cs (1)
1179string childName = AutoGenChildNamePrefix + AutoGenChildNamePostfix.ToString(CultureInfo.InvariantCulture);
src\Framework\System\Windows\Markup\BamlReader.cs (3)
479_value = _connectionId.ToString(CultureInfo.CurrentCulture); 676((int)_currentBamlRecord.RecordType).ToString(CultureInfo.CurrentCulture))); 1689((int)_currentBamlRecord.RecordType).ToString(CultureInfo.CurrentCulture)));
src\Framework\System\Windows\Markup\BamlRecordReader.cs (2)
800ThrowException(SRID.ParserUnknownBaml, ((int)bamlRecord.RecordType).ToString(CultureInfo.CurrentCulture)); 1608ThrowException(SRID.ParserBadConstructorParams, elementType.Name, paramCount.ToString(CultureInfo.CurrentCulture));
src\Framework\System\Windows\Markup\BamlRecords.cs (1)
991string typeName = typeId.ToString(CultureInfo.InvariantCulture);
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (2)
1759lineNumber.ToString(CultureInfo.CurrentCulture), 1760linePosition.ToString(CultureInfo.CurrentCulture));
src\Framework\System\Windows\Markup\XamlParser.cs (2)
1457lineNumber.ToString(CultureInfo.CurrentCulture), 1458linePosition.ToString(CultureInfo.CurrentCulture));
src\Framework\System\Windows\Markup\XamlStyleSerializer.cs (2)
168lineNumber.ToString(CultureInfo.CurrentCulture), 169linePosition.ToString(CultureInfo.CurrentCulture));
src\Framework\System\Windows\Markup\XamlTemplateSerializer.cs (2)
188lineNumber.ToString(CultureInfo.CurrentUICulture), 189linePosition.ToString(CultureInfo.CurrentUICulture));
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (2)
786lineNumber.ToString(CultureInfo.CurrentCulture), 787linePosition.ToString(CultureInfo.CurrentCulture));
src\Framework\System\Windows\PropertyPath.cs (2)
418builder.Append(parameters.Count.ToString(TypeConverterHelper.InvariantEnglishUS.NumberFormat)); 443builder.Append(parameters.Count.ToString(TypeConverterHelper.InvariantEnglishUS.NumberFormat));
src\Framework\System\Windows\StyleHelper.cs (2)
1835label = container.GetHashCode().ToString(System.Globalization.CultureInfo.InvariantCulture); 1875label = container.GetHashCode().ToString(System.Globalization.CultureInfo.InvariantCulture);
src\Framework\System\Windows\TemplateContent.cs (4)
505string name = nameNumber++.ToString(CultureInfo.InvariantCulture) + "_T"; 533string name = nameNumber++.ToString(CultureInfo.InvariantCulture) + "_T"; 558string name = nameNumber++.ToString(CultureInfo.InvariantCulture) + "_T"; 802string name = nameNumber++.ToString(CultureInfo.InvariantCulture) + "_T";
src\Shared\MS\Internal\Xaml\Context\XamlContextStack.cs (1)
141sb.AppendLine("Stack: " + (_currentFrame == null ? -1 : _currentFrame.Depth + 1).ToString(CultureInfo.InvariantCulture) + " frames");
SMDiagnostics (2)
System\ServiceModel\Diagnostics\LegacyDiagnosticTrace.cs (1)
207values["ProcessId"] = DiagnosticTraceBase.ProcessId.ToString(CultureInfo.CurrentCulture);
System\ServiceModel\Diagnostics\SafeEventLogWriteHandle.cs (1)
34error.ToString(CultureInfo.InvariantCulture));
SMSvcHost (11)
System\ServiceModel\Activation\Diagnostics\ListenerTraceUtility.cs (1)
89return source.GetType().ToString() + "/" + source.GetHashCode().ToString(CultureInfo.CurrentCulture);
System\ServiceModel\Activation\ListenerAdapter.cs (7)
202"WebhostCloseAllListenerChannelInstances", hresult.ToString(CultureInfo.CurrentCulture))), this, null); 207TD.WasCloseAllListenerChannelInstancesFailed(this.EventTraceActivity, hresult.ToString(CultureInfo.CurrentCulture)); 508siteId.ToString(NumberFormatInfo.CurrentInfo), 550siteId.ToString(NumberFormatInfo.CurrentInfo), 806hresult.ToString(CultureInfo.InvariantCulture)); 859"WebhostOpenListenerChannelInstance", hresult.ToString(CultureInfo.CurrentCulture))), this, null); 863TD.OpenListenerChannelInstanceFailed(this.EventTraceActivity, hresult.ToString(CultureInfo.CurrentCulture));
System\ServiceModel\Activation\ListenerAdapterBase.cs (2)
238hresult.ToString(CultureInfo.CurrentCulture))), this, null); 244TD.WebhostUnregisterProtocolFailed(this.EventTraceActivity, hresult.ToString(CultureInfo.CurrentCulture));
System\ServiceModel\Activation\WorkerProcess.cs (1)
120this.ProcessId.ToString(NumberFormatInfo.InvariantInfo),
System (169)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
1238Output.Write(((Int32)e.Value).ToString(CultureInfo.InvariantCulture));
compmod\microsoft\visualbasic\VBCodeProvider.cs (2)
509b.Append(((int)value).ToString(CultureInfo.InvariantCulture)); 1062Output.Write("Global.Microsoft.VisualBasic.ChrW(" + ((IConvertible)e.Value).ToInt32(CultureInfo.InvariantCulture).ToString(CultureInfo.InvariantCulture) + ")");
compmod\microsoft\win32\SystemEvents.cs (1)
489throw new ArgumentException(SR.GetString(SR.InvalidLowBoundArgument, "interval", interval.ToString(System.Threading.Thread.CurrentThread.CurrentCulture), "0"));
compmod\system\codedom\CodeTypeReference.cs (1)
334returnType = returnType + '`' + TypeArguments.Count.ToString(CultureInfo.InvariantCulture);
compmod\system\codedom\compiler\CodeGenerator.cs (1)
1515Output.Write(((Int32)e.Value).ToString(CultureInfo.InvariantCulture));
compmod\system\collections\specialized\nameobjectcollectionbase.cs (2)
511throw new ArgumentOutOfRangeException("index",SR.GetString(SR.IndexOutOfRange, index.ToString(CultureInfo.CurrentCulture)) ); 728throw new ArgumentOutOfRangeException("index",SR.GetString(SR.IndexOutOfRange, index.ToString(CultureInfo.CurrentCulture)) );
compmod\system\collections\specialized\namevaluecollection.cs (1)
221throw new ArgumentOutOfRangeException("index",SR.GetString(SR.IndexOutOfRange, index.ToString(CultureInfo.CurrentCulture)) );
compmod\system\componentmodel\design\CommandID.cs (1)
94return menuGroup.ToString() + " : " + commandID.ToString(CultureInfo.CurrentCulture);
compmod\system\componentmodel\design\DesignerOptionService.cs (2)
58throw new ArgumentException(SR.GetString(SR.InvalidArgument, name.Length.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture)), "name.Length");
compmod\system\componentmodel\InvalidEnumArgumentException.cs (1)
53invalidValue.ToString(CultureInfo.CurrentCulture),
compmod\system\componentmodel\MaskedTextProvider.cs (1)
882throw new IndexOutOfRangeException(index.ToString(CultureInfo.CurrentCulture));
compmod\system\componentmodel\TypeDescriptor.cs (1)
1909name = ci.ToString(CultureInfo.InvariantCulture);
compmod\system\diagnostics\DelimitedListTraceListener.cs (2)
158Write(id.ToString(CultureInfo.InvariantCulture)); 167Write(eventCache.ProcessId.ToString(CultureInfo.InvariantCulture));
compmod\system\diagnostics\TraceEventCache.cs (1)
64return GetThreadId().ToString(CultureInfo.InvariantCulture);
compmod\system\diagnostics\TraceListener.cs (1)
404Write(String.Format(CultureInfo.InvariantCulture, "{0} {1}: {2} : ", source, eventType.ToString(), id.ToString(CultureInfo.InvariantCulture)));
compmod\system\diagnostics\XmlWriterTraceListener.cs (2)
198InternalWrite(sev.ToString(CultureInfo.InvariantCulture)); 232WriteEscaped(TraceEventCache.GetThreadId().ToString(CultureInfo.InvariantCulture));
net\System\Net\_Connection.cs (6)
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));
net\System\Net\_FtpControlStream.cs (1)
837sb.Append(port.ToString(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 (2)
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");
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 (1)
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 (15)
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)));
net\System\Net\Cache\FtpRequestCacheValidator.cs (4)
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))); 351if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_ftp_response_status, ((int)resp.StatusCode).ToString(CultureInfo.InvariantCulture), resp.StatusCode.ToString()));
net\System\Net\Cache\HttpRequestCacheValidator.cs (4)
315CacheHeaders[HttpKnownHeaderNames.Age] = ((int)(CacheAge.TotalSeconds)).ToString(NumberFormatInfo.InvariantInfo); 389CacheHeaders[HttpKnownHeaderNames.Age] = ((int)(CacheAge.TotalSeconds)).ToString(NumberFormatInfo.InvariantInfo); 422if(Logging.On) Logging.PrintInfo(Logging.RequestCache, "StatusCode=" + ((int)resp.StatusCode).ToString(CultureInfo.InvariantCulture) + ' ' +resp.StatusCode.ToString() + 500sb.Append(((int)CacheStatusCode).ToString(NumberFormatInfo.InvariantInfo));
net\System\Net\Cache\RequestCacheEntry.cs (3)
94sb.Append("\r\nMaxStale(sec) = ").Append(MaxStale == TimeSpan.MinValue? "": ((int)MaxStale.TotalSeconds).ToString(NumberFormatInfo.CurrentInfo)); 95sb.Append("\r\nHitCount = ").Append(HitCount.ToString(NumberFormatInfo.CurrentInfo)); 96sb.Append("\r\nUsageCount = ").Append(UsageCount.ToString(NumberFormatInfo.CurrentInfo));
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\DNS.cs (1)
217"hostName", MaxHostName.ToString(NumberFormatInfo.CurrentInfo)));
net\System\Net\HttpWebRequest.cs (4)
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))); 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 (3)
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\MimeMultiPart.cs (1)
214string boundaryString = "--boundary_" + b.ToString(CultureInfo.InvariantCulture)+"_"+Guid.NewGuid().ToString(null, CultureInfo.InvariantCulture);
net\System\Net\mail\smtpconnection.cs (1)
170connectionPool = ConnectionPoolManager.GetConnectionPool(servicePoint, ClientCertificates.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), m_CreateConnectionCallback);
net\System\Net\SecureProtocols\_SslState.cs (2)
173targetHost = "?" + Interlocked.Increment(ref UniqueNameInteger).ToString(NumberFormatInfo.InvariantInfo); 515return new IOException(SR.GetString(SR.net_auth_ignored_reauth, _ConstMaxQueuedReadBytes.ToString(NumberFormatInfo.CurrentInfo)));
net\System\Net\ServicePoint.cs (1)
148m_ConnectionName = "ByHost:"+host+":"+port.ToString(CultureInfo.InvariantCulture);
net\System\Net\ServicePointManager.cs (2)
854tempEntry = "ByHost:"+host+":"+port.ToString(CultureInfo.InvariantCulture); 872string schemeHostPort =host+":"+port.ToString(CultureInfo.InvariantCulture);
net\System\Net\SocketAddress.cs (1)
291return Family.ToString() + ":" + Size.ToString(NumberFormatInfo.InvariantInfo) + ":{" + bytes.ToString() + "}";
net\System\Net\SocketPermission.cs (4)
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\Sockets\Socket.cs (3)
2605throw new ArgumentOutOfRangeException("checkRead", SR.GetString(SR.net_sockets_toolarge_select, "checkRead", MaxSelect.ToString(NumberFormatInfo.CurrentInfo))); 2608throw new ArgumentOutOfRangeException("checkWrite", SR.GetString(SR.net_sockets_toolarge_select, "checkWrite", MaxSelect.ToString(NumberFormatInfo.CurrentInfo))); 2611throw new ArgumentOutOfRangeException("checkError", SR.GetString(SR.net_sockets_toolarge_select, "checkError", MaxSelect.ToString(NumberFormatInfo.CurrentInfo)));
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\webproxy.cs (1)
98: this(new Uri("http://" + Host + ":" + Port.ToString(CultureInfo.InvariantCulture)), false, null, null) {
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 (1)
138output.Write(valueToEncode.ToString(NumberFormatInfo.InvariantInfo));
regex\system\text\regularexpressions\Regex.cs (2)
268String key = ((int) options).ToString(NumberFormatInfo.InvariantInfo) + ":" + cultureKey + ":" + pattern; 633return i.ToString(CultureInfo.InvariantCulture);
regex\system\text\regularexpressions\RegexCode.cs (1)
230throw MakeException(SR.GetString(SR.UnexpectedOpcode, Opcode.ToString(CultureInfo.CurrentCulture)));
regex\system\text\regularexpressions\RegexCompiler.cs (2)
3140string typenumString = typenum.ToString(CultureInfo.InvariantCulture); 3427string regexnumString = regexnum.ToString(CultureInfo.InvariantCulture);
regex\system\text\regularexpressions\RegexFCD.cs (1)
490throw new ArgumentException(SR.GetString(SR.UnexpectedOpcode, NodeType.ToString(CultureInfo.CurrentCulture)));
regex\system\text\regularexpressions\RegexParser.cs (4)
810throw MakeException(SR.GetString(SR.UndefinedReference, capnum.ToString(CultureInfo.CurrentCulture))); 813throw MakeException(SR.GetString(SR.MalformedReference, capnum.ToString(CultureInfo.CurrentCulture))); 1041throw MakeException(SR.GetString(SR.UndefinedBackref, capnum.ToString(CultureInfo.CurrentCulture))); 1069throw MakeException(SR.GetString(SR.UndefinedBackref, capnum.ToString(CultureInfo.CurrentCulture)));
regex\system\text\regularexpressions\RegexWriter.cs (1)
548throw MakeException(SR.GetString(SR.UnexpectedOpcode, nodetype.ToString(CultureInfo.CurrentCulture)));
services\io\system\io\FileSystemWatcher.cs (1)
704throw new OutOfMemoryException(SR.GetString(SR.BufferSizeTooLarge, internalBufferSize.ToString(CultureInfo.CurrentCulture)));
services\monitoring\system\diagnosticts\EventLogInternal.cs (8)
710Debug.WriteLineIf(CompModSwitches.EventLog.TraceVerbose, "EventLog::CompletionStatusChanged: starting at " + lastSeenCount.ToString(CultureInfo.InvariantCulture)); 764Debug.WriteLineIf(CompModSwitches.EventLog.TraceVerbose, "EventLog::CompletionStatusChanged: finishing at " + lastSeenCount.ToString(CultureInfo.InvariantCulture)); 905Debug.WriteLineIf(CompModSwitches.EventLog.TraceVerbose, "Error from ReadEventLog is " + error.ToString(CultureInfo.InvariantCulture)); 917Debug.WriteLineIf(CompModSwitches.EventLog.TraceVerbose, "Increasing buffer size from " + buf.Length.ToString(CultureInfo.InvariantCulture) + " to " + minBytesNeeded.ToString(CultureInfo.InvariantCulture) + " bytes"); 1027throw new ArgumentException(SR.GetString(SR.IndexOutOfBounds, index.ToString(CultureInfo.CurrentCulture))); 1098Debug.WriteLineIf(CompModSwitches.EventLog.TraceVerbose, "Error from ReadEventLog is " + error.ToString(CultureInfo.InvariantCulture)); 1118throw new InvalidOperationException(SR.GetString(SR.CantReadLogEntryAt, index.ToString(CultureInfo.CurrentCulture)), SharedUtils.CreateSafeWin32Exception());
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (9)
418iniWriter.Write(counterIndex.ToString(CultureInfo.InvariantCulture)); 426iniWriter.Write(counterIndex.ToString(CultureInfo.InvariantCulture)); 478counterTypes[i] = ((int) creationData[i].CounterType).ToString(CultureInfo.InvariantCulture); 528symbolWriter.Write(counterIndex.ToString(CultureInfo.InvariantCulture)); 530symbolWriter.Write((counterIndex * 2).ToString(CultureInfo.InvariantCulture)); 766byte[] dataRef = GetPerformanceData(entry.NameIndex.ToString(CultureInfo.InvariantCulture)); 1337throw new InvalidOperationException(SR.GetString(SR.CantReadCategoryIndex, categoryIndex.ToString(CultureInfo.CurrentCulture))); 1408newInstanceName = instanceName + "#" + newInstanceNumber.ToString(CultureInfo.InvariantCulture); 1425byte[] data = library.GetPerformanceData(categoryIndex.ToString(CultureInfo.InvariantCulture));
services\monitoring\system\diagnosticts\Process.cs (4)
306throw new InvalidOperationException(SR.GetString(SR.ProcessHasExited, processId.ToString(CultureInfo.CurrentCulture))); 1514throw new ArgumentException(SR.GetString(SR.MissingProccess, processId.ToString(CultureInfo.CurrentCulture))); 1669throw new InvalidOperationException(SR.GetString(SR.ProcessHasExited, processId.ToString(CultureInfo.CurrentCulture))); 1703throw new InvalidOperationException(SR.GetString(SR.ProcessHasExited, processId.ToString(CultureInfo.CurrentCulture)));
services\monitoring\system\diagnosticts\ProcessManager.cs (3)
277throw new InvalidOperationException(SR.GetString(SR.ProcessHasExited, processId.ToString(CultureInfo.CurrentCulture))); 294throw new InvalidOperationException(SR.GetString(SR.ThreadExited, threadId.ToString(CultureInfo.CurrentCulture))); 1175processInfo.processName = processInfo.processId.ToString(CultureInfo.InvariantCulture);
sys\system\configuration\ConfigurationException.cs (1)
94return BareMessage + " (" + file + " line " + Line.ToString(CultureInfo.InvariantCulture) + ")";
sys\system\io\ports\SerialStream.cs (1)
1770Debug.Assert(false, "GetOverlappedResult returned error, we might leak intOverlapped memory" + error.ToString(CultureInfo.InvariantCulture));
System.Activities (18)
System\Activities\Activity.cs (1)
786string name = generatedArgumentPrefix + this.tempAutoGeneratedArguments.Count.ToString(CultureInfo.InvariantCulture);
System\Activities\Debugger\DebugManager.cs (1)
251name = string.Format(CultureInfo.InvariantCulture, "{0}.{1}{2}", parentName, displayName, i.ToString(CultureInfo.InvariantCulture));
System\Activities\Debugger\StateManager.cs (2)
365this.controller.Initialize(threadName + "." + threadId.ToString(CultureInfo.InvariantCulture), stateManager); 533typeName = typeNamePrefix + "_" + suffix.ToString(CultureInfo.InvariantCulture);
System\Activities\DynamicUpdate\DynamicUpdateMap.cs (2)
356string expectedId = entry.NewActivityId.ToString(CultureInfo.InvariantCulture); 455string activityId = currentIdSpace.Owner.Id + "." + entry.NewActivityId.ToString(CultureInfo.InvariantCulture);
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (1)
434BlockUpdate(activity, entry.OldActivityId.ToString(CultureInfo.InvariantCulture), reason, entry, message);
System\Activities\ExpressionParser\SourceExpressionException.cs (2)
53string index = i.ToString(CultureInfo.InvariantCulture); 93string index = i.ToString(CultureInfo.InvariantCulture);
System\Activities\Statements\StateMachineIdHelper.cs (2)
48return parentId + StateIdSeparator + index.ToString(CultureInfo.InvariantCulture); 59return stateid + StateIdSeparator + transitionIndex.ToString(CultureInfo.InvariantCulture);
System\Activities\XamlIntegration\ActivityBuilderXamlWriter.cs (1)
443aliasPostfix = i.ToString(CultureInfo.InvariantCulture);
System\Activities\XamlIntegration\DynamicUpdateMapItemConverter.cs (3)
60return objectInfo.OriginalVariableOwnerId.ToString(culture) + "." + objectInfo.OriginalId.ToString(culture); 62return objectInfo.OriginalId.ToString(culture);
System\Activities\XamlIntegration\TextExpressionCompiler.cs (3)
1140string indexString = descriptor.Id.ToString(CultureInfo.InvariantCulture); 1214string indexString = descriptor.Id.ToString(CultureInfo.InvariantCulture); 1239string indexString = descriptor.Id.ToString(CultureInfo.InvariantCulture);
System.Activities.DurableInstancing (11)
System\Activities\DurableInstancing\CorrelationKey.cs (1)
56xmlWriter.WriteAttributeString("BinaryLength", this.BinaryData.Count.ToString(CultureInfo.InvariantCulture));
System\Activities\DurableInstancing\SerializationUtilities.cs (5)
409xmlWriter.WriteElementString("Major", id.Version.Major.ToString(CultureInfo.InvariantCulture)); 410xmlWriter.WriteElementString("Minor", id.Version.Minor.ToString(CultureInfo.InvariantCulture)); 413xmlWriter.WriteElementString("Build", id.Version.Build.ToString(CultureInfo.InvariantCulture)); 416xmlWriter.WriteElementString("Revision", id.Version.Revision.ToString(CultureInfo.InvariantCulture)); 427xmlWriter.WriteElementString("WorkflowIdentityFilter", workflowIdentityFilter.ToString(CultureInfo.InvariantCulture));
System\Activities\DurableInstancing\SqlCommandAsyncResult.cs (4)
161TD.SqlExceptionCaught(this.eventTraceActivity, exception.Number.ToString(CultureInfo.InvariantCulture), exception.Message); 183TD.RetryingSqlCommandDueToSqlError(this.eventTraceActivity, exception.Number.ToString(CultureInfo.InvariantCulture)); 219TD.QueuingSqlRetry(this.eventTraceActivity, delay.ToString(CultureInfo.InvariantCulture)); 310TD.RetryingSqlCommandDueToSqlError(this.eventTraceActivity, exception.Number.ToString(CultureInfo.InvariantCulture));
System\Activities\DurableInstancing\XmlPropertyBag.cs (1)
61writer.WriteAttributeString("Type", ((int)GetPrimitiveType(property.Value)).ToString(CultureInfo.InvariantCulture));
System.Activities.Presentation (7)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DesignTimeXamlWriter.cs (1)
249aliasPostfix = i.ToString(CultureInfo.InvariantCulture);
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (1)
177prefix = ns.Prefix + i.ToString(CultureInfo.InvariantCulture);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyIndexer.cs (1)
126return _index.ToString(CultureInfo.InvariantCulture);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValueCollection.cs (2)
504throw FxTrace.Exception.AsError(new IndexOutOfRangeException(index.ToString(CultureInfo.InvariantCulture))); 515throw FxTrace.Exception.AsError(new IndexOutOfRangeException(index.ToString(CultureInfo.InvariantCulture)));
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
310sb.Insert(0, "[" + ((ModelItemCollection)modelItem.Parent).IndexOf(modelItem).ToString(CultureInfo.InvariantCulture) + "]");
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
349this.GetType().Name, activeContainer == null ? "<null>" : activeContainer.GetHashCode().ToString(CultureInfo.InvariantCulture)));
System.Configuration (4)
System\Configuration\ConfigurationErrorsException.cs (3)
185numPrefix = i.ToString(CultureInfo.InvariantCulture); 223numPrefix = i.ToString(CultureInfo.InvariantCulture); 248return BareMessage + " (" + file + " line " + Line.ToString(CultureInfo.CurrentCulture) + ")";
System\Configuration\InfiniteIntConverter.cs (1)
30return ((int)value).ToString(CultureInfo.InvariantCulture);
System.Core (3)
System\Diagnostics\EventSchemaTraceListener.cs (2)
293_InternalBuildRaw(writer, sev.ToString(CultureInfo.InvariantCulture)); 300_InternalBuildRaw(writer, op.ToString(CultureInfo.InvariantCulture));
System\IO\LogStream.cs (1)
391string path = (_currentFileNum == 1)?_pathSav: _fileNameWithoutExt + _currentFileNum.ToString(CultureInfo.InvariantCulture) + _fileExt;
System.Data (135)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DesignTimeXamlWriter.cs (1)
249aliasPostfix = i.ToString(CultureInfo.InvariantCulture);
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (1)
177prefix = ns.Prefix + i.ToString(CultureInfo.InvariantCulture);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyIndexer.cs (1)
126return _index.ToString(CultureInfo.InvariantCulture);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValueCollection.cs (2)
504throw FxTrace.Exception.AsError(new IndexOutOfRangeException(index.ToString(CultureInfo.InvariantCulture))); 515throw FxTrace.Exception.AsError(new IndexOutOfRangeException(index.ToString(CultureInfo.InvariantCulture)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
310sb.Insert(0, "[" + ((ModelItemCollection)modelItem.Parent).IndexOf(modelItem).ToString(CultureInfo.InvariantCulture) + "]");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
349this.GetType().Name, activeContainer == null ? "<null>" : activeContainer.GetHashCode().ToString(CultureInfo.InvariantCulture)));
fx\src\data\Microsoft\SqlServer\Server\SmiMetaDataProperty.cs (1)
136returnValue += columnOrd.ToString(CultureInfo.InvariantCulture);
fx\src\data\System\Data\Common\AdapterUtil.cs (22)
184IndexOutOfRangeException e = new IndexOutOfRangeException(value.ToString(CultureInfo.InvariantCulture)); 409return ADP.ArgumentOutOfRange(Res.GetString(Res.ADP_InvalidEnumerationValue, type.Name, value.ToString(System.Globalization.CultureInfo.InvariantCulture)), type.Name); 941return IndexOutOfRange(Res.GetString(Res.ADP_CollectionIndexInt32, index.ToString(CultureInfo.InvariantCulture), collection.Name, count.ToString(CultureInfo.InvariantCulture))); 1247return InvalidOperation(Res.GetString(Res.ADP_NonSequentialColumnAccess, badCol.ToString(CultureInfo.InvariantCulture), currCol.ToString(CultureInfo.InvariantCulture))); 1261return Argument(Res.GetString(Res.ADP_InvalidMaxRecords, max.ToString(CultureInfo.InvariantCulture)), parameter); 1264return Argument(Res.GetString(Res.ADP_InvalidStartRecord, start.ToString(CultureInfo.InvariantCulture)), parameter); 1318DBConcurrencyException exception = new DBConcurrencyException(Res.GetString(resource, affected.ToString(CultureInfo.InvariantCulture), expected.ToString(CultureInfo.InvariantCulture)), null, dataRows); 1354return Argument(Res.GetString(Res.ADP_UpdateMismatchRowTable, i.ToString(CultureInfo.InvariantCulture))); 1370return Argument(Res.GetString(Res.ADP_InvalidCommandTimeout, value.ToString(CultureInfo.InvariantCulture)), ADP.CommandTimeout); 1376return InvalidOperation(Res.GetString(Res.ADP_UninitializedParameterSize, index.ToString(CultureInfo.InvariantCulture), dataType.Name)); 1498return ArgumentOutOfRange(Res.GetString(Res.ADP_InvalidSourceBufferIndex, maxLen.ToString(CultureInfo.InvariantCulture), srcOffset.ToString(CultureInfo.InvariantCulture)), parameterName); 1501return ArgumentOutOfRange(Res.GetString(Res.ADP_InvalidDestinationBufferIndex, maxLen.ToString(CultureInfo.InvariantCulture), dstOffset.ToString(CultureInfo.InvariantCulture)), parameterName); 1504return IndexOutOfRange(Res.GetString(Res.SQL_InvalidBufferSizeOrIndex, numBytes.ToString(CultureInfo.InvariantCulture), bufferIndex.ToString(CultureInfo.InvariantCulture))); 1573return Argument(Res.GetString(Res.ADP_UnknownDataTypeCode, ((int) typeCode).ToString(CultureInfo.InvariantCulture), dataType.FullName)); 1576return Argument(Res.GetString(Res.ADP_InvalidOffsetValue, value.ToString(CultureInfo.InvariantCulture))); 1579return Argument(Res.GetString(Res.ADP_InvalidSizeValue, value.ToString(CultureInfo.InvariantCulture))); 2432string uniqueName = columnName + uniqueIndex.ToString(CultureInfo.InvariantCulture);
fx\src\data\System\Data\Common\DataAdapter.cs (1)
768return srcTable + index.ToString(System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\Common\DataColumnMappingCollection.cs (1)
351name = ADP.SourceColumn + index.ToString(System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\Common\DataTableMappingCollection.cs (1)
352name = ADP.SourceTable + index.ToString(System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\ConstraintCollection.cs (1)
580return "Constraint" + index.ToString(System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\DataColumnCollection.cs (1)
692return "Column" + index.ToString(System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\DataException.cs (14)
437return _IndexOutOfRange(Res.GetString(Res.DataColumns_OutOfRange, (index).ToString(CultureInfo.InvariantCulture))); 496return _ArgumentOutOfRange(name, Res.GetString(Res.DataColumn_OrdinalExceedMaximun, (ordinal).ToString(CultureInfo.InvariantCulture))); 543return _IndexOutOfRange(Res.GetString(Res.DataConstraint_OutOfRange, (index).ToString(CultureInfo.InvariantCulture))); 701return _Argument(Res.GetString(Res.DataColumn_CannotSetMaxLength, column.ColumnName, value.ToString(CultureInfo.InvariantCulture))); 830return _IndexOutOfRange(Res.GetString(Res.DataView_GetElementIndex, (index).ToString(CultureInfo.InvariantCulture))); 870return _InvalidConstraint(Res.GetString(Res.DataKey_TooManyColumns, (cols).ToString(CultureInfo.InvariantCulture))); 1029return _IndexOutOfRange(Res.GetString(Res.DataRow_OutOfRange, (index).ToString(CultureInfo.InvariantCulture))); 1032return _IndexOutOfRange(Res.GetString(Res.DataRow_RowInsertOutOfRange, (index).ToString(CultureInfo.InvariantCulture))); 1036return _IndexOutOfRange(Res.GetString(Res.DataRow_RowInsertTwice, (index).ToString(CultureInfo.InvariantCulture), tableName)); 1098return _Argument(Res.GetString(Res.DataIndex_KeyLength, (length).ToString(CultureInfo.InvariantCulture), (keyLength).ToString(CultureInfo.InvariantCulture))); 1210return _IndexOutOfRange(Res.GetString(Res.DataTable_OutOfRange, (index).ToString(CultureInfo.InvariantCulture))); 1254return _Argument(Res.GetString(Res.Range_Argument, (min).ToString(CultureInfo.InvariantCulture), (max).ToString(CultureInfo.InvariantCulture)));
fx\src\data\System\Data\DataRelationCollection.cs (1)
340return "Relation" + index.ToString(System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\DataTableCollection.cs (1)
636return "Table" + index.ToString(System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\Filter\FilterException.cs (4)
162return _Syntax(Res.GetString(Res.Expr_UnknownToken, token, position.ToString(CultureInfo.InvariantCulture))); 166return _Syntax(Res.GetString(Res.Expr_UnknownToken1, tokExpected.ToString(), tokCurr.ToString(), position.ToString(CultureInfo.InvariantCulture))); 210return _Eval(Res.GetString(Res.Expr_ArgumentType, function, arg.ToString(CultureInfo.InvariantCulture), type.ToString())); 214return _Eval(Res.GetString(Res.Expr_ArgumentTypeInteger, function, arg.ToString(CultureInfo.InvariantCulture)));
fx\src\data\System\Data\Filter\FunctionNode.cs (11)
258Debug.Assert(argumentCount == 1, "Invalid argument argumentCount for " + funcs[info].name + " : " + argumentCount.ToString(FormatProvider)); 269Debug.Assert(argumentCount == 1, "Invalid argument argumentCount for " + funcs[info].name + " : " + argumentCount.ToString(FormatProvider)); 286Debug.Assert(argumentCount == 1, "Invalid argument argumentCount for " + funcs[info].name + " : " + argumentCount.ToString(FormatProvider)); 290Debug.Assert(argumentCount == 1, "Invalid argument argumentCount for " + funcs[info].name + " : " + argumentCount.ToString(FormatProvider)); 294Debug.Assert(argumentCount == 1, "Invalid argument argumentCount for " + funcs[info].name + " : " + argumentCount.ToString(FormatProvider)); 298Debug.Assert(argumentCount == 1, "Invalid argument argumentCount for " + funcs[info].name + " : " + argumentCount.ToString(FormatProvider)); 302Debug.Assert(argumentCount == 2, "Invalid argument argumentCount for " + funcs[info].name + " : " + argumentCount.ToString(FormatProvider)); 319Debug.Assert(argumentCount == 3, "Invalid argument argumentCount: " + argumentCount.ToString(FormatProvider)); 344Debug.Assert(argumentCount == 1, "Invalid argument argumentCount for " + funcs[info].name + " : " + argumentCount.ToString(FormatProvider)); 360Debug.Assert(argumentCount == 3, "Invalid argument argumentCount: " + argumentCount.ToString(FormatProvider)); 400Debug.Assert(argumentCount == 1, "Invalid argument argumentCount for " + funcs[info].name + " : " + argumentCount.ToString(FormatProvider));
fx\src\data\System\Data\Filter\NameNode.cs (2)
153Debug.Assert(text[checked((int)pos-1)] == '`', "Invalid identifyer bracketing, pos = " + pos.ToString(CultureInfo.InvariantCulture) + ", end = " + text[checked((int)pos-1)].ToString(CultureInfo.InvariantCulture)); 160Debug.Assert(text[checked((int)pos-1)] == ']', "Invalid identifyer bracketing of name " + new string(text, start, pos-start) + " pos = " + pos.ToString(CultureInfo.InvariantCulture) + ", end = " + text[checked((int)pos-1)].ToString(CultureInfo.InvariantCulture));
fx\src\data\System\Data\Odbc\Odbc32.cs (2)
41return ADP.ArgumentOutOfRange(Res.GetString(Res.ODBC_NotSupportedEnumerationValue, type.Name, value.ToString(System.Globalization.CultureInfo.InvariantCulture)), type.Name); 81return ADP.DataAdapter(Res.GetString(Res.Odbc_NoMappingForSqlTransactionLevel, value.ToString(CultureInfo.InvariantCulture)));
fx\src\data\System\Data\Odbc\OdbcCommandBuilder.cs (1)
75return "p" + parameterOrdinal.ToString(System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\OleDb\DBPropSet.cs (1)
231Debug.Assert(null != properties[i], "null tagDBPROP " + i.ToString(CultureInfo.InvariantCulture));
fx\src\data\System\Data\OleDb\OLEDB_Util.cs (13)
32builder.Append(Res.GetString(Res.OleDb_CommandParameterBadAccessor,index.ToString(CultureInfo.InvariantCulture), "")); 37builder.Append(Res.GetString(Res.OleDb_CommandParameterCantConvertValue,index.ToString(CultureInfo.InvariantCulture), "")); 42builder.Append(Res.GetString(Res.OleDb_CommandParameterSignMismatch,index.ToString(CultureInfo.InvariantCulture), "")); 47builder.Append(Res.GetString(Res.OleDb_CommandParameterDataOverflow,index.ToString(CultureInfo.InvariantCulture), "")); 56builder.Append(Res.GetString(Res.OleDb_CommandParameterUnavailable,index.ToString(CultureInfo.InvariantCulture), "")); 77builder.Append(Res.GetString(Res.OleDb_CommandParameterDefault,index.ToString(CultureInfo.InvariantCulture), "")); 82builder.Append(Res.GetString(Res.OleDb_CommandParameterError, index.ToString(CultureInfo.InvariantCulture), status.ToString())); 92return ADP.InvalidOperation(Res.GetString(Res.OleDb_UninitializedParameters, index.ToString(CultureInfo.InvariantCulture), dbtype.ToString())); 95return ADP.DataAdapter(Res.GetString(Res.OleDb_BadStatus_ParamAcc, index.ToString(CultureInfo.InvariantCulture), status.ToString())); 148builder.Append(Res.GetString(Res.OleDb_PropertyStatusUnknown, ((int) status).ToString(CultureInfo.InvariantCulture))); 244return ADP.DataAdapter(Res.GetString(Res.OleDb_GVtUnknown, wType.ToString("X4", CultureInfo.InvariantCulture), wType.ToString(CultureInfo.InvariantCulture))); 247return ADP.DataAdapter(Res.GetString(Res.OleDb_SVtUnknown, wType.ToString("X4", CultureInfo.InvariantCulture), wType.ToString(CultureInfo.InvariantCulture))); 252return ADP.DataAdapter(Res.GetString(Res.OleDb_BadStatusRowAccessor, i.ToString(CultureInfo.InvariantCulture), rowStatus.ToString()));
fx\src\data\System\Data\OleDb\OleDbCommandBuilder.cs (1)
70return "p" + parameterOrdinal.ToString(System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\OleDb\oledbconnectionstring.cs (1)
385builder.Append(_oledbServices.ToString(CultureInfo.InvariantCulture));
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (1)
358base[keyword] = value.ToString((System.IFormatProvider)null);
fx\src\data\System\Data\OleDb\OleDbDataAdapter.cs (1)
475return srcTable + index.ToString(System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\OleDb\OleDbMetaDataFactory.cs (1)
276DataRow[] tableNameRow = infoLiterals.Select("Literal = " + ODB.DBLITERAL_TABLE_NAME.ToString(CultureInfo.InvariantCulture));
fx\src\Data\System\Data\ProviderBase\DbParameterCollectionHelper.cs (1)
270name = ADP.Parameter + index.ToString(CultureInfo.CurrentCulture);
fx\src\data\System\Data\SimpleType.cs (2)
285constraint.SetAttribute(Keywords.VALUE, length.ToString(CultureInfo.InvariantCulture)); 290constraint.SetAttribute(Keywords.VALUE, maxLength.ToString(CultureInfo.InvariantCulture));
fx\src\data\System\Data\SqlClient\SqlCommandBuilder.cs (2)
187return "@p" + parameterOrdinal.ToString(System.Globalization.CultureInfo.InvariantCulture); 194return "@p" + parameterOrdinal.ToString(System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
2472mapFileName = mapFileName + dwpidDebuggee.ToString(CultureInfo.InvariantCulture);
fx\src\data\System\Data\SqlClient\SqlConnectionStringBuilder.cs (1)
1175base[keyword] = value.ToString((System.IFormatProvider)null);
fx\src\data\System\Data\SqlClient\SqlEnums.cs (1)
691Debug.Assert(false, "Unknown type " + tdsType.ToString(CultureInfo.InvariantCulture));
fx\src\data\System\Data\SqlClient\SqlException.cs (1)
179exception.Data.Add("HelpLink.EvtID", errorCollection[0].Number.ToString(CultureInfo.InvariantCulture));
fx\src\data\System\Data\SqlClient\SqlUtil.cs (12)
381return ADP.ArgumentOutOfRange(Res.GetString(Res.SQL_NotSupportedEnumerationValue, type.Name, value.ToString(System.Globalization.CultureInfo.InvariantCulture)), type.Name); 509return ADP.InvalidOperation(Res.GetString(Res.SQL_ParsingErrorWithState, ((int)state).ToString(CultureInfo.InvariantCulture))); 512return ADP.InvalidOperation(Res.GetString(Res.SQL_ParsingErrorWithState, ((int)state).ToString(CultureInfo.InvariantCulture)), innerException); 515return ADP.InvalidOperation(Res.GetString(Res.SQL_ParsingErrorValue, ((int)state).ToString(CultureInfo.InvariantCulture), value)); 518return ADP.InvalidOperation(Res.GetString(Res.SQL_ParsingErrorOffset, ((int)state).ToString(CultureInfo.InvariantCulture), offset)); 521return ADP.InvalidOperation(Res.GetString(Res.SQL_ParsingErrorFeatureId, ((int)state).ToString(CultureInfo.InvariantCulture), featureId)); 524return ADP.InvalidOperation(Res.GetString(Res.SQL_ParsingErrorToken, ((int)state).ToString(CultureInfo.InvariantCulture), token)); 527return ADP.InvalidOperation(Res.GetString(Res.SQL_ParsingErrorLength, ((int)state).ToString(CultureInfo.InvariantCulture), length)); 530return ADP.InvalidOperation(Res.GetString(Res.SQL_ParsingErrorStatus, ((int)state).ToString(CultureInfo.InvariantCulture), status)); 533return ADP.InvalidOperation(Res.GetString(Res.SQL_ParsingErrorAuthLibraryType, ((int)state).ToString(CultureInfo.InvariantCulture), libraryType)); 797return ADP.Argument(Res.GetString(Res.SQL_BulkLoadInvalidTimeout, timeout.ToString(CultureInfo.InvariantCulture))); 1665return ADP.InvalidOperation(Res.GetString(Res.OleDb_CommandParameterError, index.ToString(CultureInfo.InvariantCulture), "SqlParameter.Size"));
fx\src\data\System\Data\SqlClient\TdsParser.cs (11)
4722Debug.Assert(md != null, "_SqlMetaData should not be null for column " + i.ToString(CultureInfo.InvariantCulture)); 10014Debug.Assert(type.FixedLength == 8, "invalid length for SqlIntN type: " + type.FixedLength.ToString(CultureInfo.InvariantCulture)); 10576Debug.Assert(type.FixedLength == 8, "invalid length for SqlIntN type: " + type.FixedLength.ToString(CultureInfo.InvariantCulture)); 10800Debug.Assert(type.FixedLength == 8, "invalid length for SqlIntN type: " + type.FixedLength.ToString(CultureInfo.InvariantCulture)); 10974Debug.Assert(type.FixedLength == 8, "invalid length for SqlIntN type: " + type.FixedLength.ToString(CultureInfo.InvariantCulture)); 11437null == _connHandler ? "(null)" : _connHandler.ObjectID.ToString((IFormatProvider)null), 11443null == _sniSpnBuffer ? "(null)" : _sniSpnBuffer.Length.ToString((IFormatProvider)null), 11444_physicalStateObj != null ? "(null)" : _physicalStateObj.ErrorCount.ToString((IFormatProvider)null), 11445_physicalStateObj != null ? "(null)" : _physicalStateObj.WarningCount.ToString((IFormatProvider)null), 11446_physicalStateObj != null ? "(null)" : _physicalStateObj.PreAttentionErrorCount.ToString((IFormatProvider)null), 11447_physicalStateObj != null ? "(null)" : _physicalStateObj.PreAttentionWarningCount.ToString((IFormatProvider)null),
fx\src\data\System\Data\SqlClient\TdsParserSessionPool.cs (1)
227null == _freeStateObjects ? "(null)" : _freeStateObjectCount.ToString((IFormatProvider) null),
fx\src\data\System\Data\SQLTypes\SQLBinary.cs (1)
159return IsNull ? SQLResource.NullString : "SqlBinary(" + m_value.Length.ToString(CultureInfo.InvariantCulture) + ")";
fx\src\data\System\Data\SQLTypes\SQLDecimal.cs (1)
1901SQLDebug.Check(rglData.Length == 4, "rglData.Length == 4", "Wrong array length: " + rglData.Length.ToString(CultureInfo.InvariantCulture));
fx\src\data\System\Data\SQLTypes\SQLInt32.cs (1)
110return IsNull ? SQLResource.NullString : m_value.ToString((IFormatProvider)null);
fx\src\data\System\Data\SQLTypes\SQLString.cs (1)
535return x.IsNull ? Null : new SqlString((x.Value).ToString((IFormatProvider)null));
fx\src\data\System\Data\xmlsaver.cs (4)
706rootSchema.SetAttribute(Keywords.MSD_FRAGMENTCOUNT, Keywords.MSDNS, namespaces.Count.ToString(CultureInfo.InvariantCulture)); 1301root.SetAttribute(Keywords.MINOCCURS, minOccurs.ToString(CultureInfo.InvariantCulture)); 1304root.SetAttribute(Keywords.MSD_ORDINAL,Keywords.MSDNS, col.Ordinal.ToString(CultureInfo.InvariantCulture)); 1611sc.SetAttribute(Keywords.MSD_ORDINAL, Keywords.MSDNS, colTxt.Ordinal.ToString(CultureInfo.InvariantCulture));
fx\src\data\System\Data\XMLSchema.cs (4)
100string tempName = proposedName + "_" + (i).ToString(CultureInfo.InvariantCulture); 1751String tmp = (-1).ToString(CultureInfo.CurrentCulture); 1850String tmp = (-1).ToString(CultureInfo.CurrentCulture); 2185String tmp = GetStringAttribute(elem, Keywords.MSD_ORDINAL, (-1).ToString(CultureInfo.CurrentCulture));
System.Data.DataSetExtensions (1)
System\Data\DataSetUtil.cs (1)
78return ArgumentOutOfRange(Strings.DataSetLinq_InvalidEnumerationValue(type.Name, value.ToString(System.Globalization.CultureInfo.InvariantCulture)), type.Name);
System.Data.Entity (32)
System\Data\Common\EntitySql\CqlParserHelpers.cs (2)
34private string _version = YYMAJOR.ToString(NumberFormatInfo.InvariantInfo) + '.' + YYMINOR.ToString(NumberFormatInfo.InvariantInfo);
System\Data\Common\EntityUtil.cs (13)
438return IndexOutOfRange(System.Data.Entity.Strings.ADP_InvalidBufferSizeOrIndex(numBytes.ToString(CultureInfo.InvariantCulture), bufferIndex.ToString(CultureInfo.InvariantCulture))); 444return ArgumentOutOfRange(System.Data.Entity.Strings.ADP_InvalidDestinationBufferIndex(maxLen.ToString(CultureInfo.InvariantCulture), dstOffset.ToString(CultureInfo.InvariantCulture)), parameterName); 447return ArgumentOutOfRange(System.Data.Entity.Strings.ADP_InvalidSourceBufferIndex(maxLen.ToString(CultureInfo.InvariantCulture), srcOffset.ToString(CultureInfo.InvariantCulture)), parameterName); 459return InvalidOperation(System.Data.Entity.Strings.ADP_NonSequentialColumnAccess(badCol.ToString(CultureInfo.InvariantCulture), currCol.ToString(CultureInfo.InvariantCulture))); 1408return Argument(System.Data.Entity.Strings.ADP_InvalidSizeValue(value.ToString(CultureInfo.InvariantCulture))); 1578return Argument(System.Data.Entity.Strings.ADP_UnknownDataTypeCode(((int) typeCode).ToString(CultureInfo.InvariantCulture), dataType.FullName)); 1679result = cardinality.Value.ToString(CultureInfo.CurrentCulture); 1709return new IndexOutOfRangeException(System.Data.Entity.Strings.EntityParameterCollectionInvalidIndex(index.ToString(CultureInfo.InvariantCulture), count.ToString(CultureInfo.InvariantCulture))); 1827return EntityUtil.ArgumentOutOfRange(System.Data.Entity.Strings.ADP_InvalidEnumerationValue(type.Name, value.ToString(System.Globalization.CultureInfo.InvariantCulture)), type.Name);
System\Data\Common\Utils\AliasGenerator.cs (3)
106name = String.Concat(_prefix, index.ToString(CultureInfo.InvariantCulture)); 112name = index.ToString(CultureInfo.InvariantCulture); 116_counterNames[index] = name = index.ToString(CultureInfo.InvariantCulture);
System\Data\EntityClient\DbParameterCollectionHelper.cs (1)
272name = EntityUtil.Parameter + index.ToString(CultureInfo.CurrentCulture);
System\Data\Mapping\MetadataMappingHasherVisitor.HashSourceBuilder.cs (1)
67base.AppendLine(objectIndex.ToString(CultureInfo.InvariantCulture));
System\Data\Metadata\Converter.cs (1)
893string modifier = i == 0 ? string.Empty : i.ToString(System.Globalization.CultureInfo.InvariantCulture);
System\Data\Objects\ELinq\ReflectionUtil.cs (1)
472description.Append("T").Append(ordinal.ToString(CultureInfo.InvariantCulture));
System\Data\Objects\ObjectContext.cs (1)
2521string parameterName = string.Format(CultureInfo.InvariantCulture, "p{0}", i.ToString(CultureInfo.InvariantCulture));
System\Data\Query\InternalTrees\Dump.cs (1)
545WriteString(op.Var.Id.ToString(CultureInfo.InvariantCulture));
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (2)
978fieldName = "F" + nextFieldId.ToString(CultureInfo.InvariantCulture); 985fieldName = "F" + nextFieldId.ToString(CultureInfo.InvariantCulture);
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (1)
440newName = name + i.ToString(System.Globalization.CultureInfo.InvariantCulture);
System\Data\SqlClient\SqlGen\SqlGenerator.cs (2)
3841typeName = typeName + "(" + maxLength.ToString(CultureInfo.InvariantCulture) + ")"; 3850typeName = typeName + "(" + maxLength.ToString(CultureInfo.InvariantCulture) + ")";
System\Data\SqlClient\SqlGen\SqlSelectStatement.cs (1)
233newName = fromAlias.Name + i.ToString(System.Globalization.CultureInfo.InvariantCulture);
System\Data\SqlClient\SqlGen\Symbol.cs (1)
154newNameCandidate = this.NewName + i.ToString(System.Globalization.CultureInfo.InvariantCulture);
System\Data\SqlClient\SqlGen\TopClause.cs (1)
67sqlBuilder.Append(topCount.ToString(CultureInfo.InvariantCulture));
System.Data.Entity.Design (3)
System\Data\Entity\Design\Common\UniqueIdentifierService.cs (1)
75adjustedIdentifier = _transform(identifier) + numberOfConflicts.ToString(CultureInfo.InvariantCulture);
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
540viewMethod.Name = "GetView" + index.ToString(CultureInfo.InvariantCulture);
System\Data\Entity\Design\SSDLGenerator\EntityStoreSchemaGeneratorDatabaseSchemaLoader.cs (1)
317string parameterName = "p" + command.Parameters.Count.ToString(CultureInfo.InvariantCulture);
System.Data.Linq (1)
SqlClient\SqlProvider.cs (1)
1171p.Size.ToString(System.Globalization.CultureInfo.CurrentCulture),
System.Data.Services (10)
System\Data\Services\Epm\EpmAttributeNameBuilder.cs (1)
89this.postFix = "_" + this.index.ToString(System.Globalization.CultureInfo.InvariantCulture);
System\Data\Services\Providers\BaseServiceProvider.cs (1)
817string parameterName = parameterInfo.Name ?? "p" + i.ToString(CultureInfo.InvariantCulture);
System\Data\Services\Providers\BasicExpandProvider.cs (4)
1496"ProjectedProperty" + i.ToString(System.Globalization.CultureInfo.InvariantCulture), 1512skipTokenDescription.Append(XmlConstants.SkipTokenPropertyPrefix + i.ToString(System.Globalization.CultureInfo.InvariantCulture)).Append(","); 1516MemberInfo member = projectedSkipTokenType.GetProperty("ProjectedProperty" + i.ToString(System.Globalization.CultureInfo.InvariantCulture)); 1528bindings[this.children.Count + 2] = BindByName(this.elementType, "ProjectedProperty" + this.children.Count.ToString(System.Globalization.CultureInfo.InvariantCulture), skipTokenBody);
System\Data\Services\RequestQueryProcessor.cs (2)
1222skipTokenDescription.Append(separator).Append(XmlConstants.SkipTokenPropertyPrefix + i.ToString(System.Globalization.CultureInfo.InvariantCulture)); 1248MemberInfo member = skipTokenWrapperType.GetProperty("ProjectedProperty" + i.ToString(System.Globalization.CultureInfo.InvariantCulture));
System\Data\Services\Serializers\JsonWriter.cs (1)
174this.WriteCore(value.ToString(CultureInfo.InvariantCulture), /* quotes */ false);
System\Data\Services\Serializers\Serializer.cs (1)
1192String keyName = XmlConstants.SkipTokenPropertyPrefix + i.ToString(System.Globalization.CultureInfo.InvariantCulture);
System.Data.Services.Client (1)
System\Data\Services\Client\ALinq\ReflectionUtil.cs (1)
484description.Append("T").Append(ordinal.ToString(CultureInfo.InvariantCulture));
System.Data.Services.Design (2)
parent\Server\System\Data\Services\Epm\EpmAttributeNameBuilder.cs (1)
89this.postFix = "_" + this.index.ToString(System.Globalization.CultureInfo.InvariantCulture);
System\Data\Entity\Design\Common\UniqueIdentifierService.cs (1)
52adjustedIdentifier = identifier + numberOfConflicts.ToString(CultureInfo.InvariantCulture);
System.Data.SqlXml (12)
System\Xml\Xsl\Runtime\XmlExtensionFunction.cs (2)
179throw new XslTransformException(/*[XT_037]*/Res.XmlIl_AmbiguousExtensionMethod, this.namespaceUri, this.name, this.numArgs.ToString(CultureInfo.InvariantCulture)); 191throw new XslTransformException(/*[XT_039]*/Res.XmlIl_NoExtensionMethod, this.namespaceUri, this.name, this.numArgs.ToString(CultureInfo.InvariantCulture));
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (1)
1295genPrefix = "xp_" + (this.prefixIndex++).ToString(CultureInfo.InvariantCulture);
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
824return string.Concat("ID", this.docOrderCmp.GetDocumentIndex(navigator).ToString(CultureInfo.InvariantCulture), navigator.UniqueId);
System\Xml\Xsl\XPath\XPathBuilder.cs (3)
890throw new XPathCompileException(resId, name, minArgs.ToString(CultureInfo.InvariantCulture), maxArgs.ToString(CultureInfo.InvariantCulture)); 905throw new XPathCompileException(Res.XPath_NodeSetArgumentExpected, name, (i + 1).ToString(CultureInfo.InvariantCulture));
System\Xml\Xsl\XslException.cs (2)
172string lineInfoMessage = CreateMessage(Res.Xml_ErrorFilePosition, fileName, lineInfo.Start.Line.ToString(CultureInfo.InvariantCulture), lineInfo.Start.Pos.ToString(CultureInfo.InvariantCulture));
System\Xml\Xsl\Xslt\Scripts.cs (1)
344return "script" + (++assemblyCounter).ToString(CultureInfo.InvariantCulture);
System\Xml\Xsl\XsltOld\Compiler.cs (1)
161return this.rtfCount.ToString(CultureInfo.InvariantCulture);
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (1)
203throw XsltException.Create(Res.Xslt_WrongNumberArgs, name, argTypes.Length.ToString(CultureInfo.InvariantCulture));
System.Drawing (30)
commonui\System\Drawing\Advanced\SafeCustomLineCapHandle.cs (1)
47Debug.Assert(status == SafeNativeMethods.Gdip.Ok, "GDI+ returned an error status: " + status.ToString(CultureInfo.InvariantCulture));
commonui\System\Drawing\Point.cs (2)
285return "{X=" + X.ToString(CultureInfo.CurrentCulture) + ",Y=" + Y.ToString(CultureInfo.CurrentCulture) + "}";
commonui\System\Drawing\Printing\Margins.cs (4)
310+ " Left=" + Left.ToString(CultureInfo.InvariantCulture) 311+ " Right=" + Right.ToString(CultureInfo.InvariantCulture) 312+ " Top=" + Top.ToString(CultureInfo.InvariantCulture) 313+ " Bottom=" + Bottom.ToString(CultureInfo.InvariantCulture)
commonui\System\Drawing\Printing\PaperSize.cs (2)
309+ " Height=" + Height.ToString(CultureInfo.InvariantCulture) 310+ " Width=" + Width.ToString(CultureInfo.InvariantCulture)
commonui\System\Drawing\Printing\PrinterResolution.cs (2)
115+ " X=" + X.ToString(CultureInfo.InvariantCulture) 116+ " Y=" + Y.ToString(CultureInfo.InvariantCulture)
commonui\System\Drawing\Printing\PrinterSettings.cs (13)
102(0).ToString(CultureInfo.CurrentCulture))); 196"value", value.ToString(CultureInfo.CurrentCulture), 197(0).ToString(CultureInfo.CurrentCulture))); 342"value", value.ToString(CultureInfo.CurrentCulture), 343(0).ToString(CultureInfo.CurrentCulture))); 359"value", value.ToString(CultureInfo.CurrentCulture), 360(0).ToString(CultureInfo.CurrentCulture))); 619"value", value.ToString(CultureInfo.CurrentCulture), 620(0).ToString(CultureInfo.CurrentCulture))); 1390+ " FromPage=" + FromPage.ToString(CultureInfo.InvariantCulture) 1391+ " LandscapeAngle=" + LandscapeAngle.ToString(CultureInfo.InvariantCulture) 1392+ " MaximumCopies=" + MaximumCopies.ToString(CultureInfo.InvariantCulture) 1394+ " ToPage=" + ToPage.ToString(CultureInfo.InvariantCulture)
commonui\System\Drawing\Rectangle.cs (4)
508return "{X=" + X.ToString(CultureInfo.CurrentCulture) + ",Y=" + Y.ToString(CultureInfo.CurrentCulture) + 509",Width=" + Width.ToString(CultureInfo.CurrentCulture) + 510",Height=" + Height.ToString(CultureInfo.CurrentCulture) + "}";
commonui\System\Drawing\Size.cs (2)
260return "{Width=" + width.ToString(CultureInfo.CurrentCulture) + ", Height=" + height.ToString(CultureInfo.CurrentCulture) + "}";
System.IdentityModel (7)
System\IdentityModel\Diagnostics\DeflateCookieTraceRecord.cs (2)
43writer.WriteElementString( DiagnosticStrings.DeflateCookieOriginalSizeTag, _originalSize.ToString( CultureInfo.InvariantCulture ) ); 44writer.WriteElementString( DiagnosticStrings.DeflateCookieAfterDeflatingTag, _deflatedSize.ToString( CultureInfo.InvariantCulture ) );
System\IdentityModel\Diagnostics\DigestTraceRecordHelper.cs (4)
69writer.WriteElementString(CanonicalElementStringLength, contentAsString.Length.ToString(CultureInfo.InvariantCulture)); 75writer.WriteElementString(CanonicalOctetsLength, contentBuffer.Length.ToString(CultureInfo.InvariantCulture)); 81writer.WriteElementString(CanonicalOctetsHashLength, _hash.Hash.Length.ToString(CultureInfo.InvariantCulture)); 94writer.WriteElementString(Length, key.Length.ToString(CultureInfo.InvariantCulture)); // key length
System\IdentityModel\Metadata\MetadataSerializer.cs (1)
2433writer.WriteAttributeString(Saml2MetadataConstants.Attributes.EndpointIndex, null, indexedEP.Index.ToString(CultureInfo.InvariantCulture));
System.Management (17)
Instrumentation\EventSource.cs (1)
557theObject = InstrumentedAssembly.mapIDToPublishedObject[id.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32)))];
Instrumentation\Instrumentation.cs (2)
392mapIDToPublishedObject.Add(upcountId.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))), o); 413mapIDToPublishedObject.Remove(id.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))));
ManagementDatetime.cs (10)
283 string dmtfDateTime = date.Year.ToString(frmInt32).PadLeft(4,'0'); 285 dmtfDateTime = (dmtfDateTime + date.Month.ToString(frmInt32).PadLeft(2, '0')); 286 dmtfDateTime = (dmtfDateTime + date.Day.ToString(frmInt32).PadLeft(2, '0')); 287 dmtfDateTime = (dmtfDateTime + date.Hour.ToString(frmInt32).PadLeft(2, '0')); 288 dmtfDateTime = (dmtfDateTime + date.Minute.ToString(frmInt32).PadLeft(2, '0')); 289 dmtfDateTime = (dmtfDateTime + date.Second.ToString(frmInt32).PadLeft(2, '0')); 431 string dmtftimespan = timespan.Days.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))).PadLeft(8,'0'); 442 dmtftimespan = (dmtftimespan + timespan.Hours.ToString(frmInt32).PadLeft(2, '0')); 443 dmtftimespan = (dmtftimespan + timespan.Minutes.ToString(frmInt32).PadLeft(2, '0')); 444 dmtftimespan = (dmtftimespan + timespan.Seconds.ToString(frmInt32).PadLeft(2, '0'));
WmiGenerator.cs (4)
828strTemp = strTemp + strToAdd +k.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))); 857strTemp = inString + strToAdd +k.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))); 4898strToAdd = arrIn[i].ToString() + nCurIndex.ToString(formatProv); 4902strToAdd = arrIn[i].ToString() + nCurIndex.ToString(formatProv);
System.Messaging (1)
System\Messaging\Interop\Columns.cs (1)
35throw new InvalidOperationException(Res.GetString(Res.TooManyColumns, this.maxCount.ToString(CultureInfo.CurrentCulture)));
System.Numerics (1)
System\Numerics\BigNumber.cs (1)
530format = String.Format(CultureInfo.InvariantCulture, "D{0}", digits.ToString(CultureInfo.InvariantCulture));
System.Runtime.Caching (1)
System\Caching\Configuration\ConfigUtil.cs (1)
40maxValueAllowed.ToString(CultureInfo.InvariantCulture)), "config");
System.Runtime.Remoting (6)
channels\http\httpserverchannel.cs (1)
459Marshal.GetLastWin32Error().ToString(CultureInfo.InvariantCulture)));
channels\ipc\ipcport.cs (1)
187return String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_UnknownError_Num"), errorCode.ToString(CultureInfo.InvariantCulture));
channels\tcp\tcpserverchannel.cs (1)
400Marshal.GetLastWin32Error().ToString(CultureInfo.CurrentCulture)));
metadata\sdlchannelsink.cs (1)
386sb.Append(port.ToString(CultureInfo.InvariantCulture));
metadata\wsdlparser.cs (1)
6556countStr = (parser.ProxyNamespaceCount).ToString(CultureInfo.InvariantCulture);
metadata\wsdlwriter.cs (1)
2258rankStr = rank.ToString(CultureInfo.InvariantCulture);
System.Runtime.Serialization (43)
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\Json\ByteArrayHelperWithString.cs (1)
55ThrowConversionException(value.ToString(System.Globalization.NumberFormatInfo.CurrentInfo), "Byte");
System\Runtime\Serialization\Json\JsonWriterDelegator.cs (2)
247writer.WriteString((hours < 10) ? "0" + hours : hours.ToString(CultureInfo.InvariantCulture)); 249writer.WriteString((minutes < 10) ? "0" + minutes : minutes.ToString(CultureInfo.InvariantCulture));
System\Runtime\Serialization\SchemaExporter.cs (2)
323nestedLevelAttribute.Value = nestedLevel.ToString(CultureInfo.InvariantCulture); 333typeNestedLevelsAttribute.Value = genericArgumentCounts.Count.ToString(CultureInfo.InvariantCulture);
System\Runtime\Serialization\SchemaImporter.cs (1)
377typeQName = new XmlQualifiedName(typeQName.Name + i.ToString(NumberFormatInfo.InvariantInfo), typeQName.Namespace);
System\Runtime\Serialization\XmlReaderDelegator.cs (5)
372ThrowConversionException(value.ToString(NumberFormatInfo.CurrentInfo), "Char"); 580ThrowConversionException(value.ToString(NumberFormatInfo.CurrentInfo), "Int16"); 599ThrowConversionException(value.ToString(NumberFormatInfo.CurrentInfo), "Byte"); 621ThrowConversionException(value.ToString(NumberFormatInfo.CurrentInfo), "SByte"); 693ThrowConversionException(value.ToString(NumberFormatInfo.CurrentInfo), "UInt16");
System\Runtime\Serialization\XPathQueryGenerator.cs (1)
143prefix = "xg" + (this.nextPrefix++).ToString(NumberFormatInfo.InvariantInfo);
System\Text\Base64Encoding.cs (4)
40throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(SR.GetString(SR.XmlInvalidBase64Length, charCount.ToString(NumberFormatInfo.CurrentInfo)))); 75throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(SR.GetString(SR.XmlInvalidBase64Length, count.ToString(NumberFormatInfo.CurrentInfo)))); 141throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(SR.GetString(SR.XmlInvalidBase64Length, charCount.ToString(NumberFormatInfo.CurrentInfo)))); 222throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(SR.GetString(SR.XmlInvalidBase64Length, charCount.ToString(NumberFormatInfo.CurrentInfo))));
System\Text\BinHexEncoding.cs (1)
52throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(SR.GetString(SR.XmlInvalidBinHexLength, charCount.ToString(NumberFormatInfo.CurrentInfo))));
System\Xml\XmlBaseWriter.cs (3)
501throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.XmlInvalidDepth, "WriteEndElement", depth.ToString(CultureInfo.InvariantCulture)))); 1785prefix = string.Concat("d", depth.ToString(CultureInfo.InvariantCulture), "p", prefixId.ToString(CultureInfo.InvariantCulture));
System\Xml\XmlDictionaryReader.cs (1)
1110XmlExceptionHelper.ThrowConversionOverflow(this, i.ToString(NumberFormatInfo.CurrentInfo), "Int16");
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\Xml\XmlExceptionHelper.cs (10)
133ThrowXmlException(reader, SR.XmlMaxStringContentLengthExceeded, maxStringContentLength.ToString(NumberFormatInfo.CurrentInfo)); 138ThrowXmlException(reader, SR.XmlMaxArrayLengthExceeded, maxArrayLength.ToString(NumberFormatInfo.CurrentInfo)); 143ThrowXmlException(reader, SR.XmlMaxArrayLengthOrMaxItemsQuotaExceeded, maxQuota.ToString(NumberFormatInfo.CurrentInfo)); 148ThrowXmlException(reader, SR.XmlMaxDepthExceeded, maxDepth.ToString(NumberFormatInfo.CurrentInfo)); 153ThrowXmlException(reader, SR.XmlMaxBytesPerReadExceeded, maxBytesPerRead.ToString(NumberFormatInfo.CurrentInfo)); 158ThrowXmlException(reader, SR.XmlMaxNameTableCharCountExceeded, maxNameTableCharCount.ToString(NumberFormatInfo.CurrentInfo)); 253ThrowXmlException(reader, SR.XmlDictionaryStringIDRange, XmlDictionaryString.MinKey.ToString(NumberFormatInfo.CurrentInfo), XmlDictionaryString.MaxKey.ToString(NumberFormatInfo.CurrentInfo)); 258ThrowXmlException(reader, SR.XmlDictionaryStringIDUndefinedStatic, key.ToString(NumberFormatInfo.CurrentInfo)); 263ThrowXmlException(reader, SR.XmlDictionaryStringIDUndefinedSession, key.ToString(NumberFormatInfo.CurrentInfo));
System.ServiceModel (56)
System\ServiceModel\Channels\ConnectionAcceptor.cs (1)
184new StringTraceRecord("MaxPendingConnections", maxPendingConnections.ToString(System.Globalization.CultureInfo.InvariantCulture)),
System\ServiceModel\Channels\ConnectionDemuxer.cs (1)
161new StringTraceRecord("MaxOutboundConnectionsPerEndpoint", maxPooledConnections.ToString(CultureInfo.InvariantCulture)),
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\Channels\FramingDecoders.cs (1)
357return "unknown" + ((int)type).ToString(CultureInfo.InvariantCulture);
System\ServiceModel\Channels\HttpChannelListener.cs (1)
934new StringTraceRecord(WebSocketHelper.MaxPendingConnectionsString, this.WebSocketSettings.MaxPendingConnections.ToString(System.Globalization.CultureInfo.InvariantCulture)),
System\ServiceModel\Channels\MsmqUri.cs (1)
281builder.Append(uri.Port.ToString(CultureInfo.InvariantCulture));
System\ServiceModel\Channels\OneWayChannelListener.cs (1)
846new StringTraceRecord("MaxAcceptedChannels", maxAcceptedChannels.ToString(System.Globalization.CultureInfo.InvariantCulture)),
System\ServiceModel\Channels\PipeConnection.cs (2)
2897error.ToString(CultureInfo.InvariantCulture), 2904error.ToString(CultureInfo.InvariantCulture),
System\ServiceModel\Channels\RedirectionUtility.cs (1)
50string hashString = value + value.GetHashCode().ToString(Globalization.CultureInfo.InvariantCulture);
System\ServiceModel\Channels\UriPrefixTable.cs (1)
339this.SetSegment(port.ToString(CultureInfo.InvariantCulture));
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceSchemas.cs (3)
532this.instanceID.ToString(CultureInfo.CurrentCulture), 533this.managedThreadID.ToString(CultureInfo.CurrentCulture), 534this.unmanagedThreadID.ToString(CultureInfo.CurrentCulture),
System\ServiceModel\ComIntegration\ComPlusThreadInitializer.cs (6)
179instanceID.ToString(CultureInfo.InvariantCulture), 180System.Threading.Thread.CurrentThread.ManagedThreadId.ToString(CultureInfo.InvariantCulture), 181SafeNativeMethods.GetCurrentThreadId().ToString(CultureInfo.InvariantCulture), 239instanceID.ToString(CultureInfo.InvariantCulture), 240System.Threading.Thread.CurrentThread.ManagedThreadId.ToString(CultureInfo.InvariantCulture), 241SafeNativeMethods.GetCurrentThreadId().ToString(CultureInfo.InvariantCulture),
System\ServiceModel\Configuration\ServiceModelEnhancedConfigurationElementCollection.cs (2)
50values.Add("OldElementLineNumber", oldElement.ElementInformation.LineNumber.ToString(NumberFormatInfo.CurrentInfo)); 52values.Add("NewElementLineNumber", element.ElementInformation.LineNumber.ToString(NumberFormatInfo.CurrentInfo));
System\ServiceModel\Configuration\XPathMessageFilterElement.cs (1)
110writer.WriteAttributeString(ConfigurationStrings.NodeQuota, Filter.NodeQuota.ToString(NumberFormatInfo.CurrentInfo));
System\ServiceModel\Description\MessageContractExporter.cs (1)
292partName = partName + i.ToString(CultureInfo.InvariantCulture);
System\ServiceModel\Description\ServiceMetadataExtension.cs (2)
1115query += "=wsdl" + (i++).ToString(System.Globalization.CultureInfo.InvariantCulture); 1127string query = XsdQueryString + "=xsd" + (i++).ToString(System.Globalization.CultureInfo.InvariantCulture);
System\ServiceModel\Description\UniqueCodeIdentifierScope.cs (1)
46uniqueIdentifier = validIdentifier + (i++).ToString(CultureInfo.InvariantCulture);
System\ServiceModel\Description\WsdlExporter.cs (2)
992prefix = prefixBase + i.ToString(CultureInfo.InvariantCulture); 996prefix = prefixBase + (++i).ToString(CultureInfo.InvariantCulture);
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\Diagnostics\ServiceConfigurationTraceRecord.cs (1)
31xml.WriteElementString("ConfigurationFileLineNumber", this.serviceElement.ElementInformation.LineNumber.ToString(CultureInfo.InvariantCulture));
System\ServiceModel\Diagnostics\TraceUtility.cs (1)
861return source.GetType().ToString() + "/" + source.GetHashCode().ToString(CultureInfo.CurrentCulture);
System\ServiceModel\Diagnostics\WsrmTraceRecord.cs (1)
119writer.WriteString(bufferRemaining.ToString(CultureInfo.InvariantCulture));
System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (4)
92val = local + "^" + local.Length.ToString(CultureInfo.InvariantCulture) + ":" + ns + "^" + ns.Length.ToString(CultureInfo.InvariantCulture); 163builder.Append(s.Length.ToString(CultureInfo.InvariantCulture)); 173builder.Append(len.ToString(CultureInfo.InvariantCulture));
System\ServiceModel\Dispatcher\InvokerUtil.cs (1)
260parameterLocals[i] = ilg.DeclareLocal(TypeLoader.GetParameterType(parameters[i]), "param" + i.ToString(CultureInfo.InvariantCulture));
System\ServiceModel\Dispatcher\XPathMessageFilter.cs (2)
615writer.WriteAttributeString(NodeQuotaAttr, this.NodeQuota.ToString(NumberFormatInfo.InvariantInfo)); 659newPrefix = newPrefix + i.ToString(NumberFormatInfo.InvariantInfo);
System\ServiceModel\MsmqException.cs (2)
203error.ToString(CultureInfo.InvariantCulture), 210error.ToString(CultureInfo.InvariantCulture),
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (2)
922sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "KeySize: {0}", this.keySize.ToString(CultureInfo.InvariantCulture))); 938sb.AppendLine(String.Format(CultureInfo.InvariantCulture, " BindingElement[{0}]:", i.ToString(CultureInfo.InvariantCulture)));
System\ServiceModel\Security\Tokens\SupportingTokenParameters.cs (4)
121sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "Endorsing[{0}]", k.ToString(CultureInfo.InvariantCulture))); 130sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "Signed[{0}]", k.ToString(CultureInfo.InvariantCulture))); 139sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "SignedEncrypted[{0}]", k.ToString(CultureInfo.InvariantCulture))); 148sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "SignedEndorsing[{0}]", k.ToString(CultureInfo.InvariantCulture)));
System\ServiceModel\Security\WSTrust.cs (1)
1298result.AppendChild(doc.CreateTextNode(keySize.ToString(System.Globalization.CultureInfo.InvariantCulture.NumberFormat)));
System\UriTemplate.cs (1)
623string originalHostHeader = uri.Host + ((!uri.IsDefaultPort) ? ":" + uri.Port.ToString(CultureInfo.InvariantCulture) : string.Empty);
System.ServiceModel.Activation (3)
System\ServiceModel\Activation\Diagnostics\TraceUtility.cs (1)
48return source.GetType().ToString() + "/" + source.GetHashCode().ToString(CultureInfo.CurrentCulture);
System\ServiceModel\Activation\HostedHttpContext.cs (1)
536this.result.AppendHeader("content-length", contentLength.ToString(CultureInfo.InvariantCulture));
System\ServiceModel\Activation\MetabaseSettings.cs (1)
167string binding = string.Format(CultureInfo.InvariantCulture, ":{0}:{1}", result.OriginalRequestUri.Port.ToString(NumberFormatInfo.InvariantInfo), MetabaseSettings.LocalMachine);
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\FindCriteria.cs (1)
379this.maxResults.ToString(CultureInfo.InvariantCulture));
System.ServiceModel.Internals (5)
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (2)
410msdnTraceCode = eventDescriptor.EventId.ToString(CultureInfo.InvariantCulture); 620DiagnosticTraceBase.ProcessName, DiagnosticTraceBase.ProcessId.ToString(CultureInfo.CurrentCulture));
System\Runtime\Diagnostics\EventLogger.cs (2)
108string invariantProcessId = UnsafeGetProcessId().ToString(CultureInfo.InvariantCulture); 180eventValues.Add("Value" + i.ToString(CultureInfo.InvariantCulture), values[i] == null ? string.Empty : DiagnosticTraceBase.XmlEncode(values[i]));
System\Runtime\Interop\SafeEventLogWriteHandle.cs (1)
33error.ToString(CultureInfo.InvariantCulture));
System.ServiceModel.Routing (6)
System\ServiceModel\Routing\MessageRpc.cs (2)
124this.uniqueID = this.GetHashCode().ToString(CultureInfo.InvariantCulture); 231TD.RoutingServiceMessageRoutedToEndpoints(this.eventTraceActivity, this.UniqueID, endpointLists.Count.ToString(TD.Culture));
System\ServiceModel\Routing\ProcessMessagesAsyncResult.cs (4)
189TD.RoutingServiceTransmittingMessage(messageRpc.EventTraceActivity, messageRpc.UniqueID, this.destinationIndex.ToString(TD.Culture), this.client.Key.ToString()); 292TD.RoutingServiceTransmitSucceeded(messageRpc.EventTraceActivity, messageRpc.UniqueID, this.destinationIndex.ToString(TD.Culture), currentDest.CurrentEndpoint.ToString()); 552TD.RoutingServiceMovedToBackup(messageRpc.EventTraceActivity, messageRpc.UniqueID, this.destinationIndex.ToString(TD.Culture), sendOperation.CurrentEndpoint.ToString()); 617TD.RoutingServiceMovedToBackup(messageRpc.EventTraceActivity, messageRpc.UniqueID, this.destinationIndex.ToString(TD.Culture), sendOperation.CurrentEndpoint.ToString());
System.ServiceModel.Web (3)
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (3)
245prefix = string.Concat("d", context.currentDepthLevel.ToString(System.Globalization.NumberFormatInfo.InvariantInfo)); 525context.writer.WriteString((hours < 10) ? "0" + hours : hours.ToString(CultureInfo.InvariantCulture)); 527context.writer.WriteString((minutes < 10) ? "0" + minutes : minutes.ToString(CultureInfo.InvariantCulture));
System.Transactions (20)
System\Transactions\Oletx\OletxVolatileEnlistment.cs (15)
151this.outstandingNotifications.ToString( CultureInfo.CurrentCulture ) + 153this.incompleteDependentClones.ToString( CultureInfo.CurrentCulture ) + 154", phase = " + this.phase.ToString( CultureInfo.CurrentCulture ); 189this.outstandingNotifications.ToString( CultureInfo.CurrentCulture ) + 190", incompleteDependentClones = " + this.incompleteDependentClones.ToString( CultureInfo.CurrentCulture ); 253this.outstandingNotifications.ToString( CultureInfo.CurrentCulture ) + 255this.incompleteDependentClones.ToString( CultureInfo.CurrentCulture ); 465", phase = " + this.phase.ToString( CultureInfo.CurrentCulture ); 667this.outstandingNotifications.ToString( CultureInfo.CurrentCulture ) + 669this.incompleteDependentClones.ToString( CultureInfo.CurrentCulture ) + 670", phase = " + this.phase.ToString( CultureInfo.CurrentCulture ); 705this.outstandingNotifications.ToString( CultureInfo.CurrentCulture ) + 706", incompleteDependentClones = " + this.incompleteDependentClones.ToString( CultureInfo.CurrentCulture ); 808this.outstandingNotifications.ToString( CultureInfo.CurrentCulture ) + 810this.incompleteDependentClones.ToString( CultureInfo.CurrentCulture );
System\Transactions\Trace\DiagnosticTrace.cs (3)
471return source.GetType().ToString() + "/" + source.GetHashCode().ToString(CultureInfo.CurrentCulture); 478DiagnosticTrace.ProcessId.ToString(CultureInfo.CurrentCulture), 599values["ProcessId"] = DiagnosticTrace.ProcessId.ToString(CultureInfo.CurrentCulture);
System\Transactions\Trace\TraceRecords.cs (2)
73writer.WriteElementString("CloneIdentifier", cloneId.ToString( CultureInfo.CurrentCulture )); 84writer.WriteElementString("EnlistmentIdentifier", enId.EnlistmentIdentifier.ToString( CultureInfo.CurrentCulture ) );
System.Web (258)
Cache\CacheDependency.cs (2)
787sb.Append(oneEntry.GetHashCode().ToString(CultureInfo.InvariantCulture)); 798sb.Append(entry.GetHashCode().ToString(CultureInfo.InvariantCulture));
Cache\SqlCacheDependency.cs (1)
137_uniqueID = _sql7DepInfo._database + ":" + _sql7DepInfo._table + ":" + _sql7ChangeId.ToString(CultureInfo.InvariantCulture);
Compilation\BaseTemplateCodeDomTreeGenerator.cs (4)
629string localVariableRef = _localVariableRef + (localVarIndex++).ToString(CultureInfo.InvariantCulture); 677ctrlBuilder.ControlType.GetHashCode().ToString(CultureInfo.InvariantCulture))); 800localVariableRef = _localVariableRef + (localVarIndex++).ToString(CultureInfo.InvariantCulture); 1604builder.ID = "__control" + _controlCount.ToString(NumberFormatInfo.InvariantInfo);
Compilation\PageThemeCodeDomTreeGenerator.cs (1)
202builder.ID = "__control" + _controlCount.ToString(NumberFormatInfo.InvariantInfo);
Compilation\PreservationFileWriter.cs (1)
49SetAttribute("resultType", ((int)result.GetCode()).ToString(CultureInfo.InvariantCulture));
Configuration\BufferModeSettings.cs (4)
218elem.UrgentFlushThreshold.ToString(CultureInfo.InvariantCulture), 220elem.MaxBufferSize.ToString(CultureInfo.InvariantCulture), 228elem.MaxFlushSize.ToString(CultureInfo.InvariantCulture), 230elem.MaxBufferSize.ToString(CultureInfo.InvariantCulture),
Configuration\CustomErrorCollection.cs (2)
45stringKeys[x] = ((Int32)objAllKeys[x]).ToString(CultureInfo.InvariantCulture); 109return key.ToString(CultureInfo.InvariantCulture);
Configuration\CustomErrorsSection.cs (1)
151CustomError ce = Errors[(string)code.ToString(CultureInfo.InvariantCulture)];
Configuration\HttpCapabilitiesEvaluator.cs (2)
113_cacheKeyPrefix = CacheInternal.PrefixHttpCapabilities + id.ToString(CultureInfo.InvariantCulture); 236hashKey += builder.ToString().GetHashCode().ToString(CultureInfo.InvariantCulture);
Configuration\MachineKeySection.cs (1)
362throw new ConfigurationErrorsException(SR.GetString(SR.Unable_to_get_cookie_authentication_validation_key, strKey.Length.ToString(CultureInfo.InvariantCulture)), ElementInformation.Properties["validationKey"].Source, ElementInformation.Properties["validationKey"].LineNumber);
DataAccess\DataConnectionHelper.cs (1)
222string adaptiveText = currentNumber.ToString(CultureInfo.InvariantCulture) + " " + resourceString;
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();
Hosting\HostingEnvironment.cs (1)
997return "MapPath_" + virtualPath.VirtualPathString.ToLowerInvariant().GetHashCode().ToString(CultureInfo.InvariantCulture);
Hosting\IIS7WorkerRequest.cs (3)
730return(_contentTotalLength).ToString(CultureInfo.InvariantCulture); 828contentLength.ToString(CultureInfo.InvariantCulture)); 1414numBodyFragments.ToString(CultureInfo.InvariantCulture) + " fragments\n");
HttpClientCertificate.cs (1)
203return SecretKeySize.ToString(CultureInfo.InvariantCulture);
HttpResponse.cs (1)
3035return this.StatusCode.ToString(NumberFormatInfo.InvariantInfo) + " " + this.StatusDescription;
HttpRuntime.cs (3)
1060throw new ConfigurationErrorsException(SR.GetString(SR.Thread_pool_limit_must_be_greater_than_minFreeThreads, runtimeConfig.MinFreeThreads.ToString(CultureInfo.InvariantCulture)), 1065throw new ConfigurationErrorsException(SR.GetString(SR.Thread_pool_limit_must_be_greater_than_minFreeThreads, runtimeConfig.MinFreeThreads.ToString(CultureInfo.InvariantCulture)), 1071throw new ConfigurationErrorsException(SR.GetString(SR.Min_free_threads_must_be_under_thread_pool_limits, maxThreads.ToString(CultureInfo.InvariantCulture)),
httpserverutility.cs (1)
1235output.Write(((int)ch).ToString(NumberFormatInfo.InvariantInfo));
Management\EventlogProvider.cs (9)
46dataFields.Add(eventRaised.EventCode.ToString(CultureInfo.InstalledUICulture)); 53dataFields.Add(eventRaised.EventDetailCode.ToString(CultureInfo.InstalledUICulture)); 72dataFields.Add(processEventInfo.ProcessID.ToString(CultureInfo.InstalledUICulture)); 107dataFields.Add(procStats.ThreadCount.ToString(CultureInfo.InstalledUICulture)); 111dataFields.Add(procStats.AppDomainCount.ToString(CultureInfo.InstalledUICulture)); 112dataFields.Add(procStats.RequestsExecuting.ToString(CultureInfo.InstalledUICulture)); 113dataFields.Add(procStats.RequestsQueued.ToString(CultureInfo.InstalledUICulture)); 114dataFields.Add(procStats.RequestsRejected.ToString(CultureInfo.InstalledUICulture)); 162dataFields.Add(threadInfo.ThreadID.ToString(CultureInfo.InstalledUICulture));
Management\MailWebEventProvider.cs (5)
92notificationSequence.ToString(CultureInfo.InstalledUICulture), 93messageSequence.ToString(CultureInfo.InstalledUICulture), 102notificationSequence.ToString(CultureInfo.InstalledUICulture), 103messageSequence.ToString(CultureInfo.InstalledUICulture), 105count.ToString(CultureInfo.InstalledUICulture),
Management\SimpleMailWebEventProvider.cs (8)
84MessageIdDiscard.ToString(CultureInfo.InstalledUICulture), 85discardedSinceLastFlush.ToString(CultureInfo.InstalledUICulture), 100MessageIdEventsToDrop.ToString(CultureInfo.InstalledUICulture), 101eventsToDrop.ToString(CultureInfo.InstalledUICulture))); 133firstEvent.ToString(CultureInfo.InstalledUICulture), 134lastEvent.ToString(CultureInfo.InstalledUICulture), 135eventsInNotif.ToString(CultureInfo.InstalledUICulture), 136eventsInBuffer.ToString(CultureInfo.InstalledUICulture)));
Management\SqlServices.cs (1)
474file, sqlExpt.Number.ToString(CultureInfo.CurrentCulture), sqlExpt.Message),
Management\SqlWebEventProvider.cs (2)
78throw new ConfigurationErrorsException(SR.GetString(SR.Invalid_max_event_details_length, name, _maxEventDetailsLength.ToString(CultureInfo.CurrentCulture))); 204eventsDiscardedByBuffer.ToString(CultureInfo.InstalledUICulture),
Management\TemplatedMailWebEventProvider.cs (5)
136notificationSequence.ToString(CultureInfo.InstalledUICulture), 137messageSequence.ToString(CultureInfo.InstalledUICulture), 345_eventsRemaining.ToString(CultureInfo.InstalledUICulture)); 401_eventsRemaining.ToString(CultureInfo.InstalledUICulture)); 405_eventsRemaining.ToString(CultureInfo.InstalledUICulture));
Management\WebEventCodes.cs (1)
356Debug.Assert(false, "ASP.NET event code " + eventCode.ToString(CultureInfo.InvariantCulture) + " doesn't have message string mapped to it");
Management\WebEvents.cs (19)
241formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_code, EventCode.ToString(CultureInfo.InstalledUICulture))); 248formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_detail_code, EventDetailCode.ToString(CultureInfo.InstalledUICulture))); 331fields.Add(new WebEventFieldData("EventCode", EventCode.ToString(CultureInfo.InstalledUICulture), WebEventFieldType.Int)); 332fields.Add(new WebEventFieldData("EventDetailCode", EventDetailCode.ToString(CultureInfo.InstalledUICulture), WebEventFieldType.Int)); 481eventRaised.EventCode.ToString(CultureInfo.CurrentCulture), 482WebEventCodes.WebExtendedBase.ToString(CultureInfo.CurrentCulture))); 535eventRaised.EventCode.ToString(CultureInfo.InstalledUICulture), 536eventRaised.EventDetailCode.ToString(CultureInfo.InstalledUICulture), 1114fields.Add(new WebEventFieldData("ProcessID", ProcessInformation.ProcessID.ToString(CultureInfo.InstalledUICulture), WebEventFieldType.Int)); 1354formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_inner_exception_information, level.ToString(CultureInfo.InstalledUICulture))); 1462fields.Add(new WebEventFieldData("ThreadID", ThreadInformation.ThreadID.ToString(CultureInfo.InstalledUICulture), WebEventFieldType.Int)); 1561fields.Add(new WebEventFieldData("ThreadID", ThreadInformation.ThreadID.ToString(CultureInfo.InstalledUICulture), WebEventFieldType.Int)); 1860formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_process_id, ProcessID.ToString(CultureInfo.InstalledUICulture))); 2124formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_thread_count, ThreadCount.ToString(CultureInfo.InstalledUICulture))); 2129formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_application_domain_count, AppDomainCount.ToString(CultureInfo.InstalledUICulture))); 2130formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_requests_executing, RequestsExecuting.ToString(CultureInfo.InstalledUICulture))); 2131formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_request_queued, RequestsQueued.ToString(CultureInfo.InstalledUICulture))); 2132formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_request_rejected, RequestsRejected.ToString(CultureInfo.InstalledUICulture))); 2168formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_thread_id, ThreadID.ToString(CultureInfo.InstalledUICulture)));
ModelBinding\CollectionModelBinderUtil.cs (1)
66yield return i.ToString(CultureInfo.InvariantCulture);
ModelBinding\ModelBinderUtil.cs (1)
14return CreateIndexModelName(parentName, index.ToString(CultureInfo.InvariantCulture));
PipelineModuleStepContainer.cs (1)
77"GetStepArray: " + notification.ToString() + " mapped to index " + index.ToString(CultureInfo.InvariantCulture) + "\r\n");
Profile\ProfileModule.cs (2)
260":" + startPos.ToString(CultureInfo.InvariantCulture) + ":" + len.ToString(CultureInfo.InvariantCulture) + ":");
Security\ADMembershipProvider.cs (4)
1210MinRequiredPasswordLength.ToString(CultureInfo.InvariantCulture))); 1227MinRequiredNonAlphanumericCharacters.ToString(CultureInfo.InvariantCulture))); 1633throw new ArgumentException(SR.GetString(SR.Parameter_too_long, "Comment", maxCommentLength.ToString(CultureInfo.InvariantCulture)), "Comment"); 2600throw new ArgumentException(SR.GetString(SR.Parameter_too_long, paramName, maxSize.ToString(CultureInfo.InvariantCulture)), paramName);
Security\AntiXss\SafeList.cs (1)
97return StringToCharArrayWithHashPrefix(value.ToString(CultureInfo.InvariantCulture));
Security\SQLMembershipProvider.cs (2)
564MinRequiredPasswordLength.ToString(CultureInfo.InvariantCulture))); 581MinRequiredNonAlphanumericCharacters.ToString(CultureInfo.InvariantCulture)));
State\OutOfProcStateClientManager.cs (4)
230s_configPartitionResolverType, server, port.ToString(CultureInfo.InvariantCulture)), hr); 396cb.ToString(CultureInfo.InvariantCulture)), 406s_configPartitionResolverType, _partitionInfo.Server, _partitionInfo.Port.ToString(CultureInfo.InvariantCulture))); 421s_configPartitionResolverType, _partitionInfo.Server, _partitionInfo.Port.ToString(CultureInfo.InvariantCulture)));
State\SessionIDManager.cs (1)
199SESSION_ID_LENGTH_LIMIT.ToString(CultureInfo.InvariantCulture), id));
State\StateRuntime.cs (4)
318response.AppendHeader(StateHeaders.LOCKCOOKIE_NAME_RAW, content._lockCookie.ToString(CultureInfo.InvariantCulture)); 328response.AppendHeader(StateHeaders.ACTIONFLAGS_NAME_RAW, flags.ToString(CultureInfo.InvariantCulture)); 484response.AppendHeader(StateHeaders.LOCKCOOKIE_NAME_RAW, (content._lockCookie).ToString(CultureInfo.InvariantCulture)); 488response.AppendHeader(StateHeaders.TIMEOUT_NAME_RAW, (timeout).ToString(CultureInfo.InvariantCulture));
State\StateWorkerRequest.cs (8)
238s = (_contentLength).ToString(CultureInfo.InvariantCulture); 261s = (_timeout).ToString(CultureInfo.InvariantCulture); 266s = (_lockCookie).ToString(CultureInfo.InvariantCulture); 271s = (_extraFlags).ToString(CultureInfo.InvariantCulture); 321ret[i][1] = (_timeout).ToString(CultureInfo.InvariantCulture); 329ret[i][1] = (_lockCookie).ToString(CultureInfo.InvariantCulture); 337ret[i][1] = (_extraFlags).ToString(CultureInfo.InvariantCulture); 348_status.Append((statusCode).ToString(CultureInfo.InvariantCulture) + " " + statusDescription + "\r\n");
StringResourceManager.cs (4)
51"GetModuleHandle", HttpException.HResultFromLastError(Marshal.GetLastWin32Error()).ToString(CultureInfo.InvariantCulture))); 58"FindResource", HttpException.HResultFromLastError(Marshal.GetLastWin32Error()).ToString(CultureInfo.InvariantCulture))); 66"LoadResource", HttpException.HResultFromLastError(Marshal.GetLastWin32Error()).ToString(CultureInfo.InvariantCulture))); 72"LockResource", HttpException.HResultFromLastError(Marshal.GetLastWin32Error()).ToString(CultureInfo.InvariantCulture)));
UI\Control.cs (3)
314predictableIDSuffix = ID_RENDER_SEPARATOR + index.ToString(CultureInfo.InvariantCulture); 1657_id = automaticLegacyIDPrefix + idNo.ToString(NumberFormatInfo.InvariantInfo); 1664_id = automaticIDPrefix + idNo.ToString(NumberFormatInfo.InvariantInfo);
UI\Html32TextWriter.cs (1)
253return((int)(fu.Type)-3).ToString(CultureInfo.InvariantCulture);
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 (7)
1070if (i > 0) key += i.ToString(CultureInfo.InvariantCulture); 2231string value = viewStateChunks.Count.ToString(CultureInfo.InvariantCulture); 2249countString = count.ToString(CultureInfo.InvariantCulture); 2312ClientScript.RegisterHiddenField(_scrollPositionXID, _scrollPositionX.ToString(CultureInfo.InvariantCulture)); 2313ClientScript.RegisterHiddenField(_scrollPositionYID, _scrollPositionY.ToString(CultureInfo.InvariantCulture)); 5405Response.Write(validation.Length.ToString(CultureInfo.InvariantCulture)); 5513Pair allSavedViewState = new Pair(GetTypeHashCode().ToString(NumberFormatInfo.InvariantInfo), SaveViewStateRecursive(inheritedMode));
UI\PageAdapter.cs (1)
241if (count > 0) writer.Write(count.ToString(CultureInfo.CurrentCulture));
UI\PageParser.cs (1)
413_lcid.ToString(CultureInfo.InvariantCulture), "lcid"));
UI\PageParserFilter.cs (3)
185throw new HttpException(SR.GetString(SR.Too_many_controls, _numberOfControlsAllowed.ToString(CultureInfo.CurrentCulture))); 202_dependenciesAllowed.ToString(CultureInfo.CurrentCulture))); 219_directDependenciesAllowed.ToString(CultureInfo.CurrentCulture)));
UI\TemplateParser.cs (1)
1572_id = "_ctrl_" + _controlCount.ToString(NumberFormatInfo.InvariantInfo);
UI\WebControls\Adapters\MenuAdapter.cs (2)
429(_currentAccessKey++).ToString(CultureInfo.InvariantCulture) : 477(_currentAccessKey++).ToString(CultureInfo.InvariantCulture) :
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\BulletedList.cs (2)
361writer.AddAttribute("start", firstBulletNumber.ToString(CultureInfo.InvariantCulture)); 420writer.AddAttribute(HtmlTextWriterAttribute.Href, GetPostBackEventReference(index.ToString(CultureInfo.InvariantCulture)));
UI\WebControls\ButtonField.cs (1)
252button.CommandArgument = rowIndex.ToString(CultureInfo.InvariantCulture);
UI\WebControls\Calendar.cs (8)
1119string eventArgument = absoluteDay.ToString(CultureInfo.InvariantCulture); 1385string monthSelectKey = SELECT_RANGE_COMMAND + ((startOffset * 100) + monthLength).ToString(CultureInfo.InvariantCulture); 1540string weekSelectKey = SELECT_RANGE_COMMAND + dayDiffParameter.ToString(CultureInfo.InvariantCulture); 1545selectWeekTitle = SR.GetString(SR.Calendar_SelectWeekTitle, weekOfMonth.ToString(CultureInfo.InvariantCulture)); 1627dayContent.Text = GetCalendarButtonText(absoluteDay.ToString(CultureInfo.InvariantCulture), 1647RenderCalendarCell(writer, cellStyle, dayNumberText, dayTitle, daysSelectable, absoluteDay.ToString(CultureInfo.InvariantCulture)); 1722string prevMonthKey = NAVIGATE_MONTH_COMMAND + (prevMonthDate.Subtract(baseDate)).Days.ToString(CultureInfo.InvariantCulture); 1784string nextMonthKey = NAVIGATE_MONTH_COMMAND + (nextMonthDate.Subtract(baseDate)).Days.ToString(CultureInfo.InvariantCulture);
UI\WebControls\CheckBox.cs (1)
570writer.AddAttribute(HtmlTextWriterAttribute.Tabindex, i.ToString(NumberFormatInfo.InvariantInfo));
UI\WebControls\CommandField.cs (1)
544button.CommandArgument = rowIndex.ToString(CultureInfo.InvariantCulture);
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 (2)
216string eventArgument = hotSpotIndex.ToString(CultureInfo.InvariantCulture); 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\MenuRendererStandards.cs (2)
128ulDynamic.AddStyle(HtmlTextWriterStyle.MarginLeft, Menu.DynamicHorizontalOffset.ToString(CultureInfo.InvariantCulture) + "px"); 132ulDynamic.AddStyle(HtmlTextWriterStyle.MarginTop, Menu.DynamicVerticalOffset.ToString(CultureInfo.InvariantCulture) + "px");
UI\WebControls\ObjectDataSource.cs (5)
795sb.Append(startRowIndex.ToString(CultureInfo.InvariantCulture)); 797sb.Append(maximumRows.ToString(CultureInfo.InvariantCulture)); 818sb.Append(GetType().GetHashCode().ToString(CultureInfo.InvariantCulture)); 820sb.Append(CacheDuration.ToString(CultureInfo.InvariantCulture)); 822sb.Append(((int)CacheExpirationPolicy).ToString(CultureInfo.InvariantCulture));
UI\WebControls\ParameterCollection.cs (1)
193uniqueName = param.Name + count.ToString(CultureInfo.InvariantCulture);
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\SqlDataSource.cs (5)
797sb.Append(startRowIndex.ToString(CultureInfo.InvariantCulture)); 799sb.Append(maximumRows.ToString(CultureInfo.InvariantCulture)); 871sb.Append(GetType().GetHashCode().ToString(CultureInfo.InvariantCulture)); 873sb.Append(CacheDuration.ToString(CultureInfo.InvariantCulture)); 875sb.Append(((int)CacheExpirationPolicy).ToString(CultureInfo.InvariantCulture));
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\TreeNode.cs (5)
758string indexString = Index.ToString(CultureInfo.InvariantCulture); 818Index.ToString(CultureInfo.InvariantCulture) + "," + 826Index.ToString(CultureInfo.InvariantCulture) + "," + 926writer.AddStyleAttribute(HtmlTextWriterStyle.Width, _owner.NodeIndent.ToString(CultureInfo.InvariantCulture) + "px"); 945writer.Write("<div style=\"width:" + _owner.NodeIndent.ToString(CultureInfo.InvariantCulture) + "px;height:1px\">");
UI\WebControls\TreeView.cs (2)
2820string name = ClientID + "_" + _cssStyleIndex++.ToString(NumberFormatInfo.InvariantInfo); 3328result = lastIndex.ToString(CultureInfo.InvariantCulture) + "|" + expandState.ToString() + "|" + stringWriter.ToString();
UI\WebControls\Unit.cs (1)
367valuePart = ((int)value).ToString(formatProvider);
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\WebControls\XmlDataSource.cs (3)
377sb.Append(GetType().GetHashCode().ToString(CultureInfo.InvariantCulture)); 379sb.Append(CacheDuration.ToString(CultureInfo.InvariantCulture)); 381sb.Append(((int)CacheExpirationPolicy).ToString(CultureInfo.InvariantCulture));
UI\WebParts\AppearanceEditorPart.cs (14)
106_heightErrorMessage = SR.GetString(SR.EditorPart_PropertyMinValue, MinUnitValue.ToString(CultureInfo.CurrentCulture)); 109_heightErrorMessage = SR.GetString(SR.EditorPart_PropertyMaxValue, MaxUnitValue.ToString(CultureInfo.CurrentCulture)); 138_widthErrorMessage = SR.GetString(SR.EditorPart_PropertyMinValue, MinUnitValue.ToString(CultureInfo.CurrentCulture)); 141_widthErrorMessage = SR.GetString(SR.EditorPart_PropertyMaxValue, MaxUnitValue.ToString(CultureInfo.CurrentCulture)); 325_type.SelectedValue = ((int)value.Type).ToString(CultureInfo.InvariantCulture); 339((int)UnitType.Pixel).ToString(CultureInfo.InvariantCulture))); 341((int)UnitType.Point).ToString(CultureInfo.InvariantCulture))); 343((int)UnitType.Pica).ToString(CultureInfo.InvariantCulture))); 345((int)UnitType.Inch).ToString(CultureInfo.InvariantCulture))); 347((int)UnitType.Mm).ToString(CultureInfo.InvariantCulture))); 349((int)UnitType.Cm).ToString(CultureInfo.InvariantCulture))); 351((int)UnitType.Percentage).ToString(CultureInfo.InvariantCulture))); 353((int)UnitType.Em).ToString(CultureInfo.InvariantCulture))); 355((int)UnitType.Ex).ToString(CultureInfo.InvariantCulture)));
UI\WebParts\CatalogZoneBase.cs (1)
596string text = displayTitle + " (" + count.ToString(CultureInfo.CurrentCulture) + ")";
UI\WebParts\LayoutEditorPart.cs (2)
114_zoneIndexErrorMessage = SR.GetString(SR.EditorPart_PropertyMinValue, MinZoneIndex.ToString(CultureInfo.CurrentCulture)); 266_zoneIndex.Text = webPart.ZoneIndex.ToString(CultureInfo.CurrentCulture);
UI\WebParts\PersonalizationAdministration.cs (2)
123throw new HttpException(SR.GetString(SR.PersonalizationAdmin_UnexpectedResetSharedStateReturnValue, count.ToString(CultureInfo.CurrentCulture))); 152throw new HttpException(SR.GetString(SR.PersonalizationAdmin_UnexpectedResetUserStateReturnValue, count.ToString(CultureInfo.CurrentCulture)));
UI\WebParts\PersonalizationProviderHelper.cs (2)
41str, paramName, lengthToCheck.ToString(CultureInfo.CurrentCulture))); 86returnedValue.ToString(CultureInfo.CurrentCulture),
UI\WebParts\SqlPersonalizationProvider.cs (2)
55throw new ProviderException(SR.GetString(SR.PersonalizationProvider_ApplicationNameExceedMaxLength, maxStringLength.ToString(CultureInfo.CurrentCulture))); 464throw new ProviderException(SR.GetString(SR.PersonalizationProvider_ApplicationNameExceedMaxLength, maxStringLength.ToString(CultureInfo.CurrentCulture)));
UI\WebParts\WebPartChrome.cs (2)
253string name = Zone.ClientID + "_" + _cssStyleIndex++.ToString(NumberFormatInfo.InvariantInfo); 429((int)webPart.HelpMode).ToString(CultureInfo.InvariantCulture) +
UI\WebParts\WebPartManager.cs (3)
1881displayTitle += " [" + count.ToString(CultureInfo.CurrentCulture) + "]"; 1928return DynamicConnectionIDPrefix + guidHash.ToString(CultureInfo.InvariantCulture); 1941string id = DynamicWebPartIDPrefix + guidHash.ToString(CultureInfo.InvariantCulture);
UI\WebParts\WebPartMenu.cs (2)
98string name = _menuUser.ClientID + "__Menu_" + _cssStyleIndex++.ToString(NumberFormatInfo.InvariantInfo); 252((int)associatedWebPart.HelpMode).ToString(CultureInfo.InvariantCulture) + ")");
UI\WebParts\WebPartZoneBase.cs (1)
258index.ToString(CultureInfo.CurrentCulture));
UI\WebParts\WebZone.cs (2)
361writer.AddAttribute(HtmlTextWriterAttribute.Cellpadding, padding.ToString(CultureInfo.InvariantCulture)); 396writer.AddAttribute(HtmlTextWriterAttribute.Cellpadding, Padding.ToString(CultureInfo.InvariantCulture));
Util\FileUtil.cs (1)
138path.GetHashCode().ToString(CultureInfo.InvariantCulture);
Util\Misc.cs (1)
52string pid = SafeNativeMethods.GetCurrentProcessId().ToString(CultureInfo.InstalledUICulture);
Util\SecUtil.cs (4)
123throw new ArgumentException(SR.GetString(SR.Parameter_too_long, paramName, maxSize.ToString(CultureInfo.InvariantCulture)), paramName); 142throw new ArgumentException(SR.GetString(SR.Parameter_too_long, paramName, maxSize.ToString(CultureInfo.InvariantCulture)), paramName); 162paramName + "[ " + i.ToString(CultureInfo.InvariantCulture) + " ]"); 212throw new ProviderException(SR.GetString(SR.Value_too_big, valueName, maxValueAllowed.ToString(CultureInfo.InvariantCulture)));
Util\StringUtil.cs (1)
49paramValue, paramName, lengthToCheck.ToString(CultureInfo.InvariantCulture)));
WorkerRequest.cs (1)
461return GetLocalPort().ToString(NumberFormatInfo.InvariantInfo);
System.Web.DataVisualization (63)
Common\Annotation\AnnotationBase.cs (1)
3361 pointIndex.ToString(CultureInfo.InvariantCulture);
Common\ChartTypes\BarChart.cs (3)
473 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture) ))); 1162throw (new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 1391 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\BoxPlotChart.cs (2)
326 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 1107 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\BubbleChart.cs (2)
178 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 283throw (new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\ColumnChart.cs (1)
1315 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name,this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\ErrorBarChart.cs (3)
454 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 1100 throw(new ArgumentException(SR.ExceptionChartTypeRequiresYValues( ChartTypeNames.ErrorBar, ((int)(3)).ToString(CultureInfo.CurrentCulture)))); 1208 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues( this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\KagiChart.cs (4)
153series["OldYValuesPerPoint"] = series.YValuesPerPoint.ToString(CultureInfo.InvariantCulture); 375newDataPoint["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture); 414 series.Points[series.Points.Count - 1]["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture); 427newDataPoint["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture);
Common\ChartTypes\PieChart.cs (1)
414 dataPoint["OriginalPointIndex"] = originalDataPointIndex.ToString(CultureInfo.InvariantCulture);
Common\ChartTypes\PointAndFigureChart.cs (5)
177 series["OldYValuesPerPoint"] = series.YValuesPerPoint.ToString(CultureInfo.InvariantCulture); 336 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(ChartTypeNames.PointAndFigure, ((int)(2)).ToString(CultureInfo.CurrentCulture)))); 651 series.Points[series.Points.Count - 1]["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture); 657series.Points[series.Points.Count - 1]["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture); 664 newDataPoint["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture);
Common\ChartTypes\PointChart.cs (1)
1498throw (new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\RenkoChart.cs (2)
156 series["OldYValuesPerPoint"] = series.YValuesPerPoint.ToString(CultureInfo.InvariantCulture); 479 newDataPoint["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture);
Common\ChartTypes\ThreeLineBreakChart.cs (2)
157 series["OldYValuesPerPoint"] = series.YValuesPerPoint.ToString(CultureInfo.InvariantCulture); 457 newDataPoint["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture);
Common\Converters\AnnotationConverters.cs (1)
85return dataPoint.series.Name + " - " + SR.DescriptionTypePoint + pointIndex.ToString(CultureInfo.InvariantCulture);
Common\Converters\CustomAttributesConverters.cs (1)
708 return ((int)value).ToString(System.Globalization.CultureInfo.InvariantCulture);
Common\DataManager\DataPoint.cs (7)
200 throw(new ArgumentException( SR.ExceptionDataPointConverterUnavailableSorting(sortBy, series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture) ), "sortBy")); 419throw (new ArgumentOutOfRangeException("yFields", SR.ExceptionDataPointYValuesCountMismatch(series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture)))); 616 throw(new ArgumentOutOfRangeException("yValues", SR.ExceptionDataPointYValuesBindingCountMismatch( series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture) ) ) ); 788throw new ArgumentOutOfRangeException("yFields", SR.ExceptionDataPointYValuesCountMismatch(series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture))); 797throw new ArgumentOutOfRangeException("yFields", SR.ExceptionDataPointYValuesCountMismatch(series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture))); 2188 throw(new ArgumentOutOfRangeException("yValue", SR.ExceptionDataPointYValuesSettingCountMismatch(base.series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture)))); 2468 result = result.Replace(KeywordName.Index, this.series.Points.IndexOf(this).ToString(System.Globalization.CultureInfo.InvariantCulture));
Common\DataManager\DataSeries.cs (9)
659throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("PixelPointDepth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 689throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("PixelPointGapDepth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 758throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("MinPixelPointWidth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 813throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("PixelPointWidth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 1073 throw(new InvalidOperationException( SR.ExceptionDataSeriesYValueIndexNotExists(yValueIndex.ToString(CultureInfo.InvariantCulture), this.Name ) ) );
Common\Formulas\PriceIndicators.cs (2)
96 parList[0] = period.ToString(System.Globalization.CultureInfo.InvariantCulture); 274 parList[0] = period.ToString(System.Globalization.CultureInfo.InvariantCulture);
Common\Formulas\TimeSeriesAndForecasting.cs (1)
199throw new InvalidOperationException(SR.ExceptionForecastingNotEnoughDataPoints(degree.ToString(System.Globalization.CultureInfo.InvariantCulture)));
Common\General\BaseCollections.cs (1)
378result = prefix + i.ToString(CultureInfo.InvariantCulture);
Common\General\Chart.cs (1)
804 throw(new ArgumentOutOfRangeException("dataSource", SR.ExceptionDataPointYValuesCountMismatch(series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture) ) ) );
Common\General\DataManipulator.cs (3)
433 point["_Index"] = pointIndex.ToString(System.Globalization.CultureInfo.InvariantCulture); 1004 seriesTable.Columns.Add("Y" + (yIndex + 1).ToString(System.Globalization.CultureInfo.InvariantCulture), columnType); 1064 dataRow["Y" + (yIndex + 1).ToString(System.Globalization.CultureInfo.InvariantCulture)] = yValue;
Common\General\Statistics.cs (6)
574 parameter += "," + firstDegreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 575 parameter += "," + secondDegreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 616 parameter += "," + firstDegreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 617 parameter += "," + secondDegreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 658 parameter += "," + degreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 707 parameter += "," + degreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture);
Common\General\Title.cs (2)
492throw (new ArgumentOutOfRangeException("value", SR.ExceptionValueMustBeInRange("DockingOffset", (-100).ToString(CultureInfo.CurrentCulture), (100).ToString(CultureInfo.CurrentCulture))));
Common\Utilities\XmlSerializer.cs (1)
1494attrib.Value = itemIndex.ToString(CultureInfo.InvariantCulture);
WebForm\ChartWebControl.cs (1)
908eventLog.WriteEntry(SR.EvenLogMessageChartImageFileTimeToLive(timeSpan.Minutes.ToString(CultureInfo.InvariantCulture)), EventLogEntryType.Warning);
System.Web.DynamicData (1)
DynamicData\FieldTemplateUserControl.cs (1)
505converter = val => Convert.ToInt32(val, CultureInfo.InvariantCulture).ToString(CultureInfo.InvariantCulture);
System.Web.Entity (3)
System\Data\WebControls\EntityDataSourceQueryBuilder.cs (2)
137queryT = queryT.Skip(orderByClause, _arguments.StartRowIndex.ToString(CultureInfo.InvariantCulture), orderByParameters).Top(_arguments.MaximumRows.ToString(CultureInfo.InvariantCulture), QueryBuilderUtils.EmptyObjectParameters);
System\Data\WebControls\EntityDataSourceView.cs (1)
819string namedParameterName = "NamedParameter" + idx.ToString(CultureInfo.InvariantCulture);
System.Web.Extensions (19)
Globalization\ClientCultureInfo.cs (1)
128script += "\r\n__cultureInfo.dateTimeFormat.Calendar._adjustment = " + clientCultureInfo._adjustment.ToString(CultureInfo.InvariantCulture) + ";";
Handlers\ScriptModule.cs (1)
99httpCode.ToString(CultureInfo.InvariantCulture),
UI\PageRequestManager.cs (3)
146writer.Write(content.Length.ToString(CultureInfo.InvariantCulture)); 777EncodeString(writer, AsyncPostBackTimeoutToken, String.Empty, _owner.AsyncPostBackTimeout.ToString(CultureInfo.InvariantCulture)); 840writer.Write(_owner.AsyncPostBackTimeout.ToString(CultureInfo.InvariantCulture));
UI\ScriptManager.cs (1)
1086return "UniqueScript_" + _uniqueScriptCounter.ToString(CultureInfo.InvariantCulture);
UI\Timer.cs (1)
133return "[" + ((Enabled) ? "true" : "false") + "," + Interval.ToString(CultureInfo.InvariantCulture) + "]";
UI\WebControls\DataPager.cs (1)
356return _queryStringNavigateUrl + pageNumber.ToString(CultureInfo.InvariantCulture);
UI\WebControls\Dynamic.cs (1)
670AddSymbol("@" + i.ToString(CultureInfo.InvariantCulture), value);
UI\WebControls\ListView.cs (1)
1385control.ID = _automaticIDPrefix + _autoIDIndex++.ToString(CultureInfo.InvariantCulture);
UI\WebControls\NextPreviousPagerField.cs (1)
505button.CommandArgument = fieldIndex.ToString(CultureInfo.InvariantCulture);
UI\WebControls\NumericPagerField.cs (8)
348link.Text = pageNumber.ToString(CultureInfo.InvariantCulture); 420container.Controls.Add(CreateNextPrevButton(PreviousPageText, DataControlCommands.PreviousPageCommandArgument, fieldIndex.ToString(CultureInfo.InvariantCulture), PreviousPageImageUrl)); 427pageNumber.Text = (i + firstButtonIndex + 1).ToString(CultureInfo.InvariantCulture); 434container.Controls.Add(CreateNumericButton((i + firstButtonIndex + 1).ToString(CultureInfo.InvariantCulture), fieldIndex.ToString(CultureInfo.InvariantCulture), (i + firstButtonIndex).ToString(CultureInfo.InvariantCulture))); 441container.Controls.Add(CreateNextPrevButton(NextPageText, DataControlCommands.NextPageCommandArgument, fieldIndex.ToString(CultureInfo.InvariantCulture), NextPageImageUrl)); 462pageNumber.Text = (i + firstButtonIndex + 1).ToString(CultureInfo.InvariantCulture);
System.Web.Mobile (93)
Mobile\MobileCapabilities.cs (1)
159String hashKey = ((currentFilters == null) ? "null" : currentFilters.GetHashCode().ToString(CultureInfo.InvariantCulture))
Mobile\MobileErrorInfo.cs (2)
71this.LineNumber = error.Line.ToString(CultureInfo.InvariantCulture); 91this.LineNumber = parseException.Line.ToString(CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (6)
361OptionPrompt.ToString(CultureInfo.InvariantCulture), 829HandlePostBackEvent(TypeDateDone.ToString(CultureInfo.InvariantCulture)); 838HandlePostBackEvent(SecondaryUIMode.ToString(CultureInfo.InvariantCulture)); 876HandlePostBackEvent(Done.ToString(CultureInfo.InvariantCulture)); 901HandlePostBackEvent(Done.ToString(CultureInfo.InvariantCulture)); 918HandlePostBackEvent(Done.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\ChtmlFormAdapter.cs (1)
144writer.Write(pageToNavigate.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\ChtmlSelectionListAdapter.cs (1)
97writer.Write(item.Index.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\HtmlFormAdapter.cs (1)
349RenderPostBackEventAsAnchor(writer, pageToNavigate.ToString(CultureInfo.InvariantCulture),
UI\MobileControls\Adapters\HtmlListAdapter.cs (1)
162RenderPostBackEventAsAttribute(writer, "href", item.Index.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\HtmlObjectListAdapter.cs (4)
215item.Index.ToString(CultureInfo.InvariantCulture) : 216String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index.ToString(CultureInfo.InvariantCulture)); 305item.Index.ToString(CultureInfo.InvariantCulture) : 524writer.Write(columnSpan.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\HtmlSelectionListAdapter.cs (3)
95writer.WriteAttribute("size", Control.Rows.ToString(CultureInfo.InvariantCulture)); 317writer.WriteAttribute("value", index.ToString(CultureInfo.InvariantCulture)); 341writer.WriteHiddenField(uniqueID, i.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\HtmlTextBoxAdapter.cs (2)
63writer.WriteAttribute("size", Control.Size.ToString(CultureInfo.InvariantCulture)); 67writer.WriteAttribute("maxlength", Control.MaxLength.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\UpWmlMobileTextWriter.cs (2)
175ufps += (SessionCount + 1).ToString(CultureInfo.InvariantCulture); 1146String nextCardId = "card" + (_currentCardIndex + 1).ToString(CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (6)
348OptionPrompt.ToString(CultureInfo.InvariantCulture), 426TypeDateDone.ToString(CultureInfo.InvariantCulture), 810HandlePostBackEvent(SecondaryUIMode.ToString(CultureInfo.InvariantCulture)); 848HandlePostBackEvent(Done.ToString(CultureInfo.InvariantCulture)); 873HandlePostBackEvent(Done.ToString(CultureInfo.InvariantCulture)); 890HandlePostBackEvent(Done.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\WmlFormAdapter.cs (2)
137(page + 1).ToString(CultureInfo.InvariantCulture), 149(page - 1).ToString(CultureInfo.InvariantCulture),
UI\MobileControls\Adapters\WmlListAdapter.cs (1)
86RenderPostBackEvent(writer, item.Index.ToString(CultureInfo.InvariantCulture), null, true, item.Text, true);
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (3)
376WriteAttribute("size", size.ToString(CultureInfo.InvariantCulture)); 380WriteAttribute("maxlength", maxLength.ToString(CultureInfo.InvariantCulture)); 1515shortName = String.Concat(_shortNamePrefix, shortName, _controlShortNames.Count.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\WmlObjectListAdapter.cs (3)
156writer.Write(fieldCount.ToString(CultureInfo.InvariantCulture)); 183item.Index.ToString(CultureInfo.InvariantCulture), 215item.Index.ToString(CultureInfo.InvariantCulture),
UI\MobileControls\Adapters\WmlSelectionListAdapter.cs (2)
73ivalue.Append((firstSelectedIndex + 1).ToString(CultureInfo.InvariantCulture)); 81ivalue.Append((i + 1).ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (6)
314OptionPrompt.ToString(CultureInfo.InvariantCulture), 737HandlePostBackEvent(TypeDateDone.ToString(CultureInfo.InvariantCulture)); 745HandlePostBackEvent(SecondaryUIMode.ToString(CultureInfo.InvariantCulture)); 778HandlePostBackEvent(Done.ToString(CultureInfo.InvariantCulture)); 800HandlePostBackEvent(Done.ToString(CultureInfo.InvariantCulture)); 815HandlePostBackEvent(Done.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicFormAdapter.cs (1)
360writer.Write(pageToNavigate.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicListAdapter.cs (1)
123item.Index.ToString(CultureInfo.InvariantCulture) /*event argument*/,
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicObjectListAdapter.cs (4)
493item.Index.ToString(CultureInfo.InvariantCulture) : 569String eventArgument = HasDefaultCommand() ? item.Index.ToString(CultureInfo.InvariantCulture) : String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index.ToString(CultureInfo.InvariantCulture)); 631additionalAttributes["colspan"] = columnSpan.ToString(CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicSelectionListAdapter.cs (4)
78builder.Append(i.ToString(CultureInfo.InvariantCulture)); 229writer.WriteAttribute ("size", Control.Rows.ToString(CultureInfo.InvariantCulture)); 259writer.WriteAttribute ("value", index.ToString(CultureInfo.InvariantCulture)); 278writer.WriteHiddenField(uniqueID, i.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicTextBoxAdapter.cs (2)
66writer.WriteAttribute("size", Control.Size.ToString(CultureInfo.InvariantCulture)); 70writer.WriteAttribute("maxlength", Control.MaxLength.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlMobileTextWriter.cs (2)
528_cacheKey = styleText.GetHashCode ().ToString (CultureInfo.InvariantCulture); 547_sessionKey = XhtmlConstants.SessionKeyPrefix + styleText.GetHashCode ().ToString (CultureInfo.InvariantCulture);
UI\MobileControls\Design\Adapters\DesignerAdRotatorAdapter.cs (1)
41width = maxWidth.ToString(CultureInfo.InvariantCulture) + "px";
UI\MobileControls\Design\Adapters\DesignerCommandAdapter.cs (2)
156width = maxWidth.ToString(CultureInfo.InvariantCulture) + "px"; 184width = maxWidth.ToString(CultureInfo.InvariantCulture) + "px";
UI\MobileControls\Design\Adapters\DesignerImageAdapter.cs (1)
42width = maxWidth.ToString(CultureInfo.InvariantCulture) + "px";
UI\MobileControls\Design\Adapters\DesignerLabelAdapter.cs (1)
48width = maxWidth.ToString(CultureInfo.InvariantCulture) + "px";
UI\MobileControls\Design\Adapters\DesignerLinkAdapter.cs (1)
46width = maxWidth.ToString(CultureInfo.InvariantCulture) + "px";
UI\MobileControls\Design\Adapters\DesignerTextBoxAdapter.cs (1)
164writer.WriteAttribute("size", fittingSize.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Design\Adapters\DesignerTextViewAdapter.cs (1)
53width = maxWidth.ToString(CultureInfo.InvariantCulture) + "px";
UI\MobileControls\Design\Adapters\DesignerTextWriter.cs (1)
74width = maxWidth.ToString(CultureInfo.InvariantCulture) + "px";
UI\MobileControls\Design\Adapters\DesignerValidationSummaryAdapter.cs (2)
49width = maxWidth.ToString(CultureInfo.InvariantCulture) + "px"; 71writer.Write(SR.GetString(SR.ValidationSummary_ErrorMessage, i.ToString(CultureInfo.InvariantCulture)));
UI\MobileControls\Design\Adapters\DesignerValidatorAdapter.cs (1)
48width = maxWidth.ToString(CultureInfo.InvariantCulture) + "px";
UI\MobileControls\Design\Constants.cs (1)
25ControlSizeAtToplevelInNonErrorMode = ControlMaxsizeAtToplevel.ToString(CultureInfo.InvariantCulture) + "px";
UI\MobileControls\Design\ListComponentEditorPage.cs (2)
128while (NameExists(DefaultName + i.ToString(CultureInfo.InvariantCulture))) 132return DefaultName + i.ToString(CultureInfo.InvariantCulture);
UI\MobileControls\Design\ListGeneralPage.cs (6)
236_itemCountTextBox.Text = list.ItemCount.ToString(CultureInfo.InvariantCulture); 237_itemsPerPageTextBox.Text = list.ItemsPerPage.ToString(CultureInfo.InvariantCulture); 275_rowsTextBox.Text = selectionList.Rows.ToString(CultureInfo.InvariantCulture); 335_itemCountTextBox.Text = list.ItemCount.ToString(CultureInfo.InvariantCulture); 350_itemsPerPageTextBox.Text = list.ItemsPerPage.ToString(CultureInfo.InvariantCulture); 391_rowsTextBox.Text = selectionList.Rows.ToString(CultureInfo.InvariantCulture);
UI\MobileControls\Design\ObjectListGeneralPage.cs (4)
163_txtItemCount.Text = objectList.ItemCount.ToString(CultureInfo.InvariantCulture); 164_txtItemsPerPage.Text = objectList.ItemsPerPage.ToString(CultureInfo.InvariantCulture); 209_txtItemCount.Text = objectList.ItemCount.ToString(CultureInfo.InvariantCulture); 224_txtItemsPerPage.Text = objectList.ItemsPerPage.ToString(CultureInfo.InvariantCulture);
UI\MobileControls\Design\PanelDesigner.cs (1)
171SetBehaviorStyle("width", ValidContainment? "100%" : GetDefaultSize().Width.ToString(CultureInfo.InvariantCulture) + "px");
UI\MobileControls\Design\StylesEditorDialog.cs (2)
489while (StyleIndex(newStyleID + i.ToString(CultureInfo.InvariantCulture)) >= 0) 493return newStyleID + i.ToString(CultureInfo.InvariantCulture);
UI\MobileControls\MobileControlsSectionHelper.cs (1)
26config["sessionStateHistorySize"] = controlSection.SessionStateHistorySize.ToString(CultureInfo.InvariantCulture);
UI\MobileControls\MobilePage.cs (2)
1184new Triplet(GetTypeHashCode().ToString(CultureInfo.InvariantCulture), 1211state = new Pair(null, new Triplet(GetTypeHashCode().ToString(CultureInfo.InvariantCulture), null, null));
UI\MobileControls\SessionViewState.cs (1)
215item.Id = _currentHistoryID.ToString(CultureInfo.InvariantCulture);
System.Web.Services (11)
System\Web\Services\Description\MimeFormatExtensions.cs (1)
184get { return repeats == int.MaxValue ? "*" : repeats.ToString(CultureInfo.InvariantCulture); }
System\Web\Services\Description\ServiceDescription.cs (4)
62warnings.Add(Res.GetString(Res.WsdlInstanceValidationDetails, args.Message, args.Exception.LineNumber.ToString(CultureInfo.InvariantCulture), args.Exception.LinePosition.ToString(CultureInfo.InvariantCulture))); 446ns.Add("s" + i.ToString(CultureInfo.InvariantCulture), tns); 452ns.Add("i" + i.ToString(CultureInfo.InvariantCulture), import.Namespace);
System\Web\Services\Description\WebReferenceOptions.cs (2)
158throw new InvalidOperationException(Res.GetString(Res.WsdlInstanceValidationDetails, args.Message, args.Exception.LineNumber.ToString(CultureInfo.InvariantCulture), args.Exception.LinePosition.ToString(CultureInfo.InvariantCulture)));
System\Web\Services\Diagnostics\TraceUtility.cs (1)
400return objectValue.GetHashCode().ToString(NumberFormatInfo.InvariantInfo);
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (1)
321path = allElse + append.ToString(CultureInfo.InvariantCulture) + extension;
System\Web\Services\Protocols\DiscoveryServerProtocol.cs (2)
80string id = "wsdl" + i.ToString(CultureInfo.InvariantCulture); 149schema.Id = "schema" + (++id).ToString(CultureInfo.InvariantCulture);
System.Windows.Forms (529)
winforms\Managed\System\WinForms\AccessibleObject.cs (10)
402Debug.Assert(child != null, "GetChild(" + index.ToString(CultureInfo.InvariantCulture) + ") returned null!"); 464Debug.Assert(child != null, "GetChild(" + index.ToString(CultureInfo.InvariantCulture) + ") returned null!"); 501Debug.Assert(child != null, "GetChild(" + index.ToString(CultureInfo.InvariantCulture) + ") returned null!"); 1396pxLeft.ToString(CultureInfo.InvariantCulture) + ", " + 1397pyTop.ToString(CultureInfo.InvariantCulture) + ", " + 1398pcxWidth.ToString(CultureInfo.InvariantCulture) + ", " + 1399pcyHeight.ToString(CultureInfo.InvariantCulture)); 1428this.ToString() + ", navdir = " + navDir.ToString(CultureInfo.InvariantCulture) + ", childID = " + childID.ToString()); 1478this.ToString() + ", flagsSelect = " + flagsSelect.ToString(CultureInfo.InvariantCulture) + ", childID = " + childID.ToString()); 1595Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.accHildCount: this = " + this.ToString() + ", returning " + childCount.ToString(CultureInfo.InvariantCulture));
winforms\Managed\System\WinForms\Application.cs (9)
1754Debug.WriteLineIf(CompModSwitches.MSOComponentManager.TraceInfo, "ComponentManager: Component registered. ID: " + cookieCounter.ToString(CultureInfo.InvariantCulture)); 1767Debug.WriteLineIf(CompModSwitches.MSOComponentManager.TraceInfo, "ComponentManager: Revoking component " + dwLocalComponentID.ToString(CultureInfo.InvariantCulture)); 1830Debug.WriteLineIf(CompModSwitches.MSOComponentManager.TraceInfo, "ComponentManager: Component activated. ID: " + dwLocalComponentID.ToString(CultureInfo.InvariantCulture)); 1930Debug.WriteLineIf(CompModSwitches.MSOComponentManager.TraceInfo, "ComponentManager: Component enter state. ID: " + dwLocalComponentID.ToString(CultureInfo.InvariantCulture) + " state: " + uStateID.ToString(CultureInfo.InvariantCulture)); 1980Debug.WriteLineIf(CompModSwitches.MSOComponentManager.TraceInfo, "ComponentManager: Component exit state. ID: " + dwLocalComponentID.ToString(CultureInfo.InvariantCulture) + " state: " + uStateID.ToString(CultureInfo.InvariantCulture)); 2079Debug.WriteLineIf(CompModSwitches.MSOComponentManager.TraceInfo, "ComponentManager : Pushing message loop " + reason.ToString(CultureInfo.InvariantCulture)); 2206Debug.WriteLineIf(CompModSwitches.MSOComponentManager.TraceInfo, "ComponentManager : message loop " + reason.ToString(CultureInfo.InvariantCulture) + " complete.");
winforms\Managed\System\WinForms\AxHost.cs (18)
1369Debug.Fail("Failed to UiDeactivate: " + hr.ToString(CultureInfo.InvariantCulture)); 1457Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "log pixels are: "+logPixelsX.ToString(CultureInfo.InvariantCulture)+" "+logPixelsY.ToString(CultureInfo.InvariantCulture)); 1504Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "setting extent to "+width.ToString(CultureInfo.InvariantCulture)+" "+height.ToString(CultureInfo.InvariantCulture)); 1680Debug.Assert(NativeMethods.Succeeded(hr), "Failed in UiDeactivate: " + hr.ToString(CultureInfo.InvariantCulture)); 1728Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "Transitioning up from: " + GetOcState().ToString(CultureInfo.InvariantCulture) + " to: " + state.ToString(CultureInfo.InvariantCulture)); 2458Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "unsupported ambient "+dispid.ToString(CultureInfo.InvariantCulture)); 2886Debug.Assert(baseProps[i] != null, "Null base prop at location: " + i.ToString(CultureInfo.InvariantCulture)); 2970Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "Updating stashed values for : " + ((attributes != null) ? attributes.Length.ToString(CultureInfo.InvariantCulture) : "<null>")); 4863Debug.Fail("Invalid image type "+ type.ToString(CultureInfo.InvariantCulture)); 6184value.ToString(CultureInfo.InvariantCulture)); 6235Twip2Pixel(value,false).ToString(CultureInfo.InvariantCulture)); 6248Twip2Pixel(value, true).ToString(CultureInfo.InvariantCulture)); 6293Twip2Pixel(value, false).ToString(CultureInfo.InvariantCulture)); 6318Twip2Pixel(value, true).ToString(CultureInfo.InvariantCulture)); 7446Debug.Fail("Bad IPerPropertyBrowsing item [" + i.ToString(CultureInfo.InvariantCulture) + "], name=" + (nameItems == null ? "(unknown)" : nameItems[i].ToString()));
winforms\Managed\System\WinForms\BindingNavigator.cs (1)
549positionItem.Text = position.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\ButtonBase.cs (2)
418throw new ArgumentOutOfRangeException("ImageIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "ImageIndex", (value).ToString(CultureInfo.CurrentCulture), (-1).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\CheckBox.cs (1)
708return s + ", CheckState: " + checkState.ToString(CultureInfo.InvariantCulture);
winforms\Managed\System\WinForms\CheckedListBox.cs (2)
529throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 992throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\Clipboard.cs (4)
120throw new ArgumentOutOfRangeException("retryTimes", SR.GetString(SR.InvalidLowBoundArgumentEx, "retryTimes", retryTimes.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 124throw new ArgumentOutOfRangeException("retryDelay", SR.GetString(SR.InvalidLowBoundArgumentEx, "retryDelay", retryDelay.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ColumnHeader.cs (2)
204throw new ArgumentOutOfRangeException("ImageIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "ImageIndex", (value).ToString(CultureInfo.CurrentCulture), (-1).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ComboBox.cs (17)
543throw new ArgumentOutOfRangeException("DropDownWidth", SR.GetString(SR.InvalidArgument, "DropDownWidth", (value).ToString(CultureInfo.CurrentCulture))); 578throw new ArgumentOutOfRangeException("DropDownHeight", SR.GetString(SR.InvalidArgument, "DropDownHeight", (value).ToString(CultureInfo.CurrentCulture))); 748throw new ArgumentOutOfRangeException("ItemHeight", SR.GetString(SR.InvalidArgument, "ItemHeight", (value).ToString(CultureInfo.CurrentCulture))); 814throw new ArgumentOutOfRangeException("MaxDropDownItems", SR.GetString(SR.InvalidBoundArgument, "MaxDropDownItems", (value).ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture), (100).ToString(CultureInfo.CurrentCulture))); 1051throw new ArgumentOutOfRangeException("SelectedIndex", SR.GetString(SR.InvalidArgument, "SelectedIndex", (value).ToString(CultureInfo.CurrentCulture))); 1178throw new ArgumentOutOfRangeException("SelectionStart", SR.GetString(SR.InvalidArgument, "SelectionStart", value.ToString(CultureInfo.CurrentCulture))); 2172throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3250throw new ArgumentOutOfRangeException("start", SR.GetString(SR.InvalidArgument, "start", start.ToString(CultureInfo.CurrentCulture))); 3257throw new ArgumentOutOfRangeException("length", SR.GetString(SR.InvalidArgument, "length", length.ToString(CultureInfo.CurrentCulture))); 3360return s + ", Items.Count: " + ((itemsCollection == null) ? (0).ToString(CultureInfo.CurrentCulture) : itemsCollection.Count.ToString(CultureInfo.CurrentCulture)); 4224throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 4318throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 4360throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 4397throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\BaseCAMarshaler.cs (1)
46Debug.WriteLineIf(CAMarshalSwitch.TraceVerbose, "Marshaling " + count.ToString(CultureInfo.InvariantCulture) + " items of type " + ItemType.Name);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (2)
214Debug.Fail("Failed to marshal component attribute BSTR " + i.ToString(CultureInfo.InvariantCulture), ex.ToString()); 247Debug.Fail("Failed to marshal component attribute VARIANT " + i.ToString(CultureInfo.InvariantCulture), ex.ToString());
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IPerPropertyBrowsingHandler.cs (1)
286Debug.Fail("Bad IPerPropertyBrowsing item [" + i.ToString(CultureInfo.InvariantCulture) + "], name=" + (nameItems == null ? "(unknown)" : nameItems[i].ToString()));
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyBuilderUITypeEditor.cs (1)
81Debug.Fail("Failed to show property frame: " + ex.ErrorCode.ToString(CultureInfo.InvariantCulture));
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (6)
273Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, "Com2TypeInfoProcessor.GetProperties : returning " + propList.Count.ToString(CultureInfo.InvariantCulture) + " properties"); 456Debug.Fail("ProcessFunctions failed with hr=" + ex.ErrorCode.ToString(CultureInfo.InvariantCulture) + ", message=" + ex.ToString()); 464Debug.Fail("ProcessVariables failed with hr=" + ex.ErrorCode.ToString(CultureInfo.InvariantCulture) + ", message=" + ex.ToString()); 745Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, "ProcessTypeInfoEnum: processing " + nItems.ToString(CultureInfo.InvariantCulture) + " variables"); 832Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, "ProcessTypeInfoEnum: returning enum with " + strs.Count.ToString(CultureInfo.InvariantCulture) + " items"); 1030throw new ArgumentException(SR.GetString(SR.COM2UnhandledVT, ((int)vt).ToString(CultureInfo.InvariantCulture)));
winforms\Managed\System\WinForms\Control.cs (12)
3932throw new ArgumentOutOfRangeException("TabIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "TabIndex", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 11247Debug.WriteLineIf(CompModSwitches.DragDrop.TraceInfo, " ret:" + n.ToString(CultureInfo.CurrentCulture)); 11256Debug.WriteLineIf(CompModSwitches.DragDrop.TraceInfo, " ret:" + n.ToString(CultureInfo.InvariantCulture)); 15091throw new ArgumentOutOfRangeException("index", SR.GetString(SR.IndexOutOfRange, index.ToString(CultureInfo.CurrentCulture))); 15369Debug.WriteLineIf(CompModSwitches.ActiveX.TraceInfo, "AxSource:OnDocWindowActivate. Activate: " + fActivate.ToString(CultureInfo.InvariantCulture)); 15409Debug.WriteLineIf(CompModSwitches.ActiveX.TraceInfo, "AxSource:ContextSensitiveHelp. Mode: " + fEnterMode.ToString(CultureInfo.InvariantCulture)); 15640Debug.WriteLineIf(CompModSwitches.ActiveX.TraceInfo, "AxSource:GetExtent. Aspect: " + dwDrawAspect.ToString(CultureInfo.InvariantCulture)); 15696Debug.WriteLineIf(CompModSwitches.ActiveX.TraceInfo, "AxSource:GetMiscStatus. Status: " + status.ToString(CultureInfo.InvariantCulture)); 17425Debug.Fail("No ambient property for dispid " + dispid.ToString(CultureInfo.InvariantCulture)); 19885", childID = " + childID.ToString(CultureInfo.InvariantCulture)); 19899", childID = " + childID.ToString(CultureInfo.InvariantCulture));
winforms\Managed\System\WinForms\CurrencyManager.cs (8)
284throw new IndexOutOfRangeException(SR.GetString(SR.ListManagerNoValue, index.ToString(CultureInfo.CurrentCulture))); 290throw new IndexOutOfRangeException(SR.GetString(SR.ListManagerNoValue, index.ToString(CultureInfo.CurrentCulture))); 665Debug.WriteLineIf(CompModSwitches.DataCursor.TraceVerbose, "System.ComponentModel.ListChangedType.ItemAdded " + dbe.NewIndex.ToString(CultureInfo.InvariantCulture)); 699Debug.WriteLineIf(CompModSwitches.DataCursor.TraceVerbose, "System.ComponentModel.ListChangedType.ItemDeleted " + dbe.NewIndex.ToString(CultureInfo.InvariantCulture)); 722Debug.WriteLineIf(CompModSwitches.DataCursor.TraceVerbose, "System.ComponentModel.ListChangedType.ItemChanged " + dbe.NewIndex.ToString(CultureInfo.InvariantCulture)); 731Debug.WriteLineIf(CompModSwitches.DataCursor.TraceVerbose, "System.ComponentModel.ListChangedType.ItemMoved " + dbe.NewIndex.ToString(CultureInfo.InvariantCulture)); 843Debug.WriteLineIf(CompModSwitches.DataView.TraceVerbose, "OnItemChanged(" + e.Index.ToString(CultureInfo.InvariantCulture) + ") " + e.ToString()); 874Debug.WriteLineIf(CompModSwitches.DataView.TraceVerbose, "OnPositionChanged(" + listposition.ToString(CultureInfo.InvariantCulture) + ") " + e.ToString());
winforms\Managed\System\WinForms\DataGrid.cs (21)
1420Debug.WriteLineIf(CompModSwitches.DataGridCursor.TraceVerbose, "DataGridCursor: There are now " + DataGridRowsLength.ToString(CultureInfo.InvariantCulture) + " rows."); 3234Debug.WriteLineIf(CompModSwitches.DataGridCursor.TraceVerbose, "DataGridCursor: DataSource_PositionChanged to " + listManager.Position.ToString(CultureInfo.InvariantCulture)); 3316Debug.WriteLineIf(CompModSwitches.DataGridCursor.TraceVerbose, "DataGridCursor: DataSource_ItemChanged at index " + ea.Index.ToString(CultureInfo.InvariantCulture)); 4383Debug.WriteLineIf(CompModSwitches.DataGridLayout.TraceVerbose, "DataGridLayout: OnMouseWheel move="+move.ToString(CultureInfo.InvariantCulture)); 5205Debug.WriteLineIf(CompModSwitches.DataGridEditing.TraceVerbose, "DataGridEditing: \t CommitEdit " + (editRow == null ? "" : editRow.RowNumber.ToString(CultureInfo.InvariantCulture))); 5894Debug.WriteLineIf(CompModSwitches.DataGridEditing.TraceVerbose, "DataGridEditing: Edit, currentRow = " + currentRow.ToString(CultureInfo.InvariantCulture) + 5895", currentCol = " + currentCol.ToString(CultureInfo.InvariantCulture) + (displayText != null ? ", displayText= " + displayText : "")); 6643Debug.WriteLineIf(CompModSwitches.DataGridPainting.TraceVerbose, "DataGridPainting: Invalidating row " + rowNumber.ToString(CultureInfo.InvariantCulture)); 6668Debug.WriteLineIf(CompModSwitches.DataGridPainting.TraceVerbose, "DataGridPainting: Invalidating a rect in row " + rowNumber.ToString(CultureInfo.InvariantCulture)); 7081"Row " + row.ToString(CultureInfo.InvariantCulture) + "is not visible! firstVisibleRow = " + 7082firstVisibleRow.ToString(CultureInfo.InvariantCulture) + ", numVisibleRows = " + 7083numVisibleRows.ToString(CultureInfo.InvariantCulture)); 7383Debug.Assert(selectedEntries == deletedRows, "all the rows that would have been deleted should have been selected: selectedGridEntries " + selectedEntries.ToString(CultureInfo.InvariantCulture) + " deletedRows " + deletedRows.ToString(CultureInfo.InvariantCulture)); 7585Debug.Assert(i == DataGridRowsLength - 1, "the location of addNewRow is " + i.ToString(CultureInfo.InvariantCulture) + " and there are " + DataGridRowsLength.ToString(CultureInfo.InvariantCulture) + " rows "); 8643Debug.WriteLineIf(CompModSwitches.DataGridScrolling.TraceVerbose, "DataGridScrolling: ScrollRight, columns = " + columns.ToString(CultureInfo.InvariantCulture)); 8699Debug.WriteLineIf(CompModSwitches.DataGridSelection.TraceVerbose, "Selecting row " + row.ToString(CultureInfo.InvariantCulture)); 9002Debug.WriteLineIf(CompModSwitches.DataGridSelection.TraceVerbose, "DataGridSelection: Unselecting row " + row.ToString(CultureInfo.InvariantCulture)); 9414return "{ " + ((type).ToString()) + "," + row.ToString(CultureInfo.InvariantCulture) + "," + col.ToString(CultureInfo.InvariantCulture) + "}";
winforms\Managed\System\WinForms\DataGridCaption.cs (2)
494Debug.WriteLineIf(CompModSwitches.DGCaptionPaint.TraceVerbose, "downButtonWidth = " + downButtonWidth.ToString(CultureInfo.InvariantCulture)); 495Debug.WriteLineIf(CompModSwitches.DGCaptionPaint.TraceVerbose, "textWidthLeft = " + textWidthLeft.ToString(CultureInfo.InvariantCulture));
winforms\Managed\System\WinForms\DataGridCell.cs (2)
95return "DataGridCell {RowNumber = " + RowNumber.ToString(CultureInfo.CurrentCulture) + 96", ColumnNumber = " + ColumnNumber.ToString(CultureInfo.CurrentCulture) + "}";
winforms\Managed\System\WinForms\DataGridDefaultColumnWidthTypeConverter.cs (1)
48return pulica.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (1)
527if (CompModSwitches.DGRelationShpRowPaint.TraceVerbose) Debug.WriteLine("Painting row " + RowNumber.ToString(CultureInfo.InvariantCulture) + " with bounds " + bounds.ToString());
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (1)
469DebugOut("Begining Edit, rowNum :" + rowNum.ToString(CultureInfo.InvariantCulture));
winforms\Managed\System\WinForms\DataGridView.cs (16)
1772throw new ArgumentOutOfRangeException("ColumnCount", SR.GetString(SR.InvalidLowBoundArgumentEx, "ColumnCount", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 1996throw new ArgumentOutOfRangeException("ColumnHeadersHeight", SR.GetString(SR.InvalidLowBoundArgumentEx, "ColumnHeadersHeight", (value).ToString(CultureInfo.CurrentCulture), (minimumColumnHeadersHeight).ToString(CultureInfo.CurrentCulture))); 2000throw new ArgumentOutOfRangeException("ColumnHeadersHeight", SR.GetString(SR.InvalidHighBoundArgumentEx, "ColumnHeadersHeight", (value).ToString(CultureInfo.CurrentCulture), (maxHeadersThickness).ToString(CultureInfo.CurrentCulture))); 3507throw new ArgumentOutOfRangeException("HorizontalScrollingOffset", SR.GetString(SR.InvalidLowBoundArgumentEx, "HorizontalScrollingOffset", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 4050throw new ArgumentOutOfRangeException("RowCount", SR.GetString(SR.InvalidLowBoundArgumentEx, "RowCount", value.ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture))); 4057throw new ArgumentOutOfRangeException("RowCount", SR.GetString(SR.InvalidLowBoundArgumentEx, "RowCount", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 4308throw new ArgumentOutOfRangeException("RowHeadersWidth", SR.GetString(SR.InvalidLowBoundArgumentEx, "RowHeadersWidth", (value).ToString(CultureInfo.CurrentCulture), (minimumRowHeadersWidth).ToString(CultureInfo.CurrentCulture))); 4312throw new ArgumentOutOfRangeException("RowHeadersWidth", SR.GetString(SR.InvalidHighBoundArgumentEx, "RowHeadersWidth", (value).ToString(CultureInfo.CurrentCulture), (maxHeadersThickness).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\DataGridViewBand.cs (15)
252throw new ArgumentOutOfRangeException("DividerHeight", SR.GetString(SR.InvalidLowBoundArgumentEx, "DividerHeight", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 256throw new ArgumentOutOfRangeException("DividerWidth", SR.GetString(SR.InvalidLowBoundArgumentEx, "DividerWidth", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 263throw new ArgumentOutOfRangeException("DividerHeight", SR.GetString(SR.InvalidHighBoundArgumentEx, "DividerHeight", (value).ToString(CultureInfo.CurrentCulture), (maxBandThickness).ToString(CultureInfo.CurrentCulture))); 267throw new ArgumentOutOfRangeException("DividerWidth", SR.GetString(SR.InvalidHighBoundArgumentEx, "DividerWidth", (value).ToString(CultureInfo.CurrentCulture), (maxBandThickness).ToString(CultureInfo.CurrentCulture))); 504throw new ArgumentOutOfRangeException("MinimumHeight", value, SR.GetString(SR.DataGridViewBand_MinimumHeightSmallerThanOne, (DataGridViewBand.minBandThickness).ToString(CultureInfo.CurrentCulture))); 508throw new ArgumentOutOfRangeException("MinimumWidth", value, SR.GetString(SR.DataGridViewBand_MinimumWidthSmallerThanOne, (DataGridViewBand.minBandThickness).ToString(CultureInfo.CurrentCulture))); 783throw new ArgumentOutOfRangeException("Height", SR.GetString(SR.InvalidHighBoundArgumentEx, "Height", (value).ToString(CultureInfo.CurrentCulture), (maxBandThickness).ToString(CultureInfo.CurrentCulture))); 787throw new ArgumentOutOfRangeException("Width", SR.GetString(SR.InvalidHighBoundArgumentEx, "Width", (value).ToString(CultureInfo.CurrentCulture), (maxBandThickness).ToString(CultureInfo.CurrentCulture))); 1054sb.Append(this.Index.ToString(CultureInfo.CurrentCulture));
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (2)
1063return "DataGridViewButtonCell { ColumnIndex=" + ColumnIndex.ToString(CultureInfo.CurrentCulture) + ", RowIndex=" + RowIndex.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewButtonColumn.cs (1)
255sb.Append(this.Index.ToString(CultureInfo.CurrentCulture));
winforms\Managed\System\WinForms\DataGridViewCell.cs (9)
1526output.Write(((int)ch).ToString(NumberFormatInfo.InvariantInfo)); 2072throw new ArgumentException(SR.GetString(SR.InvalidArgument, "rowIndex", rowIndex.ToString(CultureInfo.CurrentCulture))); 2097throw new ArgumentException(SR.GetString(SR.InvalidArgument, "rowIndex", rowIndex.ToString(CultureInfo.CurrentCulture))); 2857throw new ArgumentOutOfRangeException("maxWidth", SR.GetString(SR.InvalidLowBoundArgument, "maxWidth", (maxWidth).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 2961throw new ArgumentOutOfRangeException("maxHeight", SR.GetString(SR.InvalidLowBoundArgument, "maxHeight", (maxHeight).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 4712return "DataGridViewCell { ColumnIndex=" + this.ColumnIndex.ToString(CultureInfo.CurrentCulture) + ", RowIndex=" + this.RowIndex.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (2)
1764return "DataGridViewCheckBoxCell { ColumnIndex=" + this.ColumnIndex.ToString(CultureInfo.CurrentCulture) + ", RowIndex=" + this.RowIndex.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewCheckBoxColumn.cs (1)
360sb.Append(this.Index.ToString(CultureInfo.CurrentCulture));
winforms\Managed\System\WinForms\DataGridViewColumn.cs (3)
370throw new ArgumentOutOfRangeException("DisplayIndex", value, SR.GetString(SR.DataGridViewColumn_DisplayIndexTooLarge, Int32.MaxValue.ToString(CultureInfo.CurrentCulture))); 490throw new ArgumentOutOfRangeException("FillWeight", SR.GetString(SR.InvalidLowBoundArgument, "FillWeight", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 1340sb.Append(this.Index.ToString(CultureInfo.CurrentCulture));
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (1)
1159throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
1222return "DataGridViewColumnHeaderCell { ColumnIndex=" + this.ColumnIndex.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (9)
450throw new ArgumentOutOfRangeException("DropDownWidth", value, SR.GetString(SR.DataGridViewComboBoxCell_DropDownWidthOutOfRange, (1).ToString(CultureInfo.CurrentCulture))); 571throw new ArgumentOutOfRangeException("MaxDropDownItems", value, SR.GetString(SR.DataGridViewComboBoxCell_MaxDropDownItemsOutOfRange, (1).ToString(CultureInfo.CurrentCulture), (100).ToString(CultureInfo.CurrentCulture))); 2710return "DataGridViewComboBoxCell { ColumnIndex=" + this.ColumnIndex.ToString(CultureInfo.CurrentCulture) + ", RowIndex=" + this.RowIndex.ToString(CultureInfo.CurrentCulture) + " }"; 2961throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 2977throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3080throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3122throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\DataGridViewComboBoxColumn.cs (1)
552sb.Append(this.Index.ToString(CultureInfo.CurrentCulture));
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (5)
336throw new ArgumentException(SR.GetString(SR.InvalidArgument, "rowIndex", rowIndex.ToString(CultureInfo.CurrentCulture))); 340throw new ArgumentException(SR.GetString(SR.InvalidArgument, "rowIndex", rowIndex.ToString(CultureInfo.CurrentCulture))); 465throw new ArgumentException(SR.GetString(SR.InvalidArgument, "rowIndex", rowIndex.ToString(CultureInfo.CurrentCulture))); 672return "DataGridViewHeaderCell { ColumnIndex=" + this.ColumnIndex.ToString(CultureInfo.CurrentCulture) + ", RowIndex=" + this.RowIndex.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewHitTestInfo.cs (2)
139return "{ Type:" + type.ToString() + ", Column:" + col.ToString(CultureInfo.CurrentCulture) + ", Row:" + row.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (2)
983return "DataGridViewImageCell { ColumnIndex=" + ColumnIndex.ToString(CultureInfo.CurrentCulture) + ", RowIndex=" + RowIndex.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewImageColumn.cs (1)
352sb.Append(this.Index.ToString(CultureInfo.CurrentCulture));
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (2)
1169return "DataGridViewLinkCell { ColumnIndex=" + ColumnIndex.ToString(CultureInfo.CurrentCulture) + ", RowIndex=" + RowIndex.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewLinkColumn.cs (1)
392sb.Append(this.Index.ToString(CultureInfo.CurrentCulture));
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
27473throw new ArgumentOutOfRangeException("width", width, SR.GetString(SR.DataGridView_SizeTooLarge, (upperSize).ToString(CultureInfo.CurrentCulture))); 27476throw new ArgumentOutOfRangeException("height", height, SR.GetString(SR.DataGridView_SizeTooLarge, (upperSize).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\DataGridViewRow.cs (3)
1482throw new ArgumentException(SR.GetString(SR.InvalidArgument, "rowIndex", rowIndex.ToString(CultureInfo.CurrentCulture))); 1899sb.Append(this.Index.ToString(CultureInfo.CurrentCulture)); 1992return SR.GetString(SR.DataGridView_AccRowName, this.owner.Index.ToString(CultureInfo.CurrentCulture));
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (8)
1182throw new ArgumentOutOfRangeException("indexStart", SR.GetString(SR.InvalidLowBoundArgumentEx, "indexStart", (indexStart).ToString(CultureInfo.CurrentCulture), (-1).ToString(CultureInfo.CurrentCulture))); 1214throw new ArgumentOutOfRangeException("indexStart", SR.GetString(SR.InvalidLowBoundArgumentEx, "indexStart", (indexStart).ToString(CultureInfo.CurrentCulture), (-1).ToString(CultureInfo.CurrentCulture))); 1235throw new ArgumentOutOfRangeException("indexStart", SR.GetString(SR.InvalidHighBoundArgumentEx, "indexStart", (indexStart).ToString(CultureInfo.CurrentCulture), (this.items.Count).ToString(CultureInfo.CurrentCulture))); 1267throw new ArgumentOutOfRangeException("indexStart", SR.GetString(SR.InvalidHighBoundArgumentEx, "indexStart", (indexStart).ToString(CultureInfo.CurrentCulture), (this.items.Count).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (1)
1168return "DataGridViewRowHeaderCell { RowIndex=" + RowIndex.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewRowHeightInfoNeededEventArgs.cs (3)
42throw new ArgumentOutOfRangeException("Height", SR.GetString(SR.InvalidHighBoundArgumentEx, "Height", (value).ToString(CultureInfo.CurrentCulture), (DataGridViewBand.maxBandThickness).ToString(CultureInfo.CurrentCulture))); 59throw new ArgumentOutOfRangeException("MinimumHeight", value, SR.GetString(SR.DataGridViewBand_MinimumHeightSmallerThanOne, (DataGridViewBand.minBandThickness).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\DataGridViewRowsRemovedEventArgs.cs (4)
23throw new ArgumentOutOfRangeException("rowIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "rowIndex", rowIndex.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 27throw new ArgumentOutOfRangeException("rowCount", SR.GetString(SR.InvalidLowBoundArgumentEx, "rowCount", rowCount.ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (4)
117throw new ArgumentOutOfRangeException("MaxInputLength", SR.GetString(SR.InvalidLowBoundArgumentEx, "MaxInputLength", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 831return "DataGridViewTextBoxCell { ColumnIndex=" + ColumnIndex.ToString(CultureInfo.CurrentCulture) + ", RowIndex=" + RowIndex.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewTextBoxColumn.cs (1)
119sb.Append(this.Index.ToString(CultureInfo.CurrentCulture));
winforms\Managed\System\WinForms\DataObject.cs (5)
1225Debug.WriteLineIf(CompModSwitches.DataObject.TraceVerbose, "FormatEnumerator: Constructed: " + parent.ToString() + ", FORMATETC[]" + formats.Length.ToString(CultureInfo.InvariantCulture)); 1252Debug.WriteLineIf(CompModSwitches.DataObject.TraceVerbose, "FormatEnumerator: Constructed: " + parent.ToString() + ", string[]" + formats.Length.ToString(CultureInfo.InvariantCulture)); 2216Debug.WriteLineIf(CompModSwitches.DataObject.TraceVerbose, "DataStore: got " + formats.Length.ToString(CultureInfo.InvariantCulture) + " formats from get formats"); 2219Debug.Assert(formats[i] != null, "Null format inside of formats at index " + i.ToString(CultureInfo.InvariantCulture)); 2266Debug.WriteLineIf(CompModSwitches.DataObject.TraceVerbose, "DataStore: returing " + baseVar.Length.ToString(CultureInfo.InvariantCulture) + " formats from GetFormats");
winforms\Managed\System\WinForms\DomainUpDown.cs (3)
150throw new ArgumentOutOfRangeException("SelectedIndex", SR.GetString(SR.InvalidArgument, "SelectedIndex", (value).ToString(CultureInfo.CurrentCulture))); 530s += ", Items.Count: " + Items.Count.ToString(CultureInfo.CurrentCulture); 531s += ", SelectedIndex: " + SelectedIndex.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\FlatButtonAppearance.cs (2)
51throw new ArgumentOutOfRangeException("BorderSize", value, SR.GetString(SR.InvalidLowBoundArgumentEx, "BorderSize", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\Form.cs (3)
6705Debug.WriteLineIf(ToolStrip.MDIMergeDebug.TraceVerbose, "UpdateMdiControlStrip: built up an MDI control strip for " + ActiveMdiChildInternal.Text + " with " + MdiControlStrip.Items.Count.ToString(CultureInfo.InvariantCulture) + " items."); 6706Debug.WriteLineIf(ToolStrip.MDIMergeDebug.TraceVerbose, "UpdateMdiControlStrip: merging MDI control strip into source menustrip - items before: " + sourceMenuStrip.Items.Count.ToString(CultureInfo.InvariantCulture)); 6708Debug.WriteLineIf(ToolStrip.MDIMergeDebug.TraceVerbose, "UpdateMdiControlStrip: merging MDI control strip into source menustrip - items after: " + sourceMenuStrip.Items.Count.ToString(CultureInfo.InvariantCulture));
winforms\Managed\System\WinForms\HtmlHistory.cs (4)
71throw new ArgumentOutOfRangeException("numberBack", SR.GetString(SR.InvalidLowBoundArgumentEx, "numberBack", numberBack.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 85throw new ArgumentOutOfRangeException("numberForward", SR.GetString(SR.InvalidLowBoundArgumentEx, "numberForward", numberForward.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ImageList.cs (10)
268throw new ArgumentOutOfRangeException("ImageSize", SR.GetString(SR.InvalidBoundArgument, "ImageSize.Width", value.Width.ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture), maxImageWidth.ToString())); 272throw new ArgumentOutOfRangeException("ImageSize", SR.GetString(SR.InvalidBoundArgument, "ImageSize.Height", value.Height.ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture), maxImageHeight.ToString())); 627throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 694throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 908return s + " Images.Count: " + Images.Count.ToString(CultureInfo.CurrentCulture) + ", ImageSize: " + ImageSize.ToString(); 1141throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1146throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1577throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\Label.cs (2)
518throw new ArgumentOutOfRangeException("ImageIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "ImageIndex", (value).ToString(CultureInfo.CurrentCulture), (-1).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\Layout\TableLayout.cs (2)
1256throw new ArgumentException(SR.GetString(SR.InvalidArgument, "RowPosition", row.ToString(CultureInfo.CurrentCulture))); 1259throw new ArgumentException(SR.GetString(SR.InvalidArgument, "ColumnPosition", column.ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\LinkArea.cs (2)
81return "{Start=" + Start.ToString(CultureInfo.CurrentCulture) + ", Length=" + Length.ToString(CultureInfo.CurrentCulture) + "}";
winforms\Managed\System\WinForms\ListBox.cs (15)
309(value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 628throw new ArgumentOutOfRangeException("ItemHeight", SR.GetString(SR.InvalidExBoundArgument, "ItemHeight", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture), "256")); 887throw new ArgumentOutOfRangeException("SelectedIndex", SR.GetString(SR.InvalidArgument, "SelectedIndex", (value).ToString(CultureInfo.CurrentCulture))); 1336throw new ArgumentOutOfRangeException("index", SR.GetString(SR.IndexOutOfRange, index.ToString(CultureInfo.CurrentCulture))); 1483throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 2131throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 2185s += ", Items.Count: " + Items.Count.ToString(CultureInfo.CurrentCulture); 3172throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3289throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3345throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3367throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3683throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3711throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ListView.cs (43)
1825throw new System.ArgumentException(SR.GetString(SR.ListViewVirtualListSizeInvalidArgument, "value", (value.ToString(CultureInfo.CurrentCulture)))); 3060throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3091throw new ArgumentOutOfRangeException("startIndex", SR.GetString(SR.InvalidArgument, "startIndex", (startIndex).ToString(CultureInfo.CurrentCulture))); 3249return rnd.Next().ToString(CultureInfo.InvariantCulture); 3392throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3413throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3430(index).ToString(CultureInfo.CurrentCulture))); 3501throw new ArgumentOutOfRangeException("itemIndex", SR.GetString(SR.InvalidArgument, "itemIndex", (itemIndex).ToString(CultureInfo.CurrentCulture))); 3506throw new ArgumentOutOfRangeException("subItemIndex", SR.GetString(SR.InvalidArgument, "subItemIndex", (subItemIndex).ToString(CultureInfo.CurrentCulture))); 3524(itemIndex).ToString(CultureInfo.CurrentCulture))); 4673throw new ArgumentOutOfRangeException("startIndex", SR.GetString(SR.InvalidArgument, "startIndex", (startIndex).ToString(CultureInfo.CurrentCulture))); 4677throw new ArgumentOutOfRangeException("endIndex", SR.GetString(SR.InvalidArgument, "endIndex", (endIndex).ToString(CultureInfo.CurrentCulture))); 4684throw new ArgumentOutOfRangeException("startIndex", SR.GetString(SR.InvalidArgument, "startIndex", (startIndex).ToString(CultureInfo.CurrentCulture))); 4688throw new ArgumentOutOfRangeException("endIndex", SR.GetString(SR.InvalidArgument, "endIndex", (endIndex).ToString(CultureInfo.CurrentCulture))); 4918throw new ArgumentOutOfRangeException("columnIndex", SR.GetString(SR.InvalidArgument, "columnIndex", (columnIndex).ToString(CultureInfo.CurrentCulture))); 5051throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 5064throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 5079throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 5091throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 5204s += ", Items.Count: " + listItemsArray.Count.ToString(CultureInfo.CurrentCulture); 5212s += ", Items.Count: " + Items.Count.ToString(CultureInfo.CurrentCulture); 6470throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 6489throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 7038throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 7203throw new ArgumentOutOfRangeException("itemIndex", SR.GetString(SR.InvalidArgument, "itemIndex", (itemIndex).ToString(CultureInfo.CurrentCulture))); 7219throw new ArgumentOutOfRangeException("itemIndex", SR.GetString(SR.InvalidArgument, "itemIndex", (itemIndex).ToString(CultureInfo.CurrentCulture))); 7267throw new ArgumentOutOfRangeException("itemIndex", SR.GetString(SR.InvalidArgument, "itemIndex", (itemIndex).ToString(CultureInfo.CurrentCulture))); 7278throw new ArgumentOutOfRangeException("itemIndex", SR.GetString(SR.InvalidArgument, "itemIndex", (itemIndex).ToString(CultureInfo.CurrentCulture))); 7380throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 7697throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 8074throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 8180throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 8191(index).ToString(CultureInfo.CurrentCulture))); 8374throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 8381throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 8713throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 8792throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 8868throw new ArgumentOutOfRangeException("displayIndex", SR.GetString(SR.InvalidArgument, "displayIndex", (displayIndex).ToString(CultureInfo.CurrentCulture))); 8887throw new ArgumentOutOfRangeException("displayIndex", SR.GetString(SR.InvalidArgument, "displayIndex", (displayIndex).ToString(CultureInfo.CurrentCulture))); 9006Debug.Assert(item != null, "Failed to get item at index " + i.ToString(CultureInfo.InvariantCulture)); 9091throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 9148throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 9168(index).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ListViewGroup.cs (1)
294info.AddValue("Item" + i.ToString(CultureInfo.InvariantCulture), Items[i], typeof(ListViewItem));
winforms\Managed\System\WinForms\ListViewItem.cs (8)
537throw new ArgumentOutOfRangeException("ImageIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "ImageIndex", value.ToString(CultureInfo.CurrentCulture), (-1).ToString(CultureInfo.CurrentCulture))); 793throw new ArgumentOutOfRangeException("StateImageIndex", SR.GetString(SR.InvalidArgument, "StateImageIndex", (value).ToString(CultureInfo.CurrentCulture))); 1161Debug.Assert(!updateOwner || listView.SendMessage(NativeMethods.LVM_HASGROUP, lvItem.iGroupId, 0) != IntPtr.Zero, "Doesn't contain group id: " + lvItem.iGroupId.ToString(CultureInfo.InvariantCulture)); 1305ListViewSubItem newItem = (ListViewSubItem)info.GetValue("SubItem" + i.ToString(CultureInfo.InvariantCulture), typeof(ListViewSubItem)); 1330info.AddValue("SubItem" + i.ToString(CultureInfo.InvariantCulture), subItems[i], typeof(ListViewSubItem)); 1779throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 1785throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\Menu.cs (4)
619return s + ", Items.Count: " + ItemCount.ToString(CultureInfo.CurrentCulture); 702throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 868throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument,"index",(index).ToString(CultureInfo.CurrentCulture))); 1126throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument,"index",(index).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\MenuItem.cs (1)
345throw new ArgumentOutOfRangeException("Index", SR.GetString(SR.InvalidArgument, "Index", (value).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\MonthCalendar.cs (2)
610throw new ArgumentOutOfRangeException("MaxSelectionCount", SR.GetString(SR.InvalidLowBoundArgumentEx, "MaxSelectionCount", (value).ToString("D", CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture))); 781throw new ArgumentOutOfRangeException("ScrollChange", SR.GetString(SR.InvalidLowBoundArgumentEx, "ScrollChange", (value).ToString("D", CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\NativeMethods.cs (7)
4551throw new ArgumentException(SR.GetString(SR.COM2UnhandledVT, iVt.ToString(CultureInfo.InvariantCulture))); 5399+ ", iItem = " + iItem.ToString(CultureInfo.InvariantCulture) 5400+ ", iSubItem = " + iSubItem.ToString(CultureInfo.InvariantCulture) 5401+ ", state = " + state.ToString(CultureInfo.InvariantCulture) 5402+ ", iGroupId = " + iGroupId.ToString(CultureInfo.InvariantCulture) 5403+ ", cColumns = " + cColumns.ToString(CultureInfo.InvariantCulture); 5447return "LVGROUP: header = " + pszHeader.ToString() + ", iGroupId = " + iGroupId.ToString(CultureInfo.InvariantCulture);
winforms\Managed\System\WinForms\NotifyIcon.cs (1)
672throw new ArgumentOutOfRangeException("timeout", SR.GetString(SR.InvalidArgument, "timeout", (timeout).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\NumericUpDown.cs (4)
143throw new ArgumentOutOfRangeException("DecimalPlaces", SR.GetString(SR.InvalidBoundArgument, "DecimalPlaces", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture), "99")); 758text = num.ToString((ThousandsSeparator ? "N" : "F") + DecimalPlaces.ToString(CultureInfo.CurrentCulture), CultureInfo.CurrentCulture); 883ch = i.ToString(CultureInfo.InvariantCulture)[0];
winforms\Managed\System\WinForms\OpacityConverter.cs (1)
107return perc.ToString(CultureInfo.CurrentCulture) + "%";
winforms\Managed\System\WinForms\Padding.cs (4)
228return "{Left=" + Left.ToString(CultureInfo.CurrentCulture) + ",Top=" + Top.ToString(CultureInfo.CurrentCulture) + ",Right=" + Right.ToString(CultureInfo.CurrentCulture) + ",Bottom=" + Bottom.ToString(CultureInfo.CurrentCulture) + "}";
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (6)
151throw new ArgumentOutOfRangeException("Columns", SR.GetString(SR.InvalidLowBoundArgumentEx, "Columns", value.ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture))); 213throw new ArgumentOutOfRangeException("Rows", SR.GetString(SR.InvalidLowBoundArgumentEx, "Rows", value.ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture))); 294throw new ArgumentOutOfRangeException("StartPage", SR.GetString(SR.InvalidLowBoundArgumentEx, "StartPage", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ProgressBar.cs (8)
395throw new ArgumentOutOfRangeException("Maximum", SR.GetString(SR.InvalidLowBoundArgumentEx, "Maximum", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 433throw new ArgumentOutOfRangeException("Minimum", SR.GetString(SR.InvalidLowBoundArgumentEx, "Minimum", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 628throw new ArgumentOutOfRangeException("Value", SR.GetString(SR.InvalidBoundArgument, "Value", value.ToString(CultureInfo.CurrentCulture), "'minimum'", "'maximum'")); 874return s + ", Minimum: " + Minimum.ToString(CultureInfo.CurrentCulture) + ", Maximum: " + Maximum.ToString(CultureInfo.CurrentCulture) + ", Value: " + Value.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\PropertyGrid.cs (7)
1186throw new ArgumentException(SR.GetString(SR.PropertyGridSetNull, count.ToString(CultureInfo.CurrentCulture), value.Length.ToString(CultureInfo.CurrentCulture))); 2394Debug.Assert(viewTabs.Length == viewTabScopes.Length && viewTabScopes.Length == viewTabButtons.Length,"Uh oh, tab arrays aren't all the same length! tabs=" + viewTabs.Length.ToString(CultureInfo.InvariantCulture) + ", scopes=" + viewTabScopes.Length.ToString(CultureInfo.InvariantCulture) + ", buttons=" + viewTabButtons.Length.ToString(CultureInfo.InvariantCulture)); 4230optRoot.SetValue("PbrsDescHeightRatio", dcSizeRatio.ToString(CultureInfo.InvariantCulture)); 4231optRoot.SetValue("PbrsHotCommandHeightRatio", hcSizeRatio.ToString(CultureInfo.InvariantCulture));
winforms\Managed\System\WinForms\PropertyGridInternal\ArrayElementGridEntry.cs (1)
50return "[" + index.ToString(CultureInfo.CurrentCulture) + "]";
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (14)
845Debug.WriteLineIf(GridViewDebugPaint.TraceVerbose, "Adjusting paint origin to (" + newOrigin.X.ToString(CultureInfo.InvariantCulture) + "," + newOrigin.Y.ToString(CultureInfo.InvariantCulture) + ")"); 1238", flags=" + entry.Flags.ToString(CultureInfo.InvariantCulture) + 2257Debug.WriteLineIf(GridViewDebugPaint.TraceVerbose, "Invalidating rows " + startRow.ToString(CultureInfo.InvariantCulture) + " through " + endRow.ToString(CultureInfo.InvariantCulture)); 3813Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose, "PropertyGridView:OnScroll(" + ScrollBar.Value.ToString(CultureInfo.InvariantCulture) + " -> " + se.NewValue.ToString(CultureInfo.InvariantCulture) +")"); 4102Debug.WriteLineIf(GridViewDebugPaint.TraceVerbose, "Refresh called for rows " + rowStart.ToString(CultureInfo.InvariantCulture) + " through " + rowEnd.ToString(CultureInfo.InvariantCulture)); 4355Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose, "PropertyGridView:SelectRow(" + row.ToString(CultureInfo.InvariantCulture) + ")"); 4559Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose, "\tvisibleRows:" + (visibleRows).ToString(CultureInfo.InvariantCulture)); 4560Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose, "\tlabelWidth :" + (labelWidth).ToString(CultureInfo.InvariantCulture)); 4562Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose, "\trowHeight :" + (RowHeight).ToString(CultureInfo.InvariantCulture)); 4664Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose, "PropertyGridView:SetScrollOffset(" + cOffset.ToString(CultureInfo.InvariantCulture) + ")");
winforms\Managed\System\WinForms\RichTextBox.cs (3)
310throw new ArgumentOutOfRangeException("BulletIndent", SR.GetString(SR.InvalidArgument, "BulletIndent", (value).ToString(CultureInfo.CurrentCulture))); 709throw new ArgumentOutOfRangeException("RightMargin", SR.GetString(SR.InvalidLowBoundArgumentEx, "RightMargin", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ScrollBar.cs (8)
329throw new ArgumentOutOfRangeException("LargeChange", SR.GetString(SR.InvalidLowBoundArgumentEx, "LargeChange", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 422throw new ArgumentOutOfRangeException("SmallChange", SR.GetString(SR.InvalidLowBoundArgumentEx, "SmallChange", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 497throw new ArgumentOutOfRangeException("Value", SR.GetString(SR.InvalidBoundArgument, "Value", (value).ToString(CultureInfo.CurrentCulture), "'minimum'", "'maximum'")); 782return s + ", Minimum: " + Minimum.ToString(CultureInfo.CurrentCulture) + ", Maximum: " + Maximum.ToString(CultureInfo.CurrentCulture) + ", Value: " + Value.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\ScrollProperties.cs (7)
115throw new ArgumentOutOfRangeException("LargeChange", SR.GetString(SR.InvalidLowBoundArgumentEx, "LargeChange", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 180throw new ArgumentOutOfRangeException("Minimum", SR.GetString(SR.InvalidLowBoundArgumentEx, "Minimum", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 236throw new ArgumentOutOfRangeException("SmallChange", SR.GetString(SR.InvalidLowBoundArgumentEx, "SmallChange", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 268throw new ArgumentOutOfRangeException("Value", SR.GetString(SR.InvalidBoundArgument, "Value", (value).ToString(CultureInfo.CurrentCulture), "'minimum'", "'maximum'"));
winforms\Managed\System\WinForms\SplitContainer.cs (11)
794throw new ArgumentOutOfRangeException("SplitterDistance", SR.GetString(SR.InvalidLowBoundArgument, "SplitterDistance", (value).ToString(CultureInfo.CurrentCulture), "0")); 890throw new ArgumentOutOfRangeException("SplitterIncrement", SR.GetString(SR.InvalidLowBoundArgumentEx, "SplitterIncrement", (value).ToString(CultureInfo.CurrentCulture), "1")); 1443throw new ArgumentOutOfRangeException("Panel1MinSize", SR.GetString(SR.InvalidLowBoundArgument, "Panel1MinSize", (value).ToString(CultureInfo.CurrentCulture), "0")); 1448throw new ArgumentOutOfRangeException("Panel1MinSize", SR.GetString(SR.InvalidArgument, "Panel1MinSize", (value).ToString(CultureInfo.CurrentCulture))); 1453throw new ArgumentOutOfRangeException("Panel1MinSize", SR.GetString(SR.InvalidArgument, "Panel1MinSize", (value).ToString(CultureInfo.CurrentCulture))); 1468throw new ArgumentOutOfRangeException("Panel2MinSize", SR.GetString(SR.InvalidLowBoundArgument, "Panel2MinSize", (value).ToString(CultureInfo.CurrentCulture), "0")); 1472throw new ArgumentOutOfRangeException("Panel2MinSize", SR.GetString(SR.InvalidArgument, "Panel2MinSize", (value).ToString(CultureInfo.CurrentCulture))); 1478throw new ArgumentOutOfRangeException("Panel2MinSize", SR.GetString(SR.InvalidArgument, "Panel2MinSize", (value).ToString(CultureInfo.CurrentCulture))); 1492throw new ArgumentOutOfRangeException("SplitterWidth", SR.GetString(SR.InvalidLowBoundArgumentEx, "SplitterWidth", (value).ToString(CultureInfo.CurrentCulture), "1")); 1496throw new ArgumentOutOfRangeException("SplitterWidth", SR.GetString(SR.InvalidArgument, "SplitterWidth", (value).ToString(CultureInfo.CurrentCulture))); 1502throw new ArgumentOutOfRangeException("SplitterWidth", SR.GetString(SR.InvalidArgument, "SplitterWidth", (value).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\Splitter.cs (2)
1054return s + ", MinExtra: " + MinExtra.ToString(CultureInfo.CurrentCulture) + ", MinSize: " + MinSize.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\StatusBar.cs (4)
975s += ", Panels.Count: " + Panels.Count.ToString(CultureInfo.CurrentCulture); 1242throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1500throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1587throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\StatusBarPanel.cs (2)
261throw new ArgumentOutOfRangeException("MinWidth", SR.GetString(SR.InvalidLowBoundArgumentEx, "MinWidth", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\TabControl.cs (8)
734throw new ArgumentOutOfRangeException("SelectedIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "SelectedIndex", value.ToString(CultureInfo.CurrentCulture), (-1).ToString(CultureInfo.CurrentCulture))); 1204throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1241throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1301throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1703throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1749throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1883s += ", TabPages.Count: " + TabPages.Count.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\TableLayoutPanelCellPosition.cs (4)
24throw new ArgumentOutOfRangeException("row", SR.GetString(SR.InvalidArgument, "row", (row).ToString(CultureInfo.CurrentCulture))); 27throw new ArgumentOutOfRangeException("column", SR.GetString(SR.InvalidArgument, "column", (column).ToString(CultureInfo.CurrentCulture))); 68return Column.ToString(CultureInfo.CurrentCulture) + "," + Row.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\TableLayoutSettings.cs (8)
114throw new ArgumentOutOfRangeException("ColumnCount", value, SR.GetString (SR.InvalidLowBoundArgumentEx, "ColumnCount", value.ToString (CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 140throw new ArgumentOutOfRangeException("RowCount", value, SR.GetString (SR.InvalidLowBoundArgumentEx, "RowCount", value.ToString (CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 249throw new ArgumentOutOfRangeException("ColumnSpan", SR.GetString(SR.InvalidArgument, "ColumnSpan", (value).ToString(CultureInfo.CurrentCulture))); 279throw new ArgumentOutOfRangeException("RowSpan", SR.GetString(SR.InvalidArgument, "RowSpan", (value).ToString(CultureInfo.CurrentCulture))); 328throw new ArgumentOutOfRangeException("Row", SR.GetString(SR.InvalidArgument, "Row", (row).ToString(CultureInfo.CurrentCulture))); 380throw new ArgumentException(SR.GetString(SR.InvalidArgument, "Column", (column).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\TableLayoutSettingsTypeConverter.cs (4)
88xmlWriter.WriteAttributeString("Row",c.Row.ToString(CultureInfo.CurrentCulture)); 89xmlWriter.WriteAttributeString("RowSpan", c.RowSpan.ToString(CultureInfo.CurrentCulture)); 91xmlWriter.WriteAttributeString("Column", c.Column.ToString(CultureInfo.CurrentCulture)); 92xmlWriter.WriteAttributeString("ColumnSpan", c.ColumnSpan.ToString(CultureInfo.CurrentCulture));
winforms\Managed\System\WinForms\TableLayoutStyle.cs (1)
48throw new ArgumentOutOfRangeException("Size", SR.GetString(SR.InvalidLowBoundArgumentEx, "Size", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\TabPage.cs (2)
192throw new ArgumentOutOfRangeException ("ImageIndex", SR.GetString (SR.InvalidLowBoundArgumentEx, "imageIndex", (value).ToString (CultureInfo.CurrentCulture), (-1).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\TextBoxBase.cs (6)
757throw new ArgumentOutOfRangeException("MaxLength", SR.GetString(SR.InvalidLowBoundArgumentEx, "MaxLength", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 1175throw new ArgumentOutOfRangeException("SelectionLength", SR.GetString(SR.InvalidArgument, "SelectionLength", value.ToString(CultureInfo.CurrentCulture))); 1211throw new ArgumentOutOfRangeException("SelectionStart", SR.GetString(SR.InvalidArgument, "SelectionStart", value.ToString(CultureInfo.CurrentCulture))); 1805throw new ArgumentOutOfRangeException("lineNumber", SR.GetString(SR.InvalidArgument, "lineNumber", lineNumber.ToString(CultureInfo.CurrentCulture))); 1921throw new ArgumentOutOfRangeException("start", SR.GetString(SR.InvalidArgument, "start", start.ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\Timer.cs (2)
215throw new ArgumentOutOfRangeException("Interval", SR.GetString(SR.TimerInvalidInterval, value, (0).ToString(CultureInfo.CurrentCulture))); 268return s + ", Interval: " + Interval.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\ToolBar.cs (5)
1192throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1506s += ", Buttons.Count: " + buttonCount.ToString(CultureInfo.CurrentCulture); 1809throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1817throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 2120throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ToolBarButton.cs (1)
200throw new ArgumentOutOfRangeException("ImageIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "ImageIndex", (value).ToString(CultureInfo.CurrentCulture), -1));
winforms\Managed\System\WinForms\ToolStripComboBox.cs (1)
599return base.ToString() + ", Items.Count: " + Items.Count.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\ToolStripDropTargetManager.cs (2)
262Debug.WriteLineIf(CompModSwitches.DragDrop.TraceInfo, " ret:" + n.ToString(CultureInfo.InvariantCulture)); 277Debug.WriteLineIf(CompModSwitches.DragDrop.TraceInfo, " ret:" + n.ToString(CultureInfo.InvariantCulture));
winforms\Managed\System\WinForms\ToolStripItem.cs (2)
1330throw new ArgumentOutOfRangeException("ImageIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "ImageIndex", value.ToString(CultureInfo.CurrentCulture), (-1).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ToolStripManager.cs (4)
357Debug.WriteLineIf(ToolStrip.ControlTabDebug.TraceVerbose, "SELECTNEXTTOOLSTRIP: start: " + startTabIndex.ToString(CultureInfo.CurrentCulture) + " " + start.Name); 364Debug.WriteLineIf(ToolStrip.ControlTabDebug.TraceVerbose, "FORWARD considering selection " + toolStrip.Name + " " + toolStrip.TabIndex.ToString(CultureInfo.CurrentCulture)); 401Debug.WriteLineIf(ToolStrip.ControlTabDebug.TraceVerbose, "\tREVERSE skipping wrap candidate " + toolStrip.Name + toolStrip.TabIndex.ToString(CultureInfo.CurrentCulture)); 2288return "MergeAction: " + mergeAction.ToString() + " | TargetItem: " + (TargetItem == null ? "null" : TargetItem.Text) + " Index: " + index.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\ToolStripPanel.cs (5)
916throw new ArgumentOutOfRangeException("row", SR.GetString(SR.IndexOutOfRange, row.ToString(CultureInfo.CurrentCulture))); 1090Debug.WriteLineIf(ToolStripPanelRow.ToolStripPanelRowCreationDebug.TraceVerbose, "Inserting a new row at " + index.ToString(CultureInfo.InvariantCulture)); 1256Debug.Write("Row " + i.ToString(CultureInfo.CurrentCulture) + ": "); 1287!RowsInternal.Contains(draggedToolStrip1.ToolStripPanelRow) ? "unknown" : RowsInternal.IndexOf(draggedToolStrip1.ToolStripPanelRow).ToString(CultureInfo.CurrentCulture), 1294!RowsInternal.Contains(draggedToolStrip2.ToolStripPanelRow) ? "unknown" : RowsInternal.IndexOf(draggedToolStrip2.ToolStripPanelRow).ToString(CultureInfo.CurrentCulture),
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (14)
1064Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveLeft: " + spaceToFree.ToString(CultureInfo.InvariantCulture)); 1111Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveLeft Recovered (Margin only): " + spaceToFree.ToString(CultureInfo.InvariantCulture)); 1120Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveLeft Recovered Partial (Shrink): " + freedSpace.ToString(CultureInfo.InvariantCulture)); 1126Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveRight: " + spaceToFree.ToString(CultureInfo.InvariantCulture)); 1195Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveRight Recovered (Margin only): " + spaceToFree.ToString(CultureInfo.InvariantCulture)); 1209Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveRight Recovered (Shrink): " + spaceToFree.ToString(CultureInfo.InvariantCulture)); 1230Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveRight Recovered Partial (Shrink): " + freedSpace.ToString(CultureInfo.InvariantCulture)); 1578Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveUp: " + spaceToFree.ToString(CultureInfo.InvariantCulture)); 1625Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveUp Recovered (Margin only): " + spaceToFree.ToString(CultureInfo.InvariantCulture)); 1634Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveLeft Recovered Partial (Shrink): " + freedSpace.ToString(CultureInfo.InvariantCulture)); 1641Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveDown: " + spaceToFree.ToString(CultureInfo.InvariantCulture)); 1703Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveDown Recovered (Margin only): " + spaceToFree.ToString(CultureInfo.InvariantCulture)); 1717Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveDown Recovered (Shrink): " + spaceToFree.ToString(CultureInfo.InvariantCulture)); 1739Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveDown Recovered Partial (Shrink): " + recoveredSpace.ToString(CultureInfo.InvariantCulture));
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (2)
262throw new ArgumentOutOfRangeException("DropDownButtonWidth", SR.GetString(SR.InvalidLowBoundArgumentEx, "DropDownButtonWidth", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ToolTip.cs (17)
173throw new ArgumentOutOfRangeException("AutomaticDelay", SR.GetString(SR.InvalidLowBoundArgumentEx, "AutomaticDelay", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 201throw new ArgumentOutOfRangeException("AutoPopDelay", SR.GetString(SR.InvalidLowBoundArgumentEx, "AutoPopDelay", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 391throw new ArgumentOutOfRangeException("InitialDelay", SR.GetString(SR.InvalidLowBoundArgumentEx, "InitialDelay", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 438throw new ArgumentOutOfRangeException("ReshowDelay", SR.GetString(SR.InvalidLowBoundArgumentEx, "ReshowDelay", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 1636throw new ArgumentOutOfRangeException("duration", SR.GetString(SR.InvalidLowBoundArgumentEx, "duration", (duration).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 1680throw new ArgumentOutOfRangeException("duration", SR.GetString(SR.InvalidLowBoundArgumentEx, "duration", (duration).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 1731throw new ArgumentOutOfRangeException("duration", SR.GetString(SR.InvalidLowBoundArgumentEx, "duration", (duration).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 1751throw new ArgumentOutOfRangeException(nameof(duration), SR.GetString(SR.InvalidLowBoundArgumentEx, nameof(duration), (duration).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 2156return s + " InitialDelay: " + InitialDelay.ToString(CultureInfo.CurrentCulture) + ", ShowAlways: " + ShowAlways.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\TrackBar.cs (4)
688throw new ArgumentOutOfRangeException("Value", SR.GetString(SR.InvalidBoundArgument, "Value", (value).ToString(CultureInfo.CurrentCulture), "'Minimum'", "'Maximum'")); 1160return s + ", Minimum: " + Minimum.ToString(CultureInfo.CurrentCulture) + ", Maximum: " + Maximum.ToString(CultureInfo.CurrentCulture) + ", Value: " + Value.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\TreeNode.cs (1)
975throw new ArgumentOutOfRangeException("StateImageIndex", SR.GetString(SR.InvalidArgument, "StateImageIndex", (value).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\TreeNodeCollection.cs (1)
71throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\TreeView.cs (12)
577throw new ArgumentOutOfRangeException("ImageIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "ImageIndex", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 764throw new ArgumentOutOfRangeException("Indent", SR.GetString(SR.InvalidLowBoundArgumentEx, "Indent", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 767throw new ArgumentOutOfRangeException("Indent", SR.GetString(SR.InvalidHighBoundArgumentEx, "Indent", (value).ToString(CultureInfo.CurrentCulture), (MaxIndent).ToString(CultureInfo.CurrentCulture))); 806throw new ArgumentOutOfRangeException("ItemHeight", SR.GetString(SR.InvalidLowBoundArgumentEx, "ItemHeight", (value).ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture))); 809throw new ArgumentOutOfRangeException("ItemHeight", SR.GetString(SR.InvalidHighBoundArgument, "ItemHeight", (value).ToString(CultureInfo.CurrentCulture), Int16.MaxValue.ToString(CultureInfo.CurrentCulture))); 1066throw new ArgumentOutOfRangeException("SelectedImageIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "SelectedImageIndex", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 2466s += ", Nodes.Count: " + Nodes.Count.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (1)
407throw new ArgumentOutOfRangeException("imageIndex", SR.GetString(SR.InvalidArgument, "imageIndex", imageIndex.ToString(CultureInfo.CurrentCulture)));
System.Windows.Forms.DataVisualization (62)
Common\Annotation\AnnotationBase.cs (1)
3361 pointIndex.ToString(CultureInfo.InvariantCulture);
Common\ChartTypes\BarChart.cs (3)
473 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture) ))); 1162throw (new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 1391 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\BoxPlotChart.cs (2)
326 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 1107 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\BubbleChart.cs (2)
178 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 283throw (new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\ColumnChart.cs (1)
1315 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name,this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\ErrorBarChart.cs (3)
454 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 1100 throw(new ArgumentException(SR.ExceptionChartTypeRequiresYValues( ChartTypeNames.ErrorBar, ((int)(3)).ToString(CultureInfo.CurrentCulture)))); 1208 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues( this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\KagiChart.cs (4)
153series["OldYValuesPerPoint"] = series.YValuesPerPoint.ToString(CultureInfo.InvariantCulture); 375newDataPoint["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture); 414 series.Points[series.Points.Count - 1]["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture); 427newDataPoint["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture);
Common\ChartTypes\PieChart.cs (1)
414 dataPoint["OriginalPointIndex"] = originalDataPointIndex.ToString(CultureInfo.InvariantCulture);
Common\ChartTypes\PointAndFigureChart.cs (5)
177 series["OldYValuesPerPoint"] = series.YValuesPerPoint.ToString(CultureInfo.InvariantCulture); 336 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(ChartTypeNames.PointAndFigure, ((int)(2)).ToString(CultureInfo.CurrentCulture)))); 651 series.Points[series.Points.Count - 1]["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture); 657series.Points[series.Points.Count - 1]["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture); 664 newDataPoint["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture);
Common\ChartTypes\PointChart.cs (1)
1498throw (new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\RenkoChart.cs (2)
156 series["OldYValuesPerPoint"] = series.YValuesPerPoint.ToString(CultureInfo.InvariantCulture); 479 newDataPoint["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture);
Common\ChartTypes\ThreeLineBreakChart.cs (2)
157 series["OldYValuesPerPoint"] = series.YValuesPerPoint.ToString(CultureInfo.InvariantCulture); 457 newDataPoint["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture);
Common\Converters\AnnotationConverters.cs (1)
85return dataPoint.series.Name + " - " + SR.DescriptionTypePoint + pointIndex.ToString(CultureInfo.InvariantCulture);
Common\Converters\CustomAttributesConverters.cs (1)
708 return ((int)value).ToString(System.Globalization.CultureInfo.InvariantCulture);
Common\DataManager\DataPoint.cs (7)
200 throw(new ArgumentException( SR.ExceptionDataPointConverterUnavailableSorting(sortBy, series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture) ), "sortBy")); 419throw (new ArgumentOutOfRangeException("yFields", SR.ExceptionDataPointYValuesCountMismatch(series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture)))); 616 throw(new ArgumentOutOfRangeException("yValues", SR.ExceptionDataPointYValuesBindingCountMismatch( series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture) ) ) ); 788throw new ArgumentOutOfRangeException("yFields", SR.ExceptionDataPointYValuesCountMismatch(series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture))); 797throw new ArgumentOutOfRangeException("yFields", SR.ExceptionDataPointYValuesCountMismatch(series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture))); 2188 throw(new ArgumentOutOfRangeException("yValue", SR.ExceptionDataPointYValuesSettingCountMismatch(base.series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture)))); 2468 result = result.Replace(KeywordName.Index, this.series.Points.IndexOf(this).ToString(System.Globalization.CultureInfo.InvariantCulture));
Common\DataManager\DataSeries.cs (9)
659throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("PixelPointDepth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 689throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("PixelPointGapDepth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 758throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("MinPixelPointWidth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 813throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("PixelPointWidth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 1073 throw(new InvalidOperationException( SR.ExceptionDataSeriesYValueIndexNotExists(yValueIndex.ToString(CultureInfo.InvariantCulture), this.Name ) ) );
Common\Formulas\PriceIndicators.cs (2)
96 parList[0] = period.ToString(System.Globalization.CultureInfo.InvariantCulture); 274 parList[0] = period.ToString(System.Globalization.CultureInfo.InvariantCulture);
Common\Formulas\TimeSeriesAndForecasting.cs (1)
199throw new InvalidOperationException(SR.ExceptionForecastingNotEnoughDataPoints(degree.ToString(System.Globalization.CultureInfo.InvariantCulture)));
Common\General\BaseCollections.cs (1)
378result = prefix + i.ToString(CultureInfo.InvariantCulture);
Common\General\Chart.cs (1)
804 throw(new ArgumentOutOfRangeException("dataSource", SR.ExceptionDataPointYValuesCountMismatch(series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture) ) ) );
Common\General\DataManipulator.cs (3)
433 point["_Index"] = pointIndex.ToString(System.Globalization.CultureInfo.InvariantCulture); 1004 seriesTable.Columns.Add("Y" + (yIndex + 1).ToString(System.Globalization.CultureInfo.InvariantCulture), columnType); 1064 dataRow["Y" + (yIndex + 1).ToString(System.Globalization.CultureInfo.InvariantCulture)] = yValue;
Common\General\Statistics.cs (6)
574 parameter += "," + firstDegreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 575 parameter += "," + secondDegreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 616 parameter += "," + firstDegreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 617 parameter += "," + secondDegreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 658 parameter += "," + degreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 707 parameter += "," + degreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture);
Common\General\Title.cs (2)
492throw (new ArgumentOutOfRangeException("value", SR.ExceptionValueMustBeInRange("DockingOffset", (-100).ToString(CultureInfo.CurrentCulture), (100).ToString(CultureInfo.CurrentCulture))));
Common\Utilities\XmlSerializer.cs (1)
1494attrib.Value = itemIndex.ToString(CultureInfo.InvariantCulture);
System.Workflow.Activities (15)
Common\CompModHelpers.cs (2)
553Debug.WriteLine("Error loading install directory: " + error.ToString(CultureInfo.CurrentCulture)); 603Debug.WriteLine("Error loading 3.0 install directory: " + error.ToString(CultureInfo.CurrentCulture));
Common\DelegateTypeInfo.cs (1)
86paramName = "param" + index.ToString(CultureInfo.InvariantCulture);
Rules\ArithmeticLiteral.cs (2)
878return (v + m_value.ToString(CultureInfo.CurrentCulture)); 3364return (v.ToString(CultureInfo.CurrentCulture) + m_value);
Rules\Design\Dialogs\ConditionBrowserDialog.cs (1)
183string newRuleName = newRuleNameBase + index.ToString(CultureInfo.InvariantCulture);
Rules\Design\Dialogs\RuleSetDialog.cs (3)
158this.priorityTextBox.Text = rule.Priority.ToString(CultureInfo.CurrentCulture); 436listViewItem.SubItems[1].Text = rule.Priority.ToString(CultureInfo.CurrentCulture); 448string newRuleName = newRuleNameBase + index.ToString(CultureInfo.InvariantCulture);
Rules\Expressions.cs (5)
1334message = string.Format(CultureInfo.CurrentCulture, Messages.NullMethodParameter, i.ToString(CultureInfo.CurrentCulture), invokeExpr.Method.MethodName); 1661string message = string.Format(CultureInfo.CurrentCulture, Messages.NullMethodTypeParameter, i.ToString(CultureInfo.CurrentCulture), invokeExpr.Method.MethodName); 2953message = string.Format(CultureInfo.CurrentCulture, Messages.NullConstructorParameter, i.ToString(CultureInfo.CurrentCulture), RuleDecompiler.DecompileType(resultType)); 3157string message = string.Format(CultureInfo.CurrentCulture, Messages.NullConstructorTypeParameter, i.ToString(CultureInfo.CurrentCulture), createExpression.CreateType); 3456string message = string.Format(CultureInfo.CurrentCulture, Messages.NullConstructorTypeParameter, i.ToString(CultureInfo.CurrentCulture), createExpression.CreateType);
Rules\RuleSetCollection.cs (1)
114newName = nameBase + i.ToString(CultureInfo.InvariantCulture);
System.Workflow.ComponentModel (33)
AuthoringOM\Activity.cs (4)
994dottedPathBuilder.Insert(0, thisActivityIndex.ToString(CultureInfo.InvariantCulture)); //15 2206lookupPath += this.activities.IndexOf(childActivity).ToString(CultureInfo.InvariantCulture); 2296Activity childActivity = (Activity)deserializedActivities[prefix.Length == 0 ? index.ToString(CultureInfo.InvariantCulture) : prefix + "." + index.ToString(CultureInfo.InvariantCulture)];
AuthoringOM\ActivityExecutorDelegateInfo.cs (1)
356return "SubscriptionEvent(" + "(" + this.ContextId.ToString(CultureInfo.CurrentCulture) + ")" + this.activityQualifiedName + ", " + this.args.ToString() + ")";
AuthoringOM\ActivityExecutorOperation.cs (1)
159return "ActivityOperation(" + "(" + this.ContextId.ToString(CultureInfo.CurrentCulture) + ")" + this.activityName + ", " + ActivityOperationToString(this.operation) + ")";
AuthoringOM\ActivityStatusChangeEventArgs.cs (1)
67return "ActivityStatusChange('" + "(" + this.stateId.ToString(CultureInfo.CurrentCulture) + ")" + this.activityQualifiedName + "', " + Activity.ActivityExecutionStatusEnumToString(this.ExecutionStatus) + ", " + Activity.ActivityExecutionResultEnumToString(this.ExecutionResult) + ")";
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (1)
221string parsedTypeName = baseTypeName + "`" + genericParamTypeNames.Length.ToString(CultureInfo.InvariantCulture) + "[";
AuthoringOM\Compiler\XomlCompiler.cs (7)
632Results.Errors.Add(new WorkflowCompilerError(this.Filename, -1, -1, ErrorNumbers.Error_TypeNotAuthorized.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_TypeNotAuthorized, SR.GetString(SR.NullConditionExpression)))); 652Results.Errors.Add(new WorkflowCompilerError(this.Filename, -1, -1, ErrorNumbers.Error_TypeNotAuthorized.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_TypeNotAuthorized, typeToAuthorize))); 772results.Errors.Add(new WorkflowCompilerError(String.Empty, -1, -1, ErrorNumbers.Error_UnknownCompilerException.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_CompilationFailed, e.Message))); 1062results.Errors.Add(new WorkflowCompilerError(fileName, -1, -1, ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture), error.ToString())); 1076results.Errors.Add(new WorkflowCompilerError(fileName, -1, -1, ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_CompilationFailed, e.Message))); 1082results.Errors.Add(new WorkflowCompilerError(fileName, 1, 1, ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_RootActivityTypeInvalid))); 1089results.Errors.Add(new WorkflowCompilerError(fileName, 1, 1, ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_CannotCompile_No_XClass)));
AuthoringOM\Compiler\XomlCompilerError.cs (1)
56this.ErrorNumber = ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture);
AuthoringOM\Compiler\XomlCompilerHelpers.cs (4)
52new WorkflowCompilerError(string.Empty, 0, 0, ErrorNumbers.Error_LibraryPath.ToString(CultureInfo.InvariantCulture), string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.LibraryPathIsInvalid), libraryPath)); 198WorkflowCompilerError compilerError = new WorkflowCompilerError(string.Empty, 0, 0, ErrorNumbers.Error_TypeLoad.ToString(CultureInfo.InvariantCulture), entry.Value.Message); 483WorkflowCompilerError compilerError = new WorkflowCompilerError(string.Empty, 0, 0, ErrorNumbers.Error_InvalidReferencedAssembly.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_ReferencedAssemblyIsInvalid, reference)); 551compilerError.ErrorNumber = "WF" + error.ErrorNumber.ToString(CultureInfo.InvariantCulture);
AuthoringOM\Design\CompositeActivityDesigner.cs (1)
942DesignerHelpers.UpdateSiteName(nestedActivity, "_activityonthemove_" + i.ToString(CultureInfo.InvariantCulture));
AuthoringOM\Design\DesignerHelpers.cs (1)
1686uniqueName = name + "_" + (++tryCount).ToString(CultureInfo.InvariantCulture);
AuthoringOM\Design\DesignerWidgets.cs (3)
234graphics.DrawString(index.ToString(CultureInfo.CurrentCulture), Control.DefaultFont, SystemBrushes.ControlText, (RectangleF)itemRectangle, format); 3534previewModeDescription += " [" + index.ToString(CultureInfo.CurrentCulture) + "/" + previewedActivities.Count.ToString(CultureInfo.CurrentCulture) + "]";
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
1087Activity.Name = Activity.GetType().Name + id.ToString(CultureInfo.InvariantCulture);
AuthoringOM\Design\SequenceDesignerAccessibleObject.cs (1)
139return DR.GetString(DR.ConnectorDesc, this.connectorHitInfo.MapToIndex().ToString(CultureInfo.InvariantCulture), Parent.Name);
AuthoringOM\Design\Themes.cs (1)
331tempThemePath = Path.Combine(path, DR.GetString(DR.MyFavoriteTheme) + i.ToString(CultureInfo.InvariantCulture) + ".wtm");
AuthoringOM\Design\WorkflowPrinting.cs (2)
245headerFooter = headerFooter.Replace("{#}", headerFooterPrintData.CurrentPage.ToString(CultureInfo.CurrentCulture)); 246headerFooter = headerFooter.Replace("{##}", headerFooterPrintData.TotalPages.ToString(CultureInfo.CurrentCulture));
Shared\CompModHelpers.cs (2)
551Debug.WriteLine("Error loading install directory: " + error.ToString(CultureInfo.CurrentCulture)); 601Debug.WriteLine("Error loading 3.0 install directory: " + error.ToString(CultureInfo.CurrentCulture));
Shared\DelegateTypeInfo.cs (1)
85paramName = "param" + index.ToString(CultureInfo.InvariantCulture);
System.Workflow.Runtime (12)
Tracking\SqlTrackingService.cs (12)
1573string index = (i + 1).ToString(CultureInfo.InvariantCulture); 1620string paramIdString = parameterId.ToString(CultureInfo.InvariantCulture); 1844string index = (i++).ToString(CultureInfo.InvariantCulture); 1870string index = (i + 1).ToString(CultureInfo.InvariantCulture); 1920string index = (i++).ToString(CultureInfo.InvariantCulture); 1984string index = (i++).ToString(CultureInfo.InvariantCulture); 2190return dateTime.Year.ToString(System.Globalization.CultureInfo.InvariantCulture) + PadToDblDigit(dateTime.Month) + PadToDblDigit(dateTime.Day) + " " + dateTime.Hour.ToString(System.Globalization.CultureInfo.InvariantCulture) + ":" + dateTime.Minute.ToString(System.Globalization.CultureInfo.InvariantCulture) + ":" + dateTime.Second.ToString(System.Globalization.CultureInfo.InvariantCulture) + ":" + dateTime.Millisecond.ToString(System.Globalization.CultureInfo.InvariantCulture); 2196string s = num.ToString(System.Globalization.CultureInfo.InvariantCulture);
System.Xml (107)
System\Xml\Core\XmlReader.cs (2)
1384lineArgs[0] = lineInfo.LineNumber.ToString(CultureInfo.InvariantCulture); 1385lineArgs[1] = lineInfo.LinePosition.ToString(CultureInfo.InvariantCulture);
System\Xml\Core\XmlTextReaderImpl.cs (2)
4244args[1] = startTag.lineInfo.lineNo.ToString(CultureInfo.InvariantCulture); 4245args[2] = startTag.lineInfo.linePos.ToString(CultureInfo.InvariantCulture);
System\Xml\Core\XmlTextReaderImplAsync.cs (2)
2118args[1] = startTag.lineInfo.lineNo.ToString(CultureInfo.InvariantCulture); 2119args[2] = startTag.lineInfo.linePos.ToString(CultureInfo.InvariantCulture);
System\Xml\Core\XmlWellFormedWriter.cs (1)
1765s = string.Concat(genPrefix, i.ToString(CultureInfo.InvariantCulture));
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\Serialization\CodeIdentifiers.cs (1)
93string newIdentifier = identifier + i.ToString(CultureInfo.InvariantCulture);
System\Xml\Serialization\Compiler.cs (1)
202stringWriter.WriteLine(Res.GetString(Res.XmlCompilerError, results.NativeCompilerReturnValue.ToString(CultureInfo.InvariantCulture)));
System\Xml\Serialization\SoapReflectionImporter.cs (1)
492uniqueName = itemTypeName + i.ToString(CultureInfo.InvariantCulture);
System\Xml\Serialization\XmlReflectionImporter.cs (3)
797throw new InvalidOperationException(Res.GetString(Res.XmlSequenceUnique, member.SequenceId.ToString(CultureInfo.InvariantCulture), "Order", member.Name)); 943uniqueName = name + i.ToString(CultureInfo.InvariantCulture); 1830string ns = items[i].NestingLevel.ToString(CultureInfo.InvariantCulture);
System\Xml\Serialization\XmlSchemaExporter.cs (2)
154name = "any" + i.ToString(CultureInfo.InvariantCulture); 196name = baseName + i.ToString(CultureInfo.InvariantCulture);
System\Xml\Serialization\XmlSchemaImporter.cs (1)
439typeName = desiredName + i.ToString(CultureInfo.InvariantCulture);
System\Xml\Serialization\XmlSerializationReader.cs (26)
1489throw new InvalidOperationException(Res.GetString(Res.XmlInvalidArrayRef, id, o.GetType().FullName, i.ToString(CultureInfo.InvariantCulture))); 2019this.arrayName = arrayName + "_" + i.ToString(CultureInfo.InvariantCulture); 2311choiceSource = "p[" + j.ToString(CultureInfo.InvariantCulture) + "]"; 2343Writer.Write(mappings.Length.ToString(CultureInfo.InvariantCulture)); 2364string source = "p[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 2373member.ParamsReadSource = "paramsRead[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 2378member.CheckSpecifiedSource = "p[" + j.ToString(CultureInfo.InvariantCulture) + "]"; 2475Writer.Write(i.ToString(CultureInfo.InvariantCulture)); 2504Writer.Write(mappings.Length.ToString(CultureInfo.InvariantCulture)); 2523string source = "p[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 2530member.ParamsReadSource = "paramsRead[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 2537member.CheckSpecifiedSource = "p[" + j.ToString(CultureInfo.InvariantCulture) + "]"; 2644return "Read" + (++NextMethodNumber).ToString(CultureInfo.InvariantCulture) + "_" + CodeIdentifier.MakeValidInternal(name); 2648return "id" + (++nextIdNumber).ToString(CultureInfo.InvariantCulture) + "_" + CodeIdentifier.MakeValidInternal(name); 2703uniqueName = name + i.ToString(CultureInfo.InvariantCulture); 3102member.ParamsReadSource = "paramsRead[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 3230member.ParamsReadSource = "paramsRead[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 3276string fixupIndex = member.FixupIndex.ToString(CultureInfo.InvariantCulture); 3324string createName = "create" + (++nextCreateMethodNumber).ToString(CultureInfo.InvariantCulture) + "_" + typeDesc.Name; 3623Writer.Write(fixupCount.ToString(CultureInfo.InvariantCulture)); 3913Writer.Write(cases.ToString(CultureInfo.InvariantCulture)); 3975Writer.Write(member.FixupIndex.ToString(CultureInfo.InvariantCulture)); 4000Writer.Write(cases.ToString(CultureInfo.InvariantCulture)); 4165Writer.Write((fixupIndex).ToString(CultureInfo.InvariantCulture)); 4357Writer.Write((fixupIndex).ToString(CultureInfo.InvariantCulture)); 4567Writer.Write(length.ToString(CultureInfo.InvariantCulture));
System\Xml\Serialization\XmlSerializationReaderILGen.cs (9)
88this.arrayName = arrayName + "_" + i.ToString(CultureInfo.InvariantCulture); 381choiceSource = "p[" + j.ToString(CultureInfo.InvariantCulture) + "]"; 455string source = "p[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 464member.ParamsReadSource = "paramsRead[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 469member.CheckSpecifiedSource = "p[" + j.ToString(CultureInfo.InvariantCulture) + "]"; 691return "Read" + (++NextMethodNumber).ToString(CultureInfo.InvariantCulture) + "_" + CodeIdentifier.MakeValidInternal(name); 695return "id" + (++nextIdNumber).ToString(CultureInfo.InvariantCulture) + "_" + CodeIdentifier.MakeValidInternal(name); 957uniqueName = name + i.ToString(CultureInfo.InvariantCulture); 1576member.ParamsReadSource = "paramsRead[" + i.ToString(CultureInfo.InvariantCulture) + "]";
System\Xml\Serialization\XmlSerializationWriter.cs (18)
787id = idBase + "id" + (++nextId).ToString(CultureInfo.InvariantCulture); 1124w.WriteAttributeString("arraySize", Soap12.Encoding, arrayLength.ToString(CultureInfo.InvariantCulture)); 1127w.WriteAttributeString("arrayType", Soap.Encoding, GetQualifiedName(typeName, typeNs) + "[" + arrayLength.ToString(CultureInfo.InvariantCulture) + "]"); 1143w.WriteAttributeString("arraySize", Soap12.Encoding, arrayLength.ToString(CultureInfo.InvariantCulture)); 1633string source = "((" + typeof(XmlSerializerNamespaces).FullName + ")p[" + xmlnsMember.ToString(CultureInfo.InvariantCulture) + "])"; 1636Writer.Write(xmlnsMember.ToString(CultureInfo.InvariantCulture)); 1648string source = "p[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 1656specifiedSource = "((bool) p[" + j.ToString(CultureInfo.InvariantCulture) + "])"; 1664Writer.Write(i.ToString(CultureInfo.InvariantCulture)); 1670Writer.Write(specifiedPosition.ToString(CultureInfo.InvariantCulture)); 1704specifiedSource = "((bool) p[" + j.ToString(CultureInfo.InvariantCulture) + "])"; 1712Writer.Write(i.ToString(CultureInfo.InvariantCulture)); 1718Writer.Write(specifiedPosition.ToString(CultureInfo.InvariantCulture)); 1725string source = "p[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 1731enumSource = "p[" + j.ToString(CultureInfo.InvariantCulture) + "]"; 1733enumSource = "((" + mapping.Members[j].TypeDesc.CSharpName + ")p[" + j.ToString(CultureInfo.InvariantCulture) + "]" + ")"; 1772Writer.Write(mapping.Members.Length.ToString(CultureInfo.InvariantCulture)); 1776WriteExtraMembers(mapping.Members.Length.ToString(CultureInfo.InvariantCulture), "pLength");
System\Xml\Serialization\XmlSerializationWriterILGen.cs (6)
370string source = "((" + typeof(XmlSerializerNamespaces).FullName + ")p[" + xmlnsMember.ToString(CultureInfo.InvariantCulture) + "])"; 383SourceInfo source = new SourceInfo("p[" + i.ToString(CultureInfo.InvariantCulture) + "]", null, null, pLengthLoc.LocalType.GetElementType(), ilg); 391specifiedSource = new SourceInfo("((bool)p[" + j.ToString(CultureInfo.InvariantCulture) + "])", null, null, typeof(bool), ilg); 441specifiedSource = new SourceInfo("((bool)p[" + j.ToString(CultureInfo.InvariantCulture) + "])", null, null, typeof(bool), ilg); 466string source = "p[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 471enumSource = "((" + mapping.Members[j].TypeDesc.CSharpName + ")p[" + j.ToString(CultureInfo.InvariantCulture) + "]" + ")";
System\Xml\Serialization\XmlSerializer.cs (2)
432throw new InvalidOperationException(Res.GetString(Res.XmlSerializeErrorDetails, lineInfo.LineNumber.ToString(CultureInfo.InvariantCulture), lineInfo.LinePosition.ToString(CultureInfo.InvariantCulture)), e);
System\Xml\XmlException.cs (2)
199string lineNumberStr = lineNumber.ToString(CultureInfo.InvariantCulture); 200string linePositionStr = linePosition.ToString(CultureInfo.InvariantCulture);
System\Xml\Xslt\XsltException.cs (4)
113message += " " + FormatMessage(Res.Xml_ErrorFilePosition, sourceUri, lineNumber.ToString(CultureInfo.InvariantCulture), linePosition.ToString(CultureInfo.InvariantCulture)); 150new string[] { sourceUri, lineNumber.ToString(CultureInfo.InvariantCulture), linePosition.ToString(CultureInfo.InvariantCulture) },
UIAutomationClient (1)
MS\Internal\Automation\HwndProxyElementProvider.cs (1)
122return id.ToString(CultureInfo.InvariantCulture);
UIAutomationClientsideProviders (11)
MS\Internal\AutomationProxies\WindowsIPAddress.cs (2)
326_sAutomationId = "Octet " + position.ToString(CultureInfo.CurrentCulture); // This string is a non-localizable string 398Misc.ProxySendMessage(_hwnd, NativeMethods.WM_SETTEXT, IntPtr.Zero, new StringBuilder(i.ToString(CultureInfo.CurrentCulture)));
MS\Internal\AutomationProxies\WindowsListViewGroup.cs (1)
43_sAutomationId = "Group " + (groupID + 1).ToString(CultureInfo.InvariantCulture); // This string is a non-localizable string
MS\Internal\AutomationProxies\WindowsMenu.cs (5)
1197_sAutomationId = "Separator " + (_item + 1).ToString(CultureInfo.InvariantCulture); // This string is a non-localizable string 2501return "F" + iKey.ToString(CultureInfo.CurrentCulture); 2527itemId = "Item " + result.ToString(CultureInfo.CurrentCulture); 2534itemId = "Item " + (_item + 1).ToString(CultureInfo.CurrentCulture); 2878_sAutomationId = "Item " + (item).ToString(CultureInfo.CurrentCulture);
MS\Internal\AutomationProxies\WindowsStatusBar.cs (1)
440_sAutomationId = "StatusBar.Pane" + item.ToString(CultureInfo.CurrentCulture); // This string is a non-localizable string
MS\Internal\AutomationProxies\WindowsSysHeader.cs (1)
386_sAutomationId = "HeaderItem " + item.ToString(CultureInfo.InvariantCulture);
MS\Internal\AutomationProxies\WindowsToolbar.cs (1)
643itemId = "Item " + tbb.idCommand.ToString(CultureInfo.CurrentCulture);
WindowsBase (4)
Base\MS\Internal\IO\Packaging\CompoundFile\NativeCompoundFileAPIs.cs (3)
692throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "cb", cb.ToString(CultureInfo.InvariantCulture))); 704throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "cb", cb.ToString(CultureInfo.InvariantCulture))); 718throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "dwOrigin", dwOrigin.ToString(CultureInfo.InvariantCulture)));
Base\MS\Internal\IO\Packaging\CompoundFile\PrivateUnsafeNativeCompoundFileMethods.cs (1)
219throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "grfStatFlag", grfStatFlag.ToString(CultureInfo.InvariantCulture)));
WsatUI (1)
MMCUI\TraceOptionsForm.cs (1)
52textLogFileSize.Text = ETWWsatTraceSession.DefaultLogFileSize.ToString(System.Globalization.CultureInfo.InvariantCulture);
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTaskInternal.cs (1)
589markupItemName = originalMarkupItemName + "." + (++i).ToString(CultureInfo.InvariantCulture);