Skip to content

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.
@colejohnson66 colejohnson66 requested a review from kouvel as a code owner April 16, 2024 11:18
@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