Skip to content

WeakReference<T> is not documented as thread safe #5276

@sharwell

Description

@sharwell

The WeakReference<T> type is thread safe, but the documentation does not indicate it.

<Type Name="WeakReference&lt;T&gt;" FullName="System.WeakReference&lt;T&gt;">

It looks lik eth efollowing element can be added to include this detail:

<threadsafe>This type is thread safe.</threadsafe>

For example:

<threadsafe>This type is thread safe.</threadsafe>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3Indicates issues/PRs that are low priorityarea-System.RuntimeuntriagedNew issue has not been triaged by the area owner

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions