Skip to content

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

@voroninp

Description

@voroninp

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 [<Optional>] and [<DefaultParameterValue>] attributes applied to method arguments.

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

module Bar = 
    [<AttributeUsage(AttributeTargets.Parameter)>]
    type MyAttribute() = inherit Attribute()

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

type Foo() =
    member this.Bar([<My>] value:string) = value

VS offers to open module for My in Foo, but fails to do so for IFoo

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions