Skip to content

Unable to document enums #87

Open
Open
@ChrisCanCompute

Description

@ChrisCanCompute

Using:

    <TargetFrameworks>net6.0</TargetFrameworks>

I've got the following F# code:

/// A Foo enum
type Foo =
    /// The bar case
    | Bar = 0

I would expect this to pass the documentation check.

Instead I get:

The following 1 member(s) are only in 'Test.xml':
  + F:Test.Foo.Bar

The following 2 member(s) are only in 'Test.dll':
  - P:Test.Foo.Bar
  - F:Test.Foo.value__

So I checked the readme, and tried to do:

/// A Foo enum
[<Undocumented>]
type Foo =
    /// The bar case
    | Bar = 0

But that attribute doesn't exist :'(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions