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)
1047
return
DecimalToInt32
((decimal)value);
1061
if (TypeCode == XmlTypeCode.Decimal) return
DecimalToInt32
(XmlConvert.ToDecimal((string)value));
1070
if (sourceType == DecimalType) return
DecimalToInt32
((decimal)value);
1175
if (destinationType == Int32Type) return
DecimalToInt32
((decimal)value);