33 references to TypeCode
dotnet-svcutil-lib (33)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (33)
1015
if (
TypeCode
== XmlTypeCode.Decimal) return XmlConvert.ToDecimal((string)value);
1061
if (
TypeCode
== XmlTypeCode.Decimal) return DecimalToInt32(XmlConvert.ToDecimal((string)value));
1100
if (
TypeCode
== XmlTypeCode.Decimal) return DecimalToInt64(XmlConvert.ToDecimal((string)value));
1132
if (
TypeCode
== XmlTypeCode.Decimal) return XmlConvert.ToString((decimal)value);
1356
if (
TypeCode
== XmlTypeCode.Float) return ((double)XmlConvert.ToSingle((string)value));
1404
if (
TypeCode
== XmlTypeCode.Float) return XmlConvert.ToSingle((string)value);
1428
if (
TypeCode
== XmlTypeCode.Float) return XmlConvert.ToString(ToSingle((double)value));
1433
if (
TypeCode
== XmlTypeCode.Float) return XmlConvert.ToString((float)value);
1573
switch (
TypeCode
)
1617
switch (
TypeCode
)
1685
switch (
TypeCode
)
1700
switch (
TypeCode
)
2062
switch (
TypeCode
)
2069
if (IsDerivedFrom(sourceType, UriType)) if (
TypeCode
== XmlTypeCode.AnyUri) return AnyUriToString((Uri)value);
2072
switch (
TypeCode
)
2081
switch (
TypeCode
)
2104
switch (
TypeCode
)
2112
switch (
TypeCode
)
2121
switch (
TypeCode
)
2128
if (destinationType == UriType) if (
TypeCode
== XmlTypeCode.AnyUri) return XmlConvert.ToUri((string)value);
2146
switch (
TypeCode
)
2154
switch (
TypeCode
)
2165
switch (
TypeCode
)
2173
switch (
TypeCode
)
2185
switch (
TypeCode
)
2194
switch (
TypeCode
)
2204
if (sourceType == StringType) if (
TypeCode
== XmlTypeCode.AnyUri) return XmlConvert.ToUri((string)value);
2205
if (IsDerivedFrom(sourceType, UriType)) if (
TypeCode
== XmlTypeCode.AnyUri) return ((Uri)value);
2211
switch (
TypeCode
)
2220
switch (
TypeCode
)
2227
if (IsDerivedFrom(sourceType, UriType)) if (
TypeCode
== XmlTypeCode.AnyUri) return (new XmlAtomicValue(SchemaType, value));
2231
switch (
TypeCode
)
3385
if (
TypeCode
!= XmlTypeCode.Item)