9 references to DecimalToInt32
System.Xml (9)
System\Xml\Schema\FacetChecker.cs (5)
59
derivedRestriction.Length = XmlBaseConverter.
DecimalToInt32
((decimal)ParseFacetValue(nonNegativeInt, facet, Res.Sch_LengthFacetInvalid, null, null));
89
derivedRestriction.MinLength = XmlBaseConverter.
DecimalToInt32
((decimal)ParseFacetValue(nonNegativeInt, facet, Res.Sch_MinLengthFacetInvalid, null, null));
112
derivedRestriction.MaxLength = XmlBaseConverter.
DecimalToInt32
((decimal)ParseFacetValue(nonNegativeInt, facet, Res.Sch_MaxLengthFacetInvalid, null, null));
258
derivedRestriction.TotalDigits = XmlBaseConverter.
DecimalToInt32
((decimal)ParseFacetValue(positiveInt, facet, Res.Sch_TotalDigitsFacetInvalid, null, null));
276
derivedRestriction.FractionDigits = XmlBaseConverter.
DecimalToInt32
((decimal)ParseFacetValue(nonNegativeInt, facet, Res.Sch_FractionDigitsFacetInvalid, null, null));
System\Xml\Schema\XmlValueConverter.cs (4)
951
return
DecimalToInt32
((decimal) value);
962
if (TypeCode == XmlTypeCode.Decimal) return
DecimalToInt32
(XmlConvert.ToDecimal((string) value));
970
if (sourceType == DecimalType) return
DecimalToInt32
((decimal) value);
1064
if (destinationType == Int32Type) return
DecimalToInt32
((decimal) value);