Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add polyfills for .NET 9 attributes. #108

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

teo-tsirpanis
Copy link

API breakdown (for new features)

Polyfills for the following attributes were added:

  • [OverloadResolutionPriority]
  • [ParamsCollection]

Polyfills for the following runtime-supported attributes were added:

  • [DisableUserUnhandledExceptions]
  • [FeatureGuard]
  • [FeatureSwitchDefinition]
  • [WasmImportLinkage]

Some of the runtime-supported attributes like the first and the last, might be considered too niche to polyfill. I'd be fine with removing them from the PR.

Additional context (optional)

The list of attributes was populated by searching for the string Attribute { in files matching release-notes/9.0/**/Microsoft.NETCore.App in the dotnet/core repository, and excluding the attributes in System.Text.Json.

Test coverage for the language support polyfills was added.

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.

1 participant