Skip to content

System.ThreadStaticAttribute example code should not specify initial values #4937

Open
@pwitvoet

Description

@pwitvoet

The documentation for System.ThreadStaticAttribute ( https://docs.microsoft.com/en-us/dotnet/api/system.threadstaticattribute ) warns against specifying initial values for thread-static fields, but both the C# and VB example code contradict that warning by specifying initial values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3Indicates issues/PRs that are low priorityarea-System.ThreadinguntriagedNew 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