Skip to content

Commit d0629a7

Browse files
authored
Obsolete APIs with custom diagnostics breaking change (#21169)
1 parent 60da862 commit d0629a7

File tree

3 files changed

+288
-0
lines changed

3 files changed

+288
-0
lines changed

docs/core/compatibility/3.1-5.0.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ If you're migrating from version 3.1 of .NET Core, ASP.NET Core, or EF Core to v
210210

211211
## Core .NET libraries
212212

213+
- [API obsoletions with non-default diagnostic IDs](#api-obsoletions-with-non-default-diagnostic-ids)
213214
- [FrameworkDescription's value is .NET instead of .NET Core](#frameworkdescriptions-value-is-net-instead-of-net-core)
214215
- [Assembly-related API behavior changes for single-file publishing format](#assembly-related-api-behavior-changes-for-single-file-publishing-format)
215216
- [Order of tags in Activity.Tags is reversed](#order-of-tags-in-activitytags-is-reversed)
@@ -232,6 +233,10 @@ If you're migrating from version 3.1 of .NET Core, ASP.NET Core, or EF Core to v
232233
- [CounterSet.CreateCounterSetInstance now throws InvalidOperationException if instance already exist](#countersetcreatecountersetinstance-now-throws-invalidoperationexception-if-instance-already-exists)
233234
- [Microsoft.DotNet.PlatformAbstractions package removed](#microsoftdotnetplatformabstractions-package-removed)
234235

236+
[!INCLUDE [obsolete-apis-with-custom-diagnostics](../../../includes/core-changes/corefx/5.0/obsolete-apis-with-custom-diagnostics.md)]
237+
238+
***
239+
235240
[!INCLUDE [frameworkdescription-returns-net-not-net-core](../../../includes/core-changes/corefx/5.0/frameworkdescription-returns-net-not-net-core.md)]
236241

237242
***

docs/core/compatibility/corefx.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ The following breaking changes are documented on this page:
1111

1212
| Breaking change | Version introduced |
1313
| - | :-: |
14+
| [API obsoletions with non-default diagnostic IDs](#api-obsoletions-with-non-default-diagnostic-ids) | 5.0 |
1415
| [FrameworkDescription's value is .NET instead of .NET Core](#frameworkdescriptions-value-is-net-instead-of-net-core) | 5.0 |
1516
| [Assembly-related API behavior changes for single-file publishing format](#assembly-related-api-behavior-changes-for-single-file-publishing-format) | 5.0 |
1617
| [Order of tags in Activity.Tags is reversed](#order-of-tags-in-activitytags-is-reversed) | 5.0 |
@@ -53,6 +54,10 @@ The following breaking changes are documented on this page:
5354

5455
## .NET 5.0
5556

57+
[!INCLUDE [obsolete-apis-with-custom-diagnostics](../../../includes/core-changes/corefx/5.0/obsolete-apis-with-custom-diagnostics.md)]
58+
59+
***
60+
5661
[!INCLUDE [frameworkdescription-returns-net-not-net-core](../../../includes/core-changes/corefx/5.0/frameworkdescription-returns-net-not-net-core.md)]
5762

5863
***

0 commit comments

Comments
 (0)