Skip to content

remove the description about the polyfill for union#10449

Open
WeihanLi wants to merge 1 commit into
dotnet:mainfrom
WeihanLi:patch-3
Open

remove the description about the polyfill for union#10449
WeihanLi wants to merge 1 commit into
dotnet:mainfrom
WeihanLi:patch-3

Conversation

@WeihanLi

Copy link
Copy Markdown
Contributor

remove the description about the polyfill for union since it's already included into the base library since .NET 11 Preview 4

Copilot AI review requested due to automatic review settings June 13, 2026 00:14
@WeihanLi WeihanLi requested review from leecow and rbhanda as code owners June 13, 2026 00:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Removes an inlined code sample documenting the required union support types for projects declaring unions in the .NET 11 preview 5 C# release notes.

Changes:

  • Deleted the documentation snippet that shows UnionAttribute and IUnion support type definitions.

@@ -67,20 +67,6 @@ Union rules in this preview:

The compiler also recognizes hand-authored union types marked with `System.Runtime.CompilerServices.UnionAttribute`, including union members supplied by a nested `IUnionMembers` provider interface ([dotnet/roslyn #83048](https://github.com/dotnet/roslyn/pull/83048), [dotnet/roslyn #83208](https://github.com/dotnet/roslyn/pull/83208)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants