1 override of ToDateTime
System.Private.Xml (1)
System\Xml\Schema\XmlValueConverter.cs (1)
342
public 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)
503
return xmlType.ValueConverter.
ToDateTime
(typedValue);
507
return XmlUntypedConverter.Untyped.
ToDateTime
(typedValue);
832
return xmlType.ValueConverter.
ToDateTime
(typedValue!);
836
return XmlUntypedConverter.Untyped.
ToDateTime
(typedValue!);
System\Xml\Schema\FacetChecker.cs (2)
1271
DateTime dateTimeValue = datatype.ValueConverter.
ToDateTime
(value);
1325
return MatchEnumeration(datatype.ValueConverter.
ToDateTime
(value), enumeration, datatype);
System\Xml\Schema\XmlAtomicValue.cs (1)
280
return valueConverter.
ToDateTime
(_objVal);
System\Xml\XPath\XPathNavigator.cs (1)
233
return schemaType.ValueConverter.
ToDateTime
(datatype.ParseValue(Value, NameTable, this));