anchor.diff:                      let localParsedDocument = document.ParsedDocument
                       if localParsedDocument <> null then
                           localParsedDocument.Ast 
  -                        |> tryCast<ParseAndCheckResults>
  +                        |> Option.tryCast<ParseAndCheckResults>
                           |> Option.iter (getAndProcessSymbols >> Async.Start))
   
       let makeChunk (lineNumber: int) (style: ColorScheme) (offset:int) (extraColorInfo: (Range.range * TokenColorKind)[] option) (token: TokenInformation) =
  
positive.code:         if doc <> null && doc.Project <> null then Some doc.Project else
          let view = doc.Annotation<MonoDevelop.SourceEditor.SourceEditorView>()
          if view <> null && view.Project <> null then Some view.Project
          else IdeApp.Workspace.GetProjectsContainingFile(doc.FileName.ToString()) |> Seq.tryHead
  
      let project = getProject document
  
  
negative.code: open Microsoft.FSharp.Compiler
  open Microsoft.FSharp.Compiler.SourceCodeServices
  open FSharp.CompilerBinding
  open ExtCore.Control
  
  module FSharpSyntaxModeInternals =
      let contains predicate sequence =
  