System.Xml.Xsl.IlGen.XmlILOptimizerVisitor.IsPrimitiveNumeric C# (CSharp) Method

IsPrimitiveNumeric() private method

Return true if "typ" is xs:decimal=, xs:integer=, xs:int=, xs:double=, or xs:float=.
private IsPrimitiveNumeric ( XmlQueryType typ ) : bool
typ XmlQueryType
return bool
        private bool IsPrimitiveNumeric(XmlQueryType typ) {
            if (typ == XmlQueryTypeFactory.IntX) return true;
            if (typ == XmlQueryTypeFactory.IntegerX) return true;
            if (typ == XmlQueryTypeFactory.DecimalX) return true;
            if (typ == XmlQueryTypeFactory.FloatX) return true;
            if (typ == XmlQueryTypeFactory.DoubleX) return true;

            return false;
        }
XmlILOptimizerVisitor