Wrong symbol use is reported for custom operation overloads by `GetAllUsesOfAllSymbolsInFile`
Open
Area-Compiler-Service
Bug
Impact-Low
- Dominant language
- F#
- Stars
- 4.3k
- Forks
- 876
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 144
Description
An extraction of an issue from https://github.com/dotnet/fsharp/issues/11612#issuecomment-955456986.
When there're multiple overloads of a custom operation, a wrong overload item is reported to the sink.
```fsharp
type FooBuilder() =
member _.Yield _ = 1
[]
member _.Create(i1: int, s: string, i2: int) = 1
[]
member _.Create(i: int, s1: string, s2: string) = 1
FooBuilder() {
create "" 1
create "" ""
}
```
Contributor guide
Assessment
This issue has not been assessed yet.