Skip to content

[Breaking change]: Revert breaking change https://github.com/dotnet/docs/issues/45584 #46803

Open
@agocke

Description

@agocke

Description

This breaking change reverts the previously mentioned breaking change and returns to .NET 8 behavior. This change shipped in .NET 9.0.6. There is now no difference in behavior between .NET 8 and .NET 9.

Version

.NET 9

Previous behavior

Behavior described as .NET 9 behavior in #45584

New behavior

Behavior described as .NET 8 behavior in #45584

Type of breaking change

  • Binary incompatible: Existing binaries might encounter a breaking change in behavior, such as failure to load or execute, and if so, require recompilation.
  • Source incompatible: When recompiled using the new SDK or component or to target the new runtime, existing source code might require source changes to compile successfully.
  • Behavioral change: Existing binaries might behave differently at run time.

Reason for change

Breaking change was more impactful than expected.

Recommended action

If any changes were made to adapt to the previous change, revert those changes back to .NET 8 behavior.

If no changes were made for .NET 9, no changes are necessary.

Feature area

Deployment

Affected APIs

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions