Пример #1
0
        private void OpenSymbol(Symbol matchToOpen)
        {
            string localPath = SourceFileMap.GetLocalPath(matchToOpen);

            if (String.IsNullOrEmpty(localPath))
            {
                Console.WriteLine("ERROR: File Path unknown for '{0}'.", matchToOpen.Name.ToString());
            }
            else
            {
                Console.WriteLine("OPEN: {0}({1})", localPath, matchToOpen.Line);
                VS.OpenFileToLine(localPath, matchToOpen.Line, Options.DatabasePath);
            }
        }