33 references to TypeCode
System.Private.Xml (33)
System\Xml\Schema\XmlValueConverter.cs (33)
899
if (
TypeCode
== XmlTypeCode.Decimal) return XmlConvert.ToDecimal((string)value);
924
if (
TypeCode
== XmlTypeCode.Decimal) return DecimalToInt32(XmlConvert.ToDecimal((string)value));
949
if (
TypeCode
== XmlTypeCode.Decimal) return DecimalToInt64(XmlConvert.ToDecimal((string)value));
981
if (
TypeCode
== XmlTypeCode.Decimal) return XmlConvert.ToString((decimal)value);
1165
if (
TypeCode
== XmlTypeCode.Float) return ((double)XmlConvert.ToSingle((string)value));
1209
if (
TypeCode
== XmlTypeCode.Float) return XmlConvert.ToSingle((string)value);
1233
if (
TypeCode
== XmlTypeCode.Float) return XmlConvert.ToString(ToSingle((double)value));
1238
if (
TypeCode
== XmlTypeCode.Float) return XmlConvert.ToString((float)value);
1342
return
TypeCode
switch
1381
return
TypeCode
switch
1448
TypeCode
switch
1461
TypeCode
switch
1727
switch (
TypeCode
)
1734
if (IsDerivedFrom(sourceType, UriType)) if (
TypeCode
== XmlTypeCode.AnyUri) return AnyUriToString((Uri)value);
1737
switch (
TypeCode
)
1746
switch (
TypeCode
)
1769
switch (
TypeCode
)
1777
switch (
TypeCode
)
1786
switch (
TypeCode
)
1793
if (destinationType == UriType) if (
TypeCode
== XmlTypeCode.AnyUri) return XmlConvert.ToUri((string)value);
1811
switch (
TypeCode
)
1819
switch (
TypeCode
)
1830
switch (
TypeCode
)
1838
switch (
TypeCode
)
1850
switch (
TypeCode
)
1859
switch (
TypeCode
)
1869
if (sourceType == StringType) if (
TypeCode
== XmlTypeCode.AnyUri) return XmlConvert.ToUri((string)value);
1870
if (IsDerivedFrom(sourceType, UriType)) if (
TypeCode
== XmlTypeCode.AnyUri) return ((Uri)value);
1876
switch (
TypeCode
)
1885
switch (
TypeCode
)
1892
if (IsDerivedFrom(sourceType, UriType)) if (
TypeCode
== XmlTypeCode.AnyUri) return (new XmlAtomicValue(SchemaType!, value));
1896
switch (
TypeCode
)
2853
if (
TypeCode
!= XmlTypeCode.Item)