1 override of ToDateTime
System.Private.Xml (1)
System\Xml\Schema\XmlValueConverter.cs (1)
342public override DateTime ToDateTime(object value) { return (DateTime)ChangeType((object)value, DateTimeType, null); }
8 references to ToDateTime
System.Private.Xml (8)
System\Xml\Core\XsdValidatingReader.cs (4)
503return xmlType.ValueConverter.ToDateTime(typedValue); 507return XmlUntypedConverter.Untyped.ToDateTime(typedValue); 832return xmlType.ValueConverter.ToDateTime(typedValue!); 836return XmlUntypedConverter.Untyped.ToDateTime(typedValue!);
System\Xml\Schema\FacetChecker.cs (2)
1271DateTime dateTimeValue = datatype.ValueConverter.ToDateTime(value); 1325return MatchEnumeration(datatype.ValueConverter.ToDateTime(value), enumeration, datatype);
System\Xml\Schema\XmlAtomicValue.cs (1)
280return valueConverter.ToDateTime(_objVal);
System\Xml\XPath\XPathNavigator.cs (1)
233return schemaType.ValueConverter.ToDateTime(datatype.ParseValue(Value, NameTable, this));