Implemented interface member:
method
ToString
System.IConvertible.ToString(System.IFormatProvider)
34 references to ToString
mscorlib (11)
system\convert.cs (2)
1941
return value.
ToString
(CultureInfo.CurrentCulture);
1946
return value.
ToString
(provider);
system\io\textwriter.cs (1)
280
Write(value.
ToString
(FormatProvider));
system\runtime\remoting\soapinteroptypes.cs (5)
1097
return _value.
ToString
(CultureInfo.InvariantCulture);
1160
return _value.
ToString
(CultureInfo.InvariantCulture);
1222
return _value.
ToString
(CultureInfo.InvariantCulture);
1284
return _value.
ToString
(CultureInfo.InvariantCulture);
1346
return _value.
ToString
(CultureInfo.InvariantCulture);
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (1)
100
WriteString(value.
ToString
(CultureInfo.InvariantCulture));
system\text\stringbuilder.cs (2)
973
return Append(value.
ToString
(CultureInfo.CurrentCulture));
1213
return Insert(index, value.
ToString
(CultureInfo.CurrentCulture), 1);
PresentationCore (2)
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalAnimation.cs (2)
331
defaultOriginValue.
ToString
(CultureInfo.InvariantCulture)));
342
defaultDestinationValue.
ToString
(CultureInfo.InvariantCulture)));
System (3)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
2039
Output.Write(d.
ToString
(CultureInfo.InvariantCulture));
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
1250
Output.Write(d.
ToString
(CultureInfo.InvariantCulture));
compmod\system\codedom\compiler\CodeGenerator.cs (1)
1560
Output.Write(d.
ToString
(CultureInfo.InvariantCulture));
System.Data (8)
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (1)
2467
throw SQL.MoneyOverflow(decimalValue.
ToString
(CultureInfo.InvariantCulture));
fx\src\data\System\Data\Common\AdapterUtil.cs (1)
1582
return ADP.Argument(Res.GetString(Res.ADP_ParameterValueOutOfRange, value.
ToString
((IFormatProvider)null)));
fx\src\data\System\Data\Odbc\OdbcParameter.cs (1)
597
value = ((Decimal)value).
ToString
(CultureInfo.CurrentCulture);
fx\src\data\System\Data\SqlClient\TdsParser.cs (3)
6174
throw SQL.MoneyOverflow(decimalValue.
ToString
(CultureInfo.InvariantCulture));
6199
throw SQL.MoneyOverflow(value.
ToString
(CultureInfo.InvariantCulture));
6238
throw SQL.MoneyOverflow(value.
ToString
(CultureInfo.InvariantCulture));
fx\src\data\System\Data\xmlsaver.cs (2)
617
el.SetAttribute(Keywords.MINOCCURS, top[i].MinOccurs.
ToString
(CultureInfo.InvariantCulture));
623
el.SetAttribute(Keywords.MAXOCCURS, top[i].MaxOccurs.
ToString
(CultureInfo.InvariantCulture));
System.Data.Entity (1)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
964
string strDecimal = ((Decimal)e.Value).
ToString
(CultureInfo.InvariantCulture);
System.Data.Services (1)
System\Data\Services\Serializers\JsonWriter.cs (1)
251
this.WriteCore(value.
ToString
(CultureInfo.InvariantCulture), /* quotes */ true);
System.Windows.Forms (5)
winforms\Managed\System\WinForms\NumericUpDown.cs (5)
195
throw new ArgumentOutOfRangeException("Increment", SR.GetString(SR.InvalidArgument, "Increment", value.
ToString
(CultureInfo.CurrentCulture)));
375
throw new ArgumentOutOfRangeException("Value", SR.GetString(SR.InvalidBoundArgument, "Value", value.
ToString
(CultureInfo.CurrentCulture), "'Minimum'", "'Maximum'"));
712
s += ", Minimum = " + Minimum.
ToString
(CultureInfo.CurrentCulture) + ", Maximum = " + Maximum.
ToString
(CultureInfo.CurrentCulture);
863
shortText = testNumber.
ToString
(CultureInfo.CurrentCulture);
System.Workflow.Activities (2)
Rules\ArithmeticLiteral.cs (2)
3128
return (v + m_value.
ToString
(CultureInfo.CurrentCulture));
3388
return (v.
ToString
(CultureInfo.CurrentCulture) + m_value);
System.Xml (1)
System\Xml\Schema\FacetChecker.cs (1)
846
return new OverflowException(Res.GetString(Res.XmlConvert_Overflow, value.
ToString
(CultureInfo.InvariantCulture), datatype.TypeCodeString));