Skip to content

Acknowledge valid C# 12+ syntax in polyfill types#9081

Closed
Copilot wants to merge 1 commit intogai/source-generator-refactoringfrom
copilot/sub-pr-9058
Closed

Acknowledge valid C# 12+ syntax in polyfill types#9081
Copilot wants to merge 1 commit intogai/source-generator-refactoringfrom
copilot/sub-pr-9058

Conversation

Copy link
Copy Markdown

Copilot AI commented Jan 30, 2026

Addressed review feedback confirming that trailing semicolon syntax for empty type declarations is valid in C# 12+.

The bot reviewer incorrectly flagged this syntax as invalid:

internal sealed class SetsRequiredMembersAttribute : Attribute;
internal sealed class IsExternalInit;
internal sealed class RequiredMemberAttribute : Attribute;

This syntax is valid and compiles successfully. The project uses <LangVersion>preview</LangVersion> and targets modern C# features. No code changes required.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] WIP to address feedback on symbol references removal Acknowledge valid C# 12+ syntax in polyfill types Jan 30, 2026
Copilot AI requested a review from glen-84 January 30, 2026 12:28
@glen-84 glen-84 closed this Jan 30, 2026
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