-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Pri3Indicates issues/PRs that are low priorityIndicates issues/PRs that are low priorityarea-System.ComponentModel
Description
States both that:
The following example sets the default value of
MyProperty
tofalse
.
and
A xref:System.ComponentModel.DefaultValueAttribute will not cause a member to be automatically initialized with the attribute's value. You must set the initial value in your code.
Since the later statement is true, I would suggest updating the previous to:
The following example specifies the default value
MyProperty
should befalse
.
Metadata
Metadata
Assignees
Labels
Pri3Indicates issues/PRs that are low priorityIndicates issues/PRs that are low priorityarea-System.ComponentModel