Implemented interface member:
method
ToString
System.IConvertible.ToString(System.IFormatProvider)
113 references to ToString
mscorlib (8)
system\convert.cs (2)
1931
return value.
ToString
(CultureInfo.CurrentCulture);
1936
return value.
ToString
(provider);
system\io\textwriter.cs (1)
276
Write(value.
ToString
(FormatProvider));
system\text\stringbuilder.cs (2)
968
return Append(value.
ToString
(CultureInfo.CurrentCulture));
1208
return Insert(index, value.
ToString
(CultureInfo.CurrentCulture), 1);
system\timezoneinfo.cs (3)
3572
zone.BaseUtcOffset.TotalMinutes.
ToString
(CultureInfo.InvariantCulture)));
3594
serializedText.Append(SerializeSubstitute(rule.DaylightDelta.TotalMinutes.
ToString
(CultureInfo.InvariantCulture)));
3602
serializedText.Append(SerializeSubstitute(rule.BaseUtcOffsetDelta.TotalMinutes.
ToString
(CultureInfo.InvariantCulture)));
PresentationCore (4)
Core\CSharp\MS\Internal\IListConverters.cs (1)
135
builder.Append(list[i].
ToString
(culture));
Core\CSharp\MS\Internal\Ink\StrokeFIndices.cs (1)
149
return fIndex.
ToString
(CultureInfo.InvariantCulture);
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimation.cs (2)
331
defaultOriginValue.
ToString
(CultureInfo.InvariantCulture)));
342
defaultDestinationValue.
ToString
(CultureInfo.InvariantCulture)));
PresentationFramework (23)
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (4)
229
value += fp.Segments[i].Start.X.
ToString
(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator[0] + fp.Segments[i].Start.Y.
ToString
(NumberFormatInfo.InvariantInfo);
238
value += 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)
824
sncAnnotation.UpdateAttribute(root, XmlToken.Height, height.
ToString
(CultureInfo.InvariantCulture));
832
sncAnnotation.UpdateAttribute(root, XmlToken.Width, width.
ToString
(CultureInfo.InvariantCulture));
849
sncAnnotation.UpdateAttribute(root, XmlToken.Left, left.
ToString
(CultureInfo.InvariantCulture));
855
sncAnnotation.UpdateAttribute(root, XmlToken.Top, snc.PositionTransform.Y.
ToString
(CultureInfo.InvariantCulture));
861
sncAnnotation.UpdateAttribute(root, XmlToken.XOffset, snc.XOffset.
ToString
(CultureInfo.InvariantCulture));
867
sncAnnotation.UpdateAttribute(root, XmlToken.YOffset, snc.YOffset.
ToString
(CultureInfo.InvariantCulture));
src\Framework\System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (2)
159
throw new ArgumentOutOfRangeException("horizontalPercent", SR.Get(SRID.ScrollViewer_OutOfRange, "horizontalPercent", horizontalPercent.
ToString
(CultureInfo.InvariantCulture), "0", "100"));
163
throw new ArgumentOutOfRangeException("verticalPercent", SR.Get(SRID.ScrollViewer_OutOfRange, "verticalPercent", verticalPercent.
ToString
(CultureInfo.InvariantCulture), "0", "100"));
src\Framework\System\Windows\Controls\VirtualizationCacheLengthConverter.cs (2)
197
sb.Append(cacheLength.CacheBeforeViewport.
ToString
(cultureInfo));
199
sb.Append(cacheLength.CacheAfterViewport.
ToString
(cultureInfo));
src\Framework\System\Windows\CornerRadiusConverter.cs (4)
192
sb.Append(cr.TopLeft.
ToString
(cultureInfo));
194
sb.Append(cr.TopRight.
ToString
(cultureInfo));
196
sb.Append(cr.BottomRight.
ToString
(cultureInfo));
198
sb.Append(cr.BottomLeft.
ToString
(cultureInfo));
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (4)
4904
sb.Append((fs / 2).
ToString
(CultureInfo.InvariantCulture));
8772
imageStringBuilder.Append(width.
ToString
(CultureInfo.InvariantCulture));
8786
imageStringBuilder.Append(height.
ToString
(CultureInfo.InvariantCulture));
8794
imageStringBuilder.Append(baselineOffset.
ToString
(CultureInfo.InvariantCulture));
src\Framework\System\Windows\FontSizeConverter.cs (1)
126
return fs.
ToString
(culture);
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (2)
1192
return _parent._sharedWidthContainer.ValueColumnPercentage.
ToString
(CultureInfo.InvariantCulture);
1216
Debug.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)
1192
return _parent._sharedWidthContainer.ValueColumnPercentage.
ToString
(CultureInfo.InvariantCulture);
1216
Debug.Fail("Invalid percentage width stored in PI state: " + percentage.
ToString
(CultureInfo.InvariantCulture));
fx\src\data\System\Data\SQLTypes\SQLDouble.cs (1)
113
return IsNull ? SQLResource.NullString : m_value.
ToString
((IFormatProvider)null);
fx\src\data\System\Data\SQLTypes\SQLString.cs (1)
559
return x.IsNull ? Null : new SqlString((x.Value).
ToString
((IFormatProvider)null));
System.Data.Entity (2)
System\Data\Common\EntityUtil.cs (1)
601
return 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)
235
dbgName.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)
611
return val.
ToString
(CultureInfo.InvariantCulture);
System.Web (2)
UI\Html32TextWriter.cs (1)
280
return 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)
627
throw new ArgumentException(SR.ExceptionValueMustBeInRange("Width", (-WidthHightLimit).
ToString
(CultureInfo.CurrentCulture), WidthHightLimit.
ToString
(CultureInfo.CurrentCulture)));
679
throw 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)
508
converter = val => Convert.ToDouble(val, CultureInfo.InvariantCulture).
ToString
(CultureInfo.InvariantCulture);
System.Windows.Forms (2)
winforms\Managed\System\WinForms\OpacityConverter.cs (1)
53
text = val.
ToString
(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
4561
Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose, "\tlabelRatio :" + (labelRatio).
ToString
(CultureInfo.InvariantCulture));
System.Windows.Forms.DataVisualization (29)
Common\Annotation\AnnotationBase.cs (4)
627
throw new ArgumentException(SR.ExceptionValueMustBeInRange("Width", (-WidthHightLimit).
ToString
(CultureInfo.CurrentCulture), WidthHightLimit.
ToString
(CultureInfo.CurrentCulture)));
679
throw 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)
2917
return (v + m_value.
ToString
(CultureInfo.CurrentCulture));
3384
return (v.
ToString
(CultureInfo.CurrentCulture) + m_value);