System.Xml.Schema.ChoiceNode.ConstructPos C# (CSharp) Method

ConstructPos() public method

public ConstructPos ( BitSet firstpos, BitSet lastpos, BitSet followpos ) : void
firstpos BitSet
lastpos BitSet
followpos BitSet
return void
        public override void ConstructPos(BitSet firstpos, BitSet lastpos, BitSet[] followpos) {
            LeftChild.ConstructPos(firstpos, lastpos, followpos);

            BitSet firstposRight = new BitSet(firstpos.Count);
            BitSet lastposRight = new BitSet(lastpos.Count);
            RightChild.ConstructPos(firstposRight, lastposRight, followpos);

            firstpos.Or(firstposRight);
            lastpos.Or(lastposRight);
        }