1 override of ToDecimal
System.Private.Xml (1)
System\Xml\Schema\XmlValueConverter.cs (1)
347
public override decimal
ToDecimal
(object value) { return (decimal)ChangeType((object)value, DecimalType, null); }
11 references to ToDecimal
System.Private.Xml (11)
System\Xml\Core\XsdValidatingReader.cs (4)
605
return xmlType.ValueConverter.
ToDecimal
(typedValue);
609
return XmlUntypedConverter.Untyped.
ToDecimal
(typedValue);
937
return xmlType.ValueConverter.
ToDecimal
(typedValue!);
941
return XmlUntypedConverter.Untyped.
ToDecimal
(typedValue!);
System\Xml\Schema\FacetChecker.cs (7)
999
decimal decimalValue = datatype.ValueConverter.
ToDecimal
(value);
1020
if (value > valueConverter.
ToDecimal
(restriction.MaxInclusive!))
1028
if (value >= valueConverter.
ToDecimal
(restriction.MaxExclusive!))
1036
if (value < valueConverter.
ToDecimal
(restriction.MinInclusive!))
1044
if (value <= valueConverter.
ToDecimal
(restriction.MinExclusive!))
1079
return MatchEnumeration(datatype.ValueConverter.
ToDecimal
(value), enumeration, datatype.ValueConverter);
1086
if (value == valueConverter.
ToDecimal
(enumeration[i]!))