dotnet / dotnet/aspnetcore

Use new DiagnosticId attributes in obsolete APIs

Open
#29,513 2 comments 2 reactions 0 assignees View on GitHub
area-networking enhancement
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

From https://github.com/dotnet/aspnetcore/issues/27529#issuecomment-729878872.

> We may also want to use the new `[Obsolete]` `DiagnosticId` property. The dotnet/runtime team is using this extensively. See https://github.com/dotnet/runtime/blob/329f0dbfa3a164ee2e3bf9f75b7641165995c799/src/libraries/Common/src/System/Obsoletions.cs and e.g. https://github.com/dotnet/runtime/blob/329f0dbfa3a164ee2e3bf9f75b7641165995c799/src/libraries/System.Security.Permissions/src/System/Security/SecurityManager.cs#L10

This would allow us to create a unified experience for documenting obsolete APIs in the repo.

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.