Skip to content

Commit 42b1a53

Browse files
Copilotgewarren
andcommitted
Use xref links instead of backticks for API names in breaking change documentation
Co-authored-by: gewarren <[email protected]>
1 parent 9c429f5 commit 42b1a53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/core/compatibility/extensions/10.0/dynamically-accessed-members-configuration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.custom: https://github.com/dotnet/docs/issues/47433
88

99
# Removed DynamicallyAccessedMembers annotation from trim-unsafe Microsoft.Extensions.Configuration code
1010

11-
Certain Microsoft.Extensions.Configuration APIs that were marked as `RequiresUnreferencedCode` and had `DynamicallyAccessedMembers` annotations to preserve some necessary members during trimming have had those annotations removed completely. This change affects the trimming behavior of these APIs in .NET 10.
11+
Certain Microsoft.Extensions.Configuration APIs that were marked as <xref:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute> and had <xref:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute> annotations to preserve some necessary members during trimming have had those annotations removed completely. This change affects the trimming behavior of these APIs in .NET 10.
1212

1313
## Version introduced
1414

@@ -20,15 +20,15 @@ Previously, certain Microsoft.Extensions.Configuration APIs worked with some lim
2020

2121
## New behavior
2222

23-
Starting in .NET 10, the same Microsoft.Extensions.Configuration APIs now work with even more limited use cases while still generating trimming warnings at publish time. The `DynamicallyAccessedMembers` annotations have been completely removed, reducing the amount of code preserved during trimming.
23+
Starting in .NET 10, the same Microsoft.Extensions.Configuration APIs now work with even more limited use cases while still generating trimming warnings at publish time. The <xref:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute> annotations have been completely removed, reducing the amount of code preserved during trimming.
2424

2525
## Type of breaking change
2626

2727
This change can affect [binary compatibility](../../categories.md#binary-compatibility).
2828

2929
## Reason for change
3030

31-
The annotations were removed as part of an effort to remove uses of `DynamicallyAccessedMemberTypes.All` from the product. This change encourages users to migrate to more trim-safe alternatives.
31+
The annotations were removed as part of an effort to remove uses of <xref:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.All> from the product. This change encourages users to migrate to more trim-safe alternatives.
3232

3333
## Recommended action
3434

0 commit comments

Comments
 (0)