Skip to content

ConditionalAttribute on property or event accessor #912

@KalleOlaviNiemitalo

Description

@KalleOlaviNiemitalo

#375 discussed ObsoleteAttribute and ConditionalAttribute on accessors of properties and events.

For ObsoleteAttribute, the conclusion was that the standard does not disallow it even though a C# 7 compiler does, but that it should be allowed in a later version of C# and it is not worth the trouble to change the standard now and revert that change later. The issue was then closed.

Was something decided about whether the standard should be changed to disallow ConditionalAttribute?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions