internal bool IsInterested(ITextView textView, out ITagger<ITag> tagger)
        {
            if (!_reSharperUtil.IsInstalled)
            {
                tagger = null;
                return false;
            }

            if (!_versionInfo.HasValue)
            {
                // There is a possible race in MEF construction which would allow this method to be 
                // called before we had the list of ITaggerProvider instances to query.  In that case
                // defer to the next check.
                if (TaggerProviders == null)
                {
                    tagger = null;
                    return false;
                }

                _versionInfo = DetectVersionInfo();
            }

            return IsInterested(textView.TextBuffer, out tagger);
        }
 internal void ResetForVersion(ReSharperVersion version, ITaggerProvider taggerProvider = null)
 {
     var editTagDetector = GetEditTagDetector(version);
     _versionInfo = new VersionInfo(version, editTagDetector, taggerProvider);
 }