Skip to content

Commit 1ec05d5

Browse files
committed
Fcs/project model: update daemon.Invalidate API usage
1 parent a832916 commit 1ec05d5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ReSharper.FSharp/src/FSharp.Common/src/Checker/FcsProjectProvider.fs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,10 @@ type OutputAssemblyChangeInvalidator(lifetime: Lifetime, outputAssemblies: Outpu
642642
fcsAssemblyReaderShim.IsEnabled && AssemblyReaderShim.isSupportedProject project then () else
643643

644644
if fcsProjectProvider.InvalidateReferencesToProject(project, true) then
645-
psiFiles.IncrementModificationTimestamp(null) // Drop cached values.
646-
daemon.Invalidate() // Request files re-highlighting.
645+
// Drop cached values.
646+
psiFiles.IncrementModificationTimestamp(null)
647+
648+
// Request files re-highlighting.
649+
daemon.Invalidate($"Project {project.Name} contains F# generative type providers")
647650
)
648651
))

0 commit comments

Comments
 (0)