System.Xml.Xsl.Runtime.XmlSortKeyAccumulator.FinishSortKeys C# (CSharp) Method

FinishSortKeys() public method

Finish creating the current run of sort keys and begin a new run.
public FinishSortKeys ( ) : void
return void
        public void FinishSortKeys()
        {
            _pos++;
            if (_pos >= _keys.Length)
            {
                XmlSortKey[] keysNew = new XmlSortKey[_pos * 2];
                Array.Copy(_keys, 0, keysNew, 0, _keys.Length);
                _keys = keysNew;
            }
            _keys[_pos] = null;
        }