System.Xml.XmlBaseReader.AttributeSorter.IsSorted C# (CSharp) Méthode

IsSorted() private méthode

private IsSorted ( ) : bool
Résultat bool
            private bool IsSorted()
            {
                for (int i = 0; i < _indeces.Length - 1; i++)
                {
                    if (Compare(_indeces[i], _indeces[i + 1]) >= 0)
                    {
                        _attributeIndex1 = (int)_indeces[i];
                        _attributeIndex2 = (int)_indeces[i + 1];
                        return false;
                    }
                }
                return true;
            }