9 references to DecimalToInt32
dotnet-svcutil-lib (9)
FrameworkFork\Microsoft.Xml\Xml\schema\FacetChecker.cs (5)
57_derivedRestriction.Length = XmlBaseConverter.DecimalToInt32((decimal)ParseFacetValue(_nonNegativeInt, facet, ResXml.Sch_LengthFacetInvalid, null, null)); 96_derivedRestriction.MinLength = XmlBaseConverter.DecimalToInt32((decimal)ParseFacetValue(_nonNegativeInt, facet, ResXml.Sch_MinLengthFacetInvalid, null, null)); 126_derivedRestriction.MaxLength = XmlBaseConverter.DecimalToInt32((decimal)ParseFacetValue(_nonNegativeInt, facet, ResXml.Sch_MaxLengthFacetInvalid, null, null)); 307_derivedRestriction.TotalDigits = XmlBaseConverter.DecimalToInt32((decimal)ParseFacetValue(positiveInt, facet, ResXml.Sch_TotalDigitsFacetInvalid, null, null)); 330_derivedRestriction.FractionDigits = XmlBaseConverter.DecimalToInt32((decimal)ParseFacetValue(_nonNegativeInt, facet, ResXml.Sch_FractionDigitsFacetInvalid, null, null));
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (4)
1047return DecimalToInt32((decimal)value); 1061if (TypeCode == XmlTypeCode.Decimal) return DecimalToInt32(XmlConvert.ToDecimal((string)value)); 1070if (sourceType == DecimalType) return DecimalToInt32((decimal)value); 1175if (destinationType == Int32Type) return DecimalToInt32((decimal)value);