This package is used by the team at Particular Software to manage Obsolete attributes in Particular Software C# projects.
The package includes the PreObsolete and ObsoleteMetadata attributes needed to ensure that Obsolete attributes are authored properly.
Add the following package reference to your csproj:
<PackageReference Include="Particular.Obsoletes" Version="{package version}" PrivateAssets="All" ExcludeAssets="runtime" />After adding this package to a project, an ObsoleteMetadata attribute can be added to API using this format:
[ObsoleteMetadata(Message = "Message describing why the API is being deprecated", TreatAsErrorFromVersion = "2", RemoveInVersion = "3")]The package contains fixers that can be used to generate the corresponding Obsolete attribute that matched the provided metadata.
Tagged versions are automatically pushed to feedz.io.