NavigateTo() приватный Метод

private NavigateTo ( bool usePreviewPane ) : IVsWindowFrame
usePreviewPane bool
Результат IVsWindowFrame
        internal bool TryNavigateTo(SarifError sarifError, string fileName, string mimeType, Region region, ResultTextMarker marker, out IVsWindowFrame result)
        {
            result = null;

            if (string.IsNullOrEmpty(fileName))
            {
                return(false);
            }

            string remappedName = fileName;

            if (!File.Exists(fileName))
            {
                remappedName = RebaselineFileName(fileName);

                if (!File.Exists(remappedName))
                {
                    return(false);
                }
            }
            CodeAnalysisResultManager.Instance.RemapFileNames(fileName, remappedName);
            fileName = remappedName;

            NewLineIndex newLineIndex = null;

            if (!sarifError.RegionPopulated && mimeType != MimeType.Binary)
            {
                if (!_fileToNewLineIndexMap.TryGetValue(fileName, out newLineIndex))
                {
                    _fileToNewLineIndexMap[fileName] = newLineIndex = new NewLineIndex(File.ReadAllText(fileName));
                }
                region.Populate(newLineIndex);
                sarifError.RegionPopulated = true;
            }
            marker.FullFilePath = remappedName;
            result = marker.NavigateTo(false, null, false);
            return(result != null);
        }