Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsPrimitiveNumeric()

bool System.Xml.Xsl.IlGen.XmlILOptimizerVisitor.IsPrimitiveNumeric ( XmlQueryType typ)
inlineprivate

Definition at line 2825 of file XmlILOptimizerVisitor.cs.

2826 {
2827 if (typ == XmlQueryTypeFactory.IntX)
2828 {
2829 return true;
2830 }
2831 if (typ == XmlQueryTypeFactory.IntegerX)
2832 {
2833 return true;
2834 }
2835 if (typ == XmlQueryTypeFactory.DecimalX)
2836 {
2837 return true;
2838 }
2839 if (typ == XmlQueryTypeFactory.FloatX)
2840 {
2841 return true;
2842 }
2843 if (typ == XmlQueryTypeFactory.DoubleX)
2844 {
2845 return true;
2846 }
2847 return false;
2848 }

References System.Xml.Xsl.XmlQueryTypeFactory.DecimalX, System.Xml.Xsl.XmlQueryTypeFactory.DoubleX, System.Xml.Xsl.XmlQueryTypeFactory.FloatX, System.Xml.Xsl.XmlQueryTypeFactory.IntegerX, and System.Xml.Xsl.XmlQueryTypeFactory.IntX.

Referenced by System.Xml.Xsl.IlGen.XmlILOptimizerVisitor.VisitEq(), System.Xml.Xsl.IlGen.XmlILOptimizerVisitor.VisitGe(), System.Xml.Xsl.IlGen.XmlILOptimizerVisitor.VisitGt(), System.Xml.Xsl.IlGen.XmlILOptimizerVisitor.VisitLe(), System.Xml.Xsl.IlGen.XmlILOptimizerVisitor.VisitLt(), and System.Xml.Xsl.IlGen.XmlILOptimizerVisitor.VisitNe().