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

◆ MatchesContentTest()

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

Definition at line 2850 of file XmlILOptimizerVisitor.cs.

2851 {
2852 if (typ == XmlQueryTypeFactory.Element)
2853 {
2854 return true;
2855 }
2856 if (typ == XmlQueryTypeFactory.Text)
2857 {
2858 return true;
2859 }
2860 if (typ == XmlQueryTypeFactory.Comment)
2861 {
2862 return true;
2863 }
2864 if (typ == XmlQueryTypeFactory.PI)
2865 {
2866 return true;
2867 }
2868 if (typ == XmlQueryTypeFactory.Content)
2869 {
2870 return true;
2871 }
2872 return false;
2873 }

References System.Xml.Xsl.XmlQueryTypeFactory.Comment, System.Xml.Xsl.XmlQueryTypeFactory.Content, System.Xml.Xsl.XmlQueryTypeFactory.Element, System.Xml.Xsl.XmlQueryTypeFactory.PI, and System.Xml.Xsl.XmlQueryTypeFactory.Text.

Referenced by System.Xml.Xsl.IlGen.XmlILOptimizerVisitor.VisitFilter().