dotnet / dotnet/fsharp

Tooling does not offer to open namespace for attributes applied to method arguments of interfaces..

Open
#8,735 1 comment 0 reactions 0 assignees View on GitHub
Area-LangService-CodeFixes Feature Improvement
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 11h
Merged PRs (30d)
131

Description

**Is your feature request related to a problem? Please describe.**
I expect tooling to work consistently, but VS does not offer to open `System.Runtime.InteropServices` namespace for `[]` and `[]` attributes applied to method arguments.

This is actually not only about theses attributes, but a general issue.

```FSharp
module Bar =
[]
type MyAttribute() = inherit Attribute()

type IFoo =
abstract bar: [] value: string -> string

type Foo() =
member this.Bar([] value:string) = value
```
VS offers to open module for `My` in `Foo`, but fails to do so for `IFoo`

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.