Skip to content

Finding references / renaming doesn't work for active patterns in signature files #14969

@0101

Description

@0101

FSharpChecker.FindBackgroundReferencesInFile doesn't work for active patterns in signature files. It's because they're written into ItemKeyStore as a single Item.Value for all cases with no information about being an active pattern.

They also probably don't get a proper SymbolUse because if you try to rename them you get:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-LangService-FindAllReferencesFind all references across projects and solutionsBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.

    Type

    Projects

    Status

    New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions