33 references to TypeCode
System.Xml (33)
System\Xml\Schema\XmlValueConverter.cs (33)
921
if (
TypeCode
== XmlTypeCode.Decimal) return XmlConvert.ToDecimal((string) value);
962
if (
TypeCode
== XmlTypeCode.Decimal) return DecimalToInt32(XmlConvert.ToDecimal((string) value));
996
if (
TypeCode
== XmlTypeCode.Decimal) return DecimalToInt64(XmlConvert.ToDecimal((string) value));
1026
if (
TypeCode
== XmlTypeCode.Decimal) return XmlConvert.ToString((decimal) value);
1231
if (
TypeCode
== XmlTypeCode.Float) return ((double) XmlConvert.ToSingle((string) value));
1275
if (
TypeCode
== XmlTypeCode.Float) return XmlConvert.ToSingle((string) value);
1297
if (
TypeCode
== XmlTypeCode.Float) return XmlConvert.ToString(ToSingle((double) value));
1301
if (
TypeCode
== XmlTypeCode.Float) return XmlConvert.ToString((float) value);
1427
switch (
TypeCode
) {
1466
switch (
TypeCode
) {
1531
switch (
TypeCode
) {
1544
switch (
TypeCode
) {
1877
switch (
TypeCode
) {
1883
if (IsDerivedFrom(sourceType, UriType)) if (
TypeCode
== XmlTypeCode.AnyUri) return AnyUriToString((Uri) value);
1885
switch (
TypeCode
) {
1892
switch (
TypeCode
) {
1912
switch (
TypeCode
) {
1918
switch (
TypeCode
) {
1925
switch (
TypeCode
) {
1931
if (destinationType == UriType) if (
TypeCode
== XmlTypeCode.AnyUri) return XmlConvert.ToUri((string) value);
1946
switch (
TypeCode
) {
1952
switch (
TypeCode
) {
1960
switch (
TypeCode
) {
1966
switch (
TypeCode
) {
1975
switch (
TypeCode
) {
1982
switch (
TypeCode
) {
1990
if (sourceType == StringType) if (
TypeCode
== XmlTypeCode.AnyUri) return XmlConvert.ToUri((string) value);
1991
if (IsDerivedFrom(sourceType, UriType)) if (
TypeCode
== XmlTypeCode.AnyUri) return ((Uri) value);
1995
switch (
TypeCode
) {
2002
switch (
TypeCode
) {
2008
if (IsDerivedFrom(sourceType, UriType)) if (
TypeCode
== XmlTypeCode.AnyUri) return (new XmlAtomicValue(SchemaType, value));
2011
switch (
TypeCode
) {
3049
if (
TypeCode
!= XmlTypeCode.Item)