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()); }
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())); }