Skip to content

Differentiate Between Obsolete Warnings #91337

Discussion options

You must be logged in to vote

Update the ObsoleteAttribute to let us pass in a custom error code.

The ObsoleteAttribute.DiagnosticId property was added in .NET 5.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@MattBussing
Comment options

@KalleOlaviNiemitalo
Comment options

@MattBussing
Comment options

@KalleOlaviNiemitalo
Comment options

@MattBussing
Comment options

Answer selected by MattBussing
Comment options

You must be logged in to vote
2 replies
@MattBussing
Comment options

@MattBussing
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants