Skip to content

Commit ae23648

Browse files
authored
Repo cleanup 11/20 (#21723)
1 parent c241865 commit ae23648

28 files changed

+32
-38
lines changed

docs/core/compatibility/aspnet-core/5.0/localization-members-removed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ For context, see [aspnet/Announcements#346](https://github.com/aspnet/Announceme
1717

1818
## Old behavior
1919

20-
The `ResourceManagerWithCultureStringLocalizer` class and the `ResourceManagerStringLocalizer.WithCulture` method are [obsolete in .NET Core 3.0 Preview 3 and later](../../../../core/compatibility/2.2-3.0.md#localization-resourcemanagerwithculturestringlocalizer-and-withculture-marked-obsolete).
20+
The `ResourceManagerWithCultureStringLocalizer` class and the `ResourceManagerStringLocalizer.WithCulture` method are [obsolete in .NET Core 3.0 Preview 3 and later](../../3.0.md#localization-resourcemanagerwithculturestringlocalizer-and-withculture-marked-obsolete).
2121

2222
## New behavior
2323

docs/core/compatibility/code-analysis/5.0/ca1831-range-based-indexer-on-string.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ReadOnlySpan<char> slice = str.AsSpan()[1..3];
3535
ReadOnlySpan<char> slice = str.AsSpan()[1..3];
3636
```
3737

38-
- If you don't want to change your code, you can disable the rule by setting its severity to `suggestion` or `none`. For more information, see [Configure code analysis rules](../../../../fundamentals/productivity/configure-code-analysis-rules.md).
38+
- If you don't want to change your code, you can disable the rule by setting its severity to `suggestion` or `none`. For more information, see [Configure code analysis rules](../../../../fundamentals/code-analysis/configuration-options.md).
3939

4040
- To disable code analysis completely, set `EnableNETAnalyzers` to `false` in your project file. For more information, see [EnableNETAnalyzers](../../../project-sdk/msbuild-props.md#enablenetanalyzers).
4141

docs/core/compatibility/core-libraries/5.0/os-platform-attributes-renamed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ In .NET 5.0 RC1 and later, when a project targets an OS-specific flavor of .NET
2828

2929
## Reason for change
3030

31-
.NET 5.0 Preview 8 introduced attributes in <xref:System.Runtime.Versioning> to specify supported platforms for APIs. The attributes are consumed by the [Platform compatibility analyzer](../../../../core/compatibility/code-analysis.md#ca1416-platform-compatibility) to produce build warnings when platform-specific APIs are consumed on platforms that don't supported those APIs.
31+
.NET 5.0 Preview 8 introduced attributes in <xref:System.Runtime.Versioning> to specify supported platforms for APIs. The attributes are consumed by the [Platform compatibility analyzer](../../code-analysis/5.0/ca1416-platform-compatibility-analyzer.md) to produce build warnings when platform-specific APIs are consumed on platforms that don't supported those APIs.
3232

3333
For .NET 5.0 RC1, an additional feature was added to the platform compatibility analyzer for platform exclusion. The feature allows APIs to be marked as entirely unsupported on OS platforms. That feature prompted changes to the attributes, including using more suitable names. The `ObsoletedInOSPlatformAttribute` was removed because it was no longer needed.
3434

docs/core/compatibility/syslib0001.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ Consequently, the following APIs are marked obsolete, starting in .NET 5.0. Use
4545

4646
## See also
4747

48-
- [UTF-7 code paths are obsolete](3.1-5.0.md#utf-7-code-paths-are-obsolete)
48+
- [UTF-7 code paths are obsolete](core-libraries/5.0/utf-7-code-paths-obsolete.md)

docs/core/compatibility/syslib0002.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ Unlike other obsoletion warnings, you can't suppress the error.
5858

5959
## See also
6060

61-
- [PrincipalPermissionAttribute is obsolete as error](3.1-5.0.md#principalpermissionattribute-is-obsolete-as-error)
61+
- [PrincipalPermissionAttribute is obsolete as error](core-libraries/5.0/principalpermissionattribute-obsolete.md)

docs/core/compatibility/syslib0006.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ void ProcessPendingWorkItemsNew(CancellationToken cancellationToken)
3434

3535
## See also
3636

37-
- [Thread.Abort is obsolete - breaking change](3.1-5.0.md#threadabort-is-obsolete)
37+
- [Thread.Abort is obsolete](core-libraries/5.0/thread-abort-obsolete.md)
3838
- [Cancellation in managed threads](../../standard/threading/cancellation-in-managed-threads.md)

docs/core/compatibility/toc.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,8 +480,6 @@
480480
href: interop/5.0/casting-rcw-to-inspectable-interface-throws-exception.md
481481
- name: No A/W suffix probing on non-Windows platforms
482482
href: interop/5.0/function-suffix-pinvoke.md
483-
- name: .NET Core 2.1-3.0
484-
href: interop.md
485483
- name: MSBuild
486484
items:
487485
- name: .NET 5.0
-115 KB
Binary file not shown.

docs/core/whats-new/dotnet-core-2-1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ On Linux and macOS, you can only configure <xref:System.Net.Http.HttpClient> on
242242

243243
### Breaking changes
244244

245-
For information about breaking changes, see [Breaking changes for migration from version 2.0 to 2.1](../compatibility/2.0-2.1.md).
245+
For information about breaking changes, see [Breaking changes for migration from version 2.0 to 2.1](../compatibility/2.1.md).
246246

247247
## See also
248248

docs/core/whats-new/dotnet-core-3-0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,5 +568,5 @@ Many times when you're developing an application, you want to use an unencrypted
568568

569569
## Next steps
570570

571-
- [Review the breaking changes between .NET Core 2.2 and 3.0.](../compatibility/2.2-3.0.md)
571+
- [Review the breaking changes between .NET Core 2.2 and 3.0.](../compatibility/3.0.md)
572572
- [Review the breaking changes in .NET Core 3.0 for Windows Forms apps.](../compatibility/winforms.md#net-core-30)

0 commit comments

Comments
 (0)