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

[UUF] Exchange<T>(T, T) also works for Boolean values #10994

Open
gewarren opened this issue Feb 22, 2025 · 0 comments
Open

[UUF] Exchange<T>(T, T) also works for Boolean values #10994

gewarren opened this issue Feb 22, 2025 · 0 comments
Labels
area-System.Threading untriaged New issue has not been triaged by the area owner

Comments

@gewarren
Copy link
Contributor

gewarren commented Feb 22, 2025

Type of issue

Outdated article

Description

In .NET 9, Exchange works for bool as well, i.e. not just reference types.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.threading.interlocked.exchange?view=net-9.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Threading/Interlocked.xml

Document Version Independent Id

63d81ab1-09b0-b8e6-adaa-eaf6b300f4ef

Article author

@dotnet-bot

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Feb 22, 2025
@gewarren gewarren changed the title [UUF] Exchange<T>() also works for Boolean values [UUF] Exchange<T>(T, T) also works for Boolean values Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Threading untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

1 participant