17 implementations of ToSingle
mscorlib (17)
system\boolean.cs (1)
286
float IConvertible.
ToSingle
(IFormatProvider provider) {
system\byte.cs (1)
239
float IConvertible.
ToSingle
(IFormatProvider provider) {
system\char.cs (1)
484
float IConvertible.
ToSingle
(IFormatProvider provider) {
system\datetime.cs (1)
1629
float IConvertible.
ToSingle
(IFormatProvider provider) {
system\dbnull.cs (1)
98
float IConvertible.
ToSingle
(IFormatProvider provider) {
system\decimal.cs (1)
1252
float IConvertible.
ToSingle
(IFormatProvider provider) {
system\double.cs (1)
353
float IConvertible.
ToSingle
(IFormatProvider provider) {
system\enum.cs (1)
1012
float IConvertible.
ToSingle
(IFormatProvider provider)
system\int16.cs (1)
252
float IConvertible.
ToSingle
(IFormatProvider provider) {
system\int32.cs (1)
225
float IConvertible.
ToSingle
(IFormatProvider provider) {
system\int64.cs (1)
204
float IConvertible.
ToSingle
(IFormatProvider provider) {
system\sbyte.cs (1)
260
float IConvertible.
ToSingle
(IFormatProvider provider) {
system\single.cs (1)
323
float IConvertible.
ToSingle
(IFormatProvider provider) {
system\string.cs (1)
3415
float IConvertible.
ToSingle
(IFormatProvider provider) {
system\uint16.cs (1)
227
float IConvertible.
ToSingle
(IFormatProvider provider) {
system\uint32.cs (1)
209
float IConvertible.
ToSingle
(IFormatProvider provider) {
system\uint64.cs (1)
204
float IConvertible.
ToSingle
(IFormatProvider provider) {
13 references to ToSingle
mscorlib (9)
system\convert.cs (7)
241
return v.
ToSingle
(provider);
298
return value.
ToSingle
(provider);
369
return ic.
ToSingle
(provider);
1452
return value == null? 0: ((IConvertible)value).
ToSingle
(null);
1456
return value == null? 0: ((IConvertible)value).
ToSingle
(provider);
1469
return ((IConvertible)value).
ToSingle
(null);
1531
return ((IConvertible)value).
ToSingle
(null);
system\variant.cs (2)
508
v = new Variant(ic.
ToSingle
(provider));
605
v = new Variant(iv.
ToSingle
(provider));
System.AddIn.Contract (1)
System\Addin\Contract\RemoteArgument.cs (1)
253
floatToUse = convertibleValue.
ToSingle
(null);
System.Data (3)
fx\src\data\System\Data\Common\SingleStorage.cs (2)
175
value = ((IConvertible)value).
ToSingle
(FormatProvider);
204
values[record] = ((IConvertible)value).
ToSingle
(FormatProvider);
fx\src\data\System\Data\Common\SQLConvert.cs (1)
592
return ((IConvertible)(string)value).
ToSingle
(formatProvider);