Implemented interface member:
method
ToString
System.IConvertible.ToString(System.IFormatProvider)
113 references to ToString
mscorlib (8)
system\convert.cs (2)
1931return value.ToString(CultureInfo.CurrentCulture); 1936return value.ToString(provider);
system\io\textwriter.cs (1)
276Write(value.ToString(FormatProvider));
system\text\stringbuilder.cs (2)
968return Append(value.ToString(CultureInfo.CurrentCulture)); 1208return Insert(index, value.ToString(CultureInfo.CurrentCulture), 1);
system\timezoneinfo.cs (3)
3572zone.BaseUtcOffset.TotalMinutes.ToString(CultureInfo.InvariantCulture))); 3594serializedText.Append(SerializeSubstitute(rule.DaylightDelta.TotalMinutes.ToString(CultureInfo.InvariantCulture))); 3602serializedText.Append(SerializeSubstitute(rule.BaseUtcOffsetDelta.TotalMinutes.ToString(CultureInfo.InvariantCulture)));
PresentationCore (4)
Core\CSharp\MS\Internal\IListConverters.cs (1)
135builder.Append(list[i].ToString(culture));
Core\CSharp\MS\Internal\Ink\StrokeFIndices.cs (1)
149return fIndex.ToString(CultureInfo.InvariantCulture);
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimation.cs (2)
331defaultOriginValue.ToString(CultureInfo.InvariantCulture))); 342defaultDestinationValue.ToString(CultureInfo.InvariantCulture)));
PresentationFramework (23)
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (4)
229value += fp.Segments[i].Start.X.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator[0] + fp.Segments[i].Start.Y.ToString(NumberFormatInfo.InvariantInfo); 238value += fp.Segments[i].End.X.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator[0] + fp.Segments[i].End.Y.ToString(NumberFormatInfo.InvariantInfo);
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (6)
824sncAnnotation.UpdateAttribute(root, XmlToken.Height, height.ToString(CultureInfo.InvariantCulture)); 832sncAnnotation.UpdateAttribute(root, XmlToken.Width, width.ToString(CultureInfo.InvariantCulture)); 849sncAnnotation.UpdateAttribute(root, XmlToken.Left, left.ToString(CultureInfo.InvariantCulture)); 855sncAnnotation.UpdateAttribute(root, XmlToken.Top, snc.PositionTransform.Y.ToString(CultureInfo.InvariantCulture)); 861sncAnnotation.UpdateAttribute(root, XmlToken.XOffset, snc.XOffset.ToString(CultureInfo.InvariantCulture)); 867sncAnnotation.UpdateAttribute(root, XmlToken.YOffset, snc.YOffset.ToString(CultureInfo.InvariantCulture));
src\Framework\System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (2)
159throw new ArgumentOutOfRangeException("horizontalPercent", SR.Get(SRID.ScrollViewer_OutOfRange, "horizontalPercent", horizontalPercent.ToString(CultureInfo.InvariantCulture), "0", "100")); 163throw new ArgumentOutOfRangeException("verticalPercent", SR.Get(SRID.ScrollViewer_OutOfRange, "verticalPercent", verticalPercent.ToString(CultureInfo.InvariantCulture), "0", "100"));
src\Framework\System\Windows\Controls\VirtualizationCacheLengthConverter.cs (2)
197sb.Append(cacheLength.CacheBeforeViewport.ToString(cultureInfo)); 199sb.Append(cacheLength.CacheAfterViewport.ToString(cultureInfo));
src\Framework\System\Windows\CornerRadiusConverter.cs (4)
192sb.Append(cr.TopLeft.ToString(cultureInfo)); 194sb.Append(cr.TopRight.ToString(cultureInfo)); 196sb.Append(cr.BottomRight.ToString(cultureInfo)); 198sb.Append(cr.BottomLeft.ToString(cultureInfo));
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (4)
4904sb.Append((fs / 2).ToString(CultureInfo.InvariantCulture)); 8772imageStringBuilder.Append(width.ToString(CultureInfo.InvariantCulture)); 8786imageStringBuilder.Append(height.ToString(CultureInfo.InvariantCulture)); 8794imageStringBuilder.Append(baselineOffset.ToString(CultureInfo.InvariantCulture));
src\Framework\System\Windows\FontSizeConverter.cs (1)
126return fs.ToString(culture);
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (2)
1192return _parent._sharedWidthContainer.ValueColumnPercentage.ToString(CultureInfo.InvariantCulture); 1216Debug.Fail("Invalid percentage width stored in PI state: " + percentage.ToString(CultureInfo.InvariantCulture));
System.Data (4)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (2)
1192return _parent._sharedWidthContainer.ValueColumnPercentage.ToString(CultureInfo.InvariantCulture); 1216Debug.Fail("Invalid percentage width stored in PI state: " + percentage.ToString(CultureInfo.InvariantCulture));
fx\src\data\System\Data\SQLTypes\SQLDouble.cs (1)
113return IsNull ? SQLResource.NullString : m_value.ToString((IFormatProvider)null);
fx\src\data\System\Data\SQLTypes\SQLString.cs (1)
559return x.IsNull ? Null : new SqlString((x.Value).ToString((IFormatProvider)null));
System.Data.Entity (2)
System\Data\Common\EntityUtil.cs (1)
601return Argument(System.Data.Entity.Strings.InvalidEDMVersion(edmVersion.ToString(CultureInfo.CurrentCulture)));
System\Data\Metadata\MetadataWorkspace.cs (1)
215.Select(e => e.ToString(CultureInfo.InvariantCulture)))));
System.Data.SqlXml (1)
System\Xml\Xsl\Xslt\XslAst.cs (1)
235dbgName.Append(Priority.ToString(CultureInfo.InvariantCulture));
System.Management (2)
managementquery.cs (2)
2971 s = s + " within " + withinInterval.TotalSeconds.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Double))); 2980 s = s + " group within " + groupWithinInterval.TotalSeconds.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Double)));
System.ServiceModel (1)
System\ServiceModel\Dispatcher\QueryModel.cs (1)
611return val.ToString(CultureInfo.InvariantCulture);
System.Web (2)
UI\Html32TextWriter.cs (1)
280return u.Value.ToString(CultureInfo.InvariantCulture);
UI\WebParts\AppearanceEditorPart.cs (1)
324_value.Text = value.Value.ToString(CultureInfo.CurrentCulture);
System.Web.DataVisualization (30)
Common\Annotation\AnnotationBase.cs (4)
627throw new ArgumentException(SR.ExceptionValueMustBeInRange("Width", (-WidthHightLimit).ToString(CultureInfo.CurrentCulture), WidthHightLimit.ToString(CultureInfo.CurrentCulture))); 679throw new ArgumentException(SR.ExceptionValueMustBeInRange("Height", (-WidthHightLimit).ToString(CultureInfo.CurrentCulture), WidthHightLimit.ToString(CultureInfo.CurrentCulture)));
Common\ChartTypes\PointAndFigureChart.cs (1)
451 series["CurrentBoxSize"] = boxSize.ToString(CultureInfo.InvariantCulture);
Common\ChartTypes\RenkoChart.cs (1)
388 series["CurrentBoxSize"] = boxSize.ToString(CultureInfo.InvariantCulture);
Common\Converters\CustomAttributesConverters.cs (1)
704 return ((double)value).ToString(System.Globalization.CultureInfo.InvariantCulture);
Common\Converters\DataManagerConverters.cs (1)
593 result += d.ToString(System.Globalization.CultureInfo.InvariantCulture) + ",";
Common\General\Statistics.cs (21)
122 string parameter = hypothesizedMeanDifference.ToString(System.Globalization.CultureInfo.InvariantCulture); 123 parameter += "," + varianceFirstGroup.ToString(System.Globalization.CultureInfo.InvariantCulture); 124 parameter += "," + varianceSecondGroup.ToString(System.Globalization.CultureInfo.InvariantCulture); 125 parameter += "," + probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 186 string parameter = hypothesizedMeanDifference.ToString(System.Globalization.CultureInfo.InvariantCulture); 187 parameter += "," + probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 249 string parameter = hypothesizedMeanDifference.ToString(System.Globalization.CultureInfo.InvariantCulture); 250 parameter += "," + probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 312 string parameter = hypothesizedMeanDifference.ToString(System.Globalization.CultureInfo.InvariantCulture); 313 parameter += "," + probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 389 string parameter = probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 449 string parameter = probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 497 string parameter = zValue.ToString(System.Globalization.CultureInfo.InvariantCulture); 533 string parameter = probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 573 string parameter = value.ToString(System.Globalization.CultureInfo.InvariantCulture); 615 string parameter = probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 657 string parameter = value.ToString(System.Globalization.CultureInfo.InvariantCulture); 706 string parameter = probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 971 string parameter = m.ToString(System.Globalization.CultureInfo.InvariantCulture); 972 parameter += "," + n.ToString(System.Globalization.CultureInfo.InvariantCulture); 1008 string parameter = value.ToString(System.Globalization.CultureInfo.InvariantCulture);
Common\Utilities\XmlSerializer.cs (1)
1785 return unit.Value.ToString(System.Globalization.CultureInfo.InvariantCulture);
System.Web.DynamicData (1)
DynamicData\FieldTemplateUserControl.cs (1)
508converter = val => Convert.ToDouble(val, CultureInfo.InvariantCulture).ToString(CultureInfo.InvariantCulture);
System.Windows.Forms (2)
winforms\Managed\System\WinForms\OpacityConverter.cs (1)
53text = val.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
4561Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose, "\tlabelRatio :" + (labelRatio).ToString(CultureInfo.InvariantCulture));
System.Windows.Forms.DataVisualization (29)
Common\Annotation\AnnotationBase.cs (4)
627throw new ArgumentException(SR.ExceptionValueMustBeInRange("Width", (-WidthHightLimit).ToString(CultureInfo.CurrentCulture), WidthHightLimit.ToString(CultureInfo.CurrentCulture))); 679throw new ArgumentException(SR.ExceptionValueMustBeInRange("Height", (-WidthHightLimit).ToString(CultureInfo.CurrentCulture), WidthHightLimit.ToString(CultureInfo.CurrentCulture)));
Common\ChartTypes\PointAndFigureChart.cs (1)
451 series["CurrentBoxSize"] = boxSize.ToString(CultureInfo.InvariantCulture);
Common\ChartTypes\RenkoChart.cs (1)
388 series["CurrentBoxSize"] = boxSize.ToString(CultureInfo.InvariantCulture);
Common\Converters\CustomAttributesConverters.cs (1)
704 return ((double)value).ToString(System.Globalization.CultureInfo.InvariantCulture);
Common\Converters\DataManagerConverters.cs (1)
593 result += d.ToString(System.Globalization.CultureInfo.InvariantCulture) + ",";
Common\General\Statistics.cs (21)
122 string parameter = hypothesizedMeanDifference.ToString(System.Globalization.CultureInfo.InvariantCulture); 123 parameter += "," + varianceFirstGroup.ToString(System.Globalization.CultureInfo.InvariantCulture); 124 parameter += "," + varianceSecondGroup.ToString(System.Globalization.CultureInfo.InvariantCulture); 125 parameter += "," + probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 186 string parameter = hypothesizedMeanDifference.ToString(System.Globalization.CultureInfo.InvariantCulture); 187 parameter += "," + probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 249 string parameter = hypothesizedMeanDifference.ToString(System.Globalization.CultureInfo.InvariantCulture); 250 parameter += "," + probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 312 string parameter = hypothesizedMeanDifference.ToString(System.Globalization.CultureInfo.InvariantCulture); 313 parameter += "," + probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 389 string parameter = probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 449 string parameter = probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 497 string parameter = zValue.ToString(System.Globalization.CultureInfo.InvariantCulture); 533 string parameter = probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 573 string parameter = value.ToString(System.Globalization.CultureInfo.InvariantCulture); 615 string parameter = probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 657 string parameter = value.ToString(System.Globalization.CultureInfo.InvariantCulture); 706 string parameter = probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 971 string parameter = m.ToString(System.Globalization.CultureInfo.InvariantCulture); 972 parameter += "," + n.ToString(System.Globalization.CultureInfo.InvariantCulture); 1008 string parameter = value.ToString(System.Globalization.CultureInfo.InvariantCulture);
System.Workflow.Activities (2)
Rules\ArithmeticLiteral.cs (2)
2917return (v + m_value.ToString(CultureInfo.CurrentCulture)); 3384return (v.ToString(CultureInfo.CurrentCulture) + m_value);