Skip to content

Syntax for properties can be improved in terms of attributes for get and set #24063

@BoundedChenn31

Description

@BoundedChenn31
  1. Main syntax (first one) lacks [ attributes-for-get ] and [ attributes-for-set ], though it definitely supports them.
  2. Alternative syntax (second one) mentions the same [ attributes-for-get ] and [ attributes-for-set ] but in wrong positions. Because attributes would be applied to property or... ehh, lost completely?
    But this way everything works.

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.


Associated WorkItem - 495672

Metadata

Metadata

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.dotnet-fsharp/svcin-prThis issue will be closed (fixed) by an active pull request.okr-qualityContent-quality KR: Concerns article defects (bugs), freshness, or build warnings.

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions