Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't help readers much. Instead, can you add even a brief section on
System.Threading.Lockwith the xref you have here, and a link to the C# language reference updates that show how thelockkeyword behaves with theSystem.Threading.Locktype?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does not help readers much because it does not provide the details that should be added here. But at least, it tells the reader that the list is no longer complete and other types exist, and that they need to look them up themselves until the docs are updated. So, it does help the readers somewhat.
I would love to update the docs, but I have not used this new type yet, so I cannot write anything useful about it. Maybe I will after having used it and when I find time for it, which is quite difficult at the moment and in the foreseeable future.