28 references to ToSingle
System.Data (4)
fx\src\data\System\Data\Common\SingleStorage.cs (1)
219
return XmlConvert.
ToSingle
(s);
fx\src\data\System\Data\Common\SQLConvert.cs (2)
650
return new SqlSingle(XmlConvert.
ToSingle
((string)value));
681
return XmlConvert.
ToSingle
((string) value);
fx\src\data\System\Data\SQLTypes\SQLSingle.cs (1)
500
m_value = XmlConvert.
ToSingle
(reader.ReadElementString());
System.Data.Services (2)
System\Data\Services\Parsing\WebConvert.cs (2)
437
targetValue = XmlConvert.
ToSingle
(text);
565
targetValue = XmlConvert.
ToSingle
(text);
System.Data.Services.Client (1)
System\Data\Services\Client\ClientConvert.cs (1)
168
return XmlConvert.
ToSingle
(propertyValue);
System.Runtime.Serialization (1)
System\Xml\XmlConverter.cs (1)
154
return XmlConvert.
ToSingle
(value);
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\QueryStringConverter.cs (1)
103
return parameter == null ? default(Single) : XmlConvert.
ToSingle
(parameter);
System.Xml (15)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
1241
return XmlConvert.
ToSingle
(String.Empty);
System\Xml\Core\XmlReader.cs (2)
272
return XmlConvert.
ToSingle
(InternalReadContentAsString());
431
return XmlConvert.
ToSingle
(string.Empty);
System\Xml\Schema\DataTypeImplementation.cs (1)
3449
value = XmlConvert.
ToSingle
(s);
System\Xml\Schema\Inference\Infer.cs (2)
1588
float flValue = XmlConvert.
ToSingle
(s);
1616
XmlConvert.
ToSingle
(s);
System\Xml\Schema\XmlValueConverter.cs (6)
1231
if (TypeCode == XmlTypeCode.Float) return ((double) XmlConvert.
ToSingle
((string) value));
1275
if (TypeCode == XmlTypeCode.Float) return XmlConvert.
ToSingle
((string) value);
2326
return XmlConvert.
ToSingle
((string) value);
2333
if (sourceType == StringType) return XmlConvert.
ToSingle
((string) value);
2494
if (destinationType == SingleType) return XmlConvert.
ToSingle
((string) value);
2549
if (sourceType == StringType) return XmlConvert.
ToSingle
((string) value);
System\Xml\Serialization\PrimitiveXmlSerializers.cs (1)
298
o = System.Xml.XmlConvert.
ToSingle
(Reader.ReadElementString());
System\Xml\Serialization\XmlSerializationReader.cs (2)
564
value = XmlConvert.
ToSingle
(ReadStringValue());
635
value = XmlConvert.
ToSingle
(ReadStringValue());
System.Xml.Linq (4)
System\Xml\Linq\XLinq.cs (4)
4673
return XmlConvert.
ToSingle
(element.Value);
4692
return XmlConvert.
ToSingle
(element.Value);
6912
return XmlConvert.
ToSingle
(attribute.value);
6927
return XmlConvert.
ToSingle
(attribute.value);