anchor.diff:  open FSharp.CompilerBinding
   open Microsoft.FSharp.Compiler
   open Microsoft.FSharp.Compiler.SourceCodeServices
  +open MonoDevelop.Ide.FindInFiles
   
   module Refactoring =
   
  
positive.code:                                     ainfo.Add (declSet)
                              | _ -> ()
   
                          //TODO:find references
  
                          //TODO: find derived symbols, find overloads, find extension methods, find type extensions
              
  
negative.code:                     for part in locations do
                          monitor.ReportResult (getJumpTypePartSearchResult (editor, ctx, symbolUse, part))
                          |> ignore
  
      let findReferences (editor:TextEditor, ctx:DocumentContext, symbolUse:FSharpSymbolUse, lastIdent) =
          let monitor = IdeApp.Workbench.ProgressMonitors.GetSearchProgressMonitor (true, true)
          let findAsync = async { 
  
              let! symbolrefs = MDLanguageService.Instance.GetUsesOfSymbolInProject(ctx.Project.FileName.ToString(), editor.FileName.ToString(), editor.Text, symbolUse.Symbol)
              let referenceSearchResults =
                  symbolrefs |> List.ofArray
  
              let secondSet = 
                  referenceSearchResults
                  |> List.map (fun su -> Symbols.getOffsetsTrimmed lastIdent su)
              
              let debug =         
                  secondSet 
                  |> List.distinct
  
              debug 
              |> List.iter (fun (filename, startOffset, endOffset) -> 
                                  let sr = SearchResult (FileProvider (filename), startOffset, endOffset-startOffset)
                                  monitor.ReportResult sr)
  
              }
          let onComplete _ = monitor.Dispose()
          Async.StartWithContinuations(findAsync, onComplete, onComplete, onComplete)
  
  type CurrentRefactoringOperationsHandler() =
      inherit CommandHandler()
  