-
Notifications
You must be signed in to change notification settings - Fork 852
Labels
Area-LangService-CodeFixesCode fixes associated with diagnosticsCode fixes associated with diagnosticsBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.(Internal MS Team use only) Describes an issue with limited impact on existing code.
Milestone
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area-LangService-CodeFixesCode fixes associated with diagnosticsCode fixes associated with diagnosticsBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.(Internal MS Team use only) Describes an issue with limited impact on existing code.
Type
Projects
Status
New

