89 references to XmlAtomicValueType
System.Private.Xml (89)
System\Xml\Schema\XmlValueConverter.cs (89)
265_clrTypeDefault = XmlAtomicValueType; 912if (sourceType == XmlAtomicValueType) return ((decimal)((XmlAtomicValue)value).ValueAs(DecimalType)); 937if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAsInt; 962if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAsLong; 1002if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).Value; 1021if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType!, value)); 1036if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType!, (int)value)); 1051if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType!, (long)value)); 1067if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType!, (string)value)); 1085if (destinationType == XmlAtomicValueType) 1091if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value); 1099if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value); 1177if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAsDouble; 1221if (sourceType == XmlAtomicValueType) return ((float)((XmlAtomicValue)value).ValueAs(SingleType)); 1250if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).Value; 1268if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType!, (double)value)); 1283if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType!, (string)value)); 1300if (destinationType == XmlAtomicValueType) 1305if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value); 1312if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value); 1363if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAsDateTime; 1403if (sourceType == XmlAtomicValueType) return (DateTimeOffset)((XmlAtomicValue)value).ValueAsDateTime; 1482if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).Value; 1500if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType!, (DateTime)value)); 1515if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType!, (string)value)); 1532if (destinationType == XmlAtomicValueType) 1537if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value); 1544if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value); 1578if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAsBoolean; 1642if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).Value; 1659if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType!, (bool)value)); 1673if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType!, (string)value)); 1689if (destinationType == XmlAtomicValueType) 1693if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value); 1699if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value); 1794if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType!, (string)value, nsResolver)); 1872if (destinationType == XmlAtomicValueType) 1893if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value); 1905if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value); 1907if (destinationType == XPathItemType) return ((XPathItem)this.ChangeType(value, XmlAtomicValueType, nsResolver)); 1908if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAs(destinationType, nsResolver); 1922if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAs(destinationType, nsResolver); 1929if (destinationType == XPathItemType) return ((XPathItem)this.ChangeType(value, XmlAtomicValueType, nsResolver)); 1955if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).Value; 1972if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType!, (string)value)); 1987if (destinationType == XmlAtomicValueType) 1990if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value); 1995if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value); 2257if (sourceType == XmlAtomicValueType) return ((string)((XmlAtomicValue)value).ValueAs(StringType, nsResolver)); 2351if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType!, (string)value)); 2435if (destinationType == XmlAtomicValueType) 2438if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value); 2447if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value); 2450if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType!, this.ToString(value, nsResolver))); 2452if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAs(destinationType, nsResolver); 2466if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAs(destinationType, nsResolver); 2472if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(SchemaType!, this.ToString(value, nsResolver))); 2550if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAsBoolean; 2566if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAsDateTime; 2581if (sourceType == XmlAtomicValueType) return (DateTimeOffset)((XmlAtomicValue)value).ValueAs(DateTimeOffsetType); 2597if (sourceType == XmlAtomicValueType) return ((decimal)((XmlAtomicValue)value).ValueAs(DecimalType)); 2613if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAsDouble; 2629if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAsInt; 2645if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAsLong; 2661if (sourceType == XmlAtomicValueType) return ((float)((XmlAtomicValue)value).ValueAs(SingleType)); 2683if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Boolean), (bool)value)); 2693if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.DateTime), (DateTime)value)); 2703if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Decimal), value)); 2713if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Double), (double)value)); 2723if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Int), (int)value)); 2733if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Long), (long)value)); 2744if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), (string)value)); 2759if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAsBoolean; 2763if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAsDateTime; 2767if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAs(DateTimeOffsetType); 2771if (sourceType == XmlAtomicValueType) return ((decimal)((XmlAtomicValue)value).ValueAs(DecimalType)); 2775if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAsDouble; 2779if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAsInt; 2783if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAsLong; 2787if (sourceType == XmlAtomicValueType) return ((float)((XmlAtomicValue)value).ValueAs(SingleType)); 2789if (destinationType == XmlAtomicValueType) 2791if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value); 2814if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value); 2821if (destinationType == XPathItemType) return ((XPathItem)this.ChangeType(value, XmlAtomicValueType, nsResolver)); 2822if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAs(destinationType, nsResolver); 2836if (sourceType == XmlAtomicValueType) return ((XmlAtomicValue)value).ValueAs(destinationType, nsResolver); 2842if (destinationType == XPathItemType) return ((XPathItem)this.ChangeType(value, XmlAtomicValueType, nsResolver)); 3000if (itemTypeDst == XmlAtomicValueType) return ToArray<XmlAtomicValue>(value, nsResolver); 3180if (sourceType == XmlAtomicValueType && _hasAtomicMember)