Beispiel #1
0
        public SymbolInfo GetSymbolAt(string sourceFileName, SnapshotPoint point)
        {
            //Debugger.Launch();
            var file = (SourceFile)point.Snapshot.TextBuffer.MaybeGetSourceFileData().Value.SourceFile;

            if (!file.IsBound)
                return null;
            return Walk(file.RootNode, point.ToPosition());
        }
Beispiel #2
0
        public SymbolInfo GetSymbolAt(string sourceFileName, SnapshotPoint point)
        {
            //Debugger.Launch();
            var file = (SourceFile)point.Snapshot.TextBuffer.MaybeGetSourceFileData().Value.SourceFile;

            if (!file.IsBound)
            {
                return(null);
            }
            return(Walk(file.RootNode, point.ToPosition()));
        }