[Breaking change]: Features marked as Obsolete in .NET 7 #31401
Labels
breaking-change
Indicates a .NET Core breaking change
🏁 Release: .NET 7
Work items for the .NET 7 release
doc-idea
Indicates issues that are suggestions for new topics [org][type][category]
Pri1
High priority, do before Pri2 and Pri3
source incompatible
Source code may encounter a breaking change in behavior when targeting the new version.
Description
Starting with .NET 7 Preview 3, a small set of APIs which were previously announced to be made obsolete are now effectively marked as obsolete via the
ObsoleteAttribute
and will impact the developer's build. This is a continuation of #20894 which announced several APIs as obsolete but never made the corresponding change in the core libraries.Version
Other (please put exact version in description textbox)
Previous behavior
These APIs could be referenced without any build warnings.
New behavior
References to these APIs will produce build warnings with the corresponding diagnostics.
Type of breaking change
Reason for change
These APIs were marked as obsolete for different reasons.
Recommended action
Follow the recommended action that is emitted when using the obsolete API.
Feature area
Core .NET libraries
Affected APIs
The following APIs are now correctly marked as
Obsolete
and will impact the build:The text was updated successfully, but these errors were encountered: