Antlr.Runtime.BitSet.GrowToInclude C# (CSharp) Method

GrowToInclude() public method

Grows the set to a larger number of bits.
public GrowToInclude ( int bit ) : void
bit int element that must fit in set
return void
        public void GrowToInclude( int bit )
        {
            int newSize = Math.Max( _bits.Length << 1, NumWordsToHold( bit ) );
            SetSize(newSize);
        }