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

◆ ExactlyOne()

static bool System.Xml.Bits.ExactlyOne ( uint num)
inlinestatic

Definition at line 15 of file Bits.cs.

16 {
17 if (num != 0)
18 {
19 return (num & (num - 1)) == 0;
20 }
21 return false;
22 }

Referenced by System.Xml.Xsl.XmlQueryTypeFactory.ChoiceType.Create(), System.Xml.Xsl.IlGen.XmlILVisitor.MatchesNodeKinds(), and System.Xml.Xsl.Xslt.TemplateMatch.NipOffTypeNameCheck().