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)
891
if (TypeCode == XmlTypeCode.Decimal) return
DecimalToInt32
(XmlConvert.ToDecimal((string)value));
900
if (sourceType == typeof(decimal)) return
DecimalToInt32
((decimal)value);
985
if (destinationType == typeof(int)) return
DecimalToInt32
((decimal)value);