Skip to content

Add "Thread Safety" section for all types #9793

@ViIvanov

Description

@ViIvanov

Documentation for some types contains "Thread Safety" section.

For example, for the System.String type it says, that

This type is thread safe.

and for some other types (like List<> here) it is more descriptive.

But the documentation for many types does not contain this section at all, for example for HashSet<> here.

Does it mean, that the type should be treated as

Public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

when the "Thread Safety" section does not exist in the documentation?

Otherwise, is it possible to add this section to all types?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3Indicates issues/PRs that are low priorityarea-MetaConcerns something that extends across runtime area boundaries, for example, IDisposable.documentationuntriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions