
Compiler doesn't recognize static method in auto-open type (source)

Repro steps
- Create empty project
- Add Oxpecker.Solid nuget package
- Add the following code
open Oxpecker.Solid.Router // editor incorrectly suggest to remove this open
let test() =
let nav = useNavigate()
nav.Invoke("/")
Expected behavior
Open removal is not suggested
Actual behavior
Open removal is suggested
Known workarounds
Ignore the suggestion
Related information
.NET SDK:
Version: 9.0.101
Commit: eedb237549
Workload version: 9.0.100-manifests.4a280210
MSBuild version: 17.12.12+1cce77968
This issue is reproduced both in Rider and Visual Studio.
Compiler doesn't recognize static method in auto-open type (source)
Repro steps
Expected behavior
Open removal is not suggested
Actual behavior
Open removal is suggested
Known workarounds
Ignore the suggestion
Related information
This issue is reproduced both in Rider and Visual Studio.