8 references to DecimalToInt32
System.Private.Xml (8)
System\Xml\Schema\FacetChecker.cs (5)
57
_derivedRestriction.Length = XmlBaseConverter.
DecimalToInt32
((decimal)ParseFacetValue(_nonNegativeInt, facet, SR.Sch_LengthFacetInvalid, null, null));
96
_derivedRestriction.MinLength = XmlBaseConverter.
DecimalToInt32
((decimal)ParseFacetValue(_nonNegativeInt, facet, SR.Sch_MinLengthFacetInvalid, null, null));
126
_derivedRestriction.MaxLength = XmlBaseConverter.
DecimalToInt32
((decimal)ParseFacetValue(_nonNegativeInt, facet, SR.Sch_MaxLengthFacetInvalid, null, null));
304
_derivedRestriction.TotalDigits = XmlBaseConverter.
DecimalToInt32
((decimal)ParseFacetValue(positiveInt, facet, SR.Sch_TotalDigitsFacetInvalid, null, null));
327
_derivedRestriction.FractionDigits = XmlBaseConverter.
DecimalToInt32
((decimal)ParseFacetValue(_nonNegativeInt, facet, SR.Sch_FractionDigitsFacetInvalid, null, null));
System\Xml\Schema\XmlValueConverter.cs (3)
924
if (TypeCode == XmlTypeCode.Decimal) return
DecimalToInt32
(XmlConvert.ToDecimal((string)value));
933
if (sourceType == DecimalType) return
DecimalToInt32
((decimal)value);
1018
if (destinationType == Int32Type) return
DecimalToInt32
((decimal)value);