Skip to content

Improve .NET 9.0+ locking performance#3216

Merged
Misha-133 merged 1 commit intodiscord-net:devfrom
MarkCiliaVincenti:net9locking
Dec 30, 2025
Merged

Improve .NET 9.0+ locking performance#3216
Misha-133 merged 1 commit intodiscord-net:devfrom
MarkCiliaVincenti:net9locking

Conversation

@MarkCiliaVincenti
Copy link
Contributor

Uses a source generator so does not add a dependency.

Copy link
Member

@Misha-133 Misha-133 left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution

@MarkCiliaVincenti
Copy link
Contributor Author

Cool! This trusts you will keep those InternalsVisibleTo, otherwise you may want to consider not using it as a source generator, but so far all's well and it works.

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