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

Update ThreadLocal`1.xml #9815

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

Conversation

colejohnson66
Copy link
Contributor

@colejohnson66 colejohnson66 commented Apr 16, 2024

Summary

Alter wording of ThreadLocal.Value initialization to clarify that NULL -/-> NOT(init) following dotnet/runtime#101105

Also, removed MissingMemberException mention; Value-factory-less initialization does not use reflection, so the exception can never occur.

Questions

I'm not too keen on the wording of the sentence I added. Feel free to offer suggestions on how to improve it.

Alter wording of `ThreadLocal.Value` initialization to clarify that `NULL -/-> NOT(init)` following dotnet/runtime#101105

Also, removed `MissingMemberException` mention; Value-factory-less initialization does not use reflection, so the exception can never occur.
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Apr 16, 2024
Copy link

Learn Build status updates of commit 06f77fa:

✅ Validation status: passed

File Status Preview URL Details
xml/System.Threading/ThreadLocal`1.xml ✅Succeeded View

For more details, please refer to the build report.

For any questions, please:

Copy link

Learn Build status updates of commit 4a2dbba:

✅ Validation status: passed

File Status Preview URL Details
xml/System.Threading/ThreadLocal`1.xml ✅Succeeded View

For more details, please refer to the build report.

For any questions, please:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Threading community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant