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