@@ -908,9 +908,6 @@ type TypeCheckInfo
908908match itemwith
909909| Item.Types_ | Item.ModuleOrNamespaces_ -> true
910910| _ -> false
911-
912- /// Find the most precise display context for the given line and column.
913- member __.GetBestDisplayEnvForPos cursorPos = GetBestEnvForPos cursorPos
914911
915912member __.GetVisibleNamespacesAndModulesAtPosition ( cursorPos : pos ) : ModuleOrNamespaceRef list =
916913let ( nenv , ad ), m = GetBestEnvForPos cursorPos
@@ -1985,7 +1982,6 @@ type FSharpCheckFileResults(filename: string, errors: FSharpErrorInfo[], scopeOp
19851982| _ ->
19861983 async.Return dflt
19871984
1988-
19891985member info.GetToolTipText ( line , colAtEndOfNames , lineStr , names , tokenTag , userOpName ) =
19901986 info.GetStructuredToolTipText( line, colAtEndOfNames, lineStr, names, tokenTag, ?userOpName= userOpName)
19911987|> Tooltips.Map Tooltips.ToFSharpToolTipText
@@ -2097,13 +2093,6 @@ type FSharpCheckFileResults(filename: string, errors: FSharpErrorInfo[], scopeOp
20972093 RequireCompilationThread ctok
20982094 scope.IsRelativeNameResolvableFromSymbol( pos, plid, symbol))
20992095
2100- member info.GetDisplayEnvForPos ( pos : pos ) : Async < DisplayEnv option > =
2101- let userOpName = " CodeLens"
2102- reactorOp userOpName" GetDisplayContextAtPos" None( fun ctok scope ->
2103- DoesNotRequireCompilerThreadTokenAndCouldPossiblyBeMadeConcurrent ctok
2104- let ( nenv , _ ), _ = scope.GetBestDisplayEnvForPos pos
2105- Some nenv.DisplayEnv)
2106-
21072096member info.ImplementationFiles =
21082097if not keepAssemblyContentsthen invalidOp" The 'keepAssemblyContents' flag must be set to true on the FSharpChecker in order to access the checked contents of assemblies"
21092098 scopeOptX