Skip to content

Find All References sometimes doesn't work on a let binding in implementation file #14676

@0101

Description

@0101

Repro steps

  1. In FSharp.Compiler.Service project go to Utilities/range.fs
  2. Find module Position
  3. Do "Find All References" on mkPos

Expected behavior

  • References are found

Actual behavior

  • Nothing is found

  • However, if you do the same on mkPos' signature or one of the call sites, they are found

Known workarounds

Go to signature and find references from there.

Related information

  • Same thing happens with e.g. Position.pos0 or Range.mkFileIndexRange.

  • But e.g. Position.posGt and Range.mkRange work fine.

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions