18 implementations of ToString
Microsoft.Gen.Logging.Generated.Tests (1)
test\Generators\Microsoft.Gen.Logging\TestClasses\FormattableTestExtensions.cs (1)
47public readonly string ToString(IFormatProvider? provider) => "Converted!";
System.Private.CoreLib (17)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Boolean.cs (1)
90public string ToString(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
146public string ToString(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
182public string ToString(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\DateTime.cs (1)
1754public string ToString(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\DBNull.cs (1)
32public string ToString(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
492public string ToString(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
369public string ToString(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Enum.cs (1)
1443public string ToString(IFormatProvider? provider) =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
103public string ToString(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
124public string ToString(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
116public string ToString(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
111public string ToString(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
357public string ToString(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.cs (1)
588public string ToString(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
98public string ToString(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
114public string ToString(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
113public string ToString(IFormatProvider? provider)
20 references to ToString
ILCompiler.Compiler (1)
parent\parent\Common\System\FormattingHelpers.cs (1)
12return value.ToString(CultureInfo.InvariantCulture);
ILCompiler.ReadyToRun (1)
parent\parent\Common\System\FormattingHelpers.cs (1)
12return value.ToString(CultureInfo.InvariantCulture);
ILCompiler.RyuJit (1)
parent\parent\Common\System\FormattingHelpers.cs (1)
12return value.ToString(CultureInfo.InvariantCulture);
ILCompiler.TypeSystem (1)
parent\parent\Common\System\FormattingHelpers.cs (1)
12return value.ToString(CultureInfo.InvariantCulture);
Microsoft.AspNetCore.Components (1)
src\aspnetcore\src\Components\Shared\src\ComponentKeyHelper.cs (1)
36IConvertible convertible => convertible.ToString(CultureInfo.InvariantCulture),
Microsoft.AspNetCore.Components.Endpoints (1)
src\aspnetcore\src\Components\Shared\src\ComponentKeyHelper.cs (1)
36IConvertible convertible => convertible.ToString(CultureInfo.InvariantCulture),
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\ComInterop\DynamicVariantExtensions.cs (1)
74case TypeCode.String: variant = ComVariant.Create(new BStrWrapper(value.ToString(ci))); break;
System.Data.Common (7)
System\Data\Common\DbConnectionStringCommon.cs (1)
17return ((IConvertible)value).ToString(CultureInfo.InvariantCulture);
System\Data\Common\SQLConvert.cs (4)
436return ((IConvertible)(bool)value).ToString(formatProvider); 438return ((IConvertible)(char)value).ToString(formatProvider); 480return iconvertible.ToString(formatProvider); 728return iconvertible.ToString(System.Globalization.CultureInfo.InvariantCulture);
System\Data\ProviderBase\SchemaMapping.cs (2)
1185targetColumn.Namespace = ((IConvertible)value).ToString(CultureInfo.InvariantCulture); 1195targetColumn.Expression = ((IConvertible)value).ToString(CultureInfo.InvariantCulture);
System.Data.Odbc (1)
Common\System\Data\Common\DbConnectionStringCommon.cs (1)
249return ((IConvertible)value).ToString(CultureInfo.InvariantCulture);
System.Data.OleDb (1)
DbConnectionStringCommon.cs (1)
178return ((IConvertible)value).ToString(CultureInfo.InvariantCulture);
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Convert.cs (4)
159TypeCode.String => v.ToString(provider), 207return value.ToString(provider); 279return ic.ToString(provider); 1877return ic.ToString(provider);