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