System.Security.Util.TokenBasedSet.ResetMaxIndex C# (CSharp) Method

ResetMaxIndex() private method

private ResetMaxIndex ( Object aObj ) : void
aObj Object
return void
        private void ResetMaxIndex(Object[] aObj)
        {
            int i;

            // Start at the end of the array, and
            // scan backwards for the first non-null
            // slot. That is the new maxIndex.
            for (i = aObj.Length - 1; i >= 0; i--)
            {
                if (aObj[i] != null)
                {
                    m_maxIndex = (short)i;
                    return;
                }
            }

            m_maxIndex = -1;
        }
        internal int GetStartingIndex()