dotnet / dotnet/fsharp

`MembersFunctionsAndValues` returns no auto property symbol in interface implementation

Open
#16,099 0 comments 0 reactions 0 assignees View on GitHub
Area-Compiler-Service Bug Impact-Low
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 22h
Merged PRs (30d)
144

Description

```fsharp
module Module

type I =
abstract P1: int with get, set
abstract P2: int

type T() =
interface I with
member val P1 = 1 with get, set
```

Repro:
* Get `T` symbol via `checkResults.GetAllUsesOfAllSymbolsInFile`
* Call `MembersFunctionsAndValues`

Expected: auto property is available in the results
Actual: only separate accessors are returned instead

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.