Skip to content

Incorrect source link for System.ComponentModel.DataAnnotations.KeyAttribute? #11627

@fterrani

Description

@fterrani

Type of issue

Other (describe below)

Description

It seems the link to the source code of KeyAttribute is incorrect? Link is named LengthAttribute.cs and points to https://github.com/dotnet/runtime/blob/9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3/src/libraries/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/LengthAttribute.cs

I tried editing the page but I couldn't find any reference to LengthAttribute.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.dataannotations.keyattribute?view=net-9.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.ComponentModel.DataAnnotations/KeyAttribute.xml

Document Version Independent Id

ae8e22db-4670-0601-a34a-75963ba22352

Platform Id

dc3b3b1d-4630-9f61-28b9-2d0587825de8

Article author

@dotnet-bot

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions