internal static bool CompareDecoded(int start, int length, ITextProvider textProvider, string compareText, bool ignoreCase)
        {
#if SUPPORT_ENCODED_CSS
            if (textProvider == null || _length == 0)
            {
                return(string.IsNullOrEmpty(compareText));
            }
            else
            {
                CharStream cs = new CharStream(textProvider);
                cs.Position = _start;

                int matchLength = 0;

                return(TextHelpers.CompareCurrentDecodedString(cs, compareText, ignoreCase, out matchLength) &&
                       matchLength == Length);
            }
#else
            return(Compare(start, length, textProvider, compareText, ignoreCase));
#endif
        }