Skip to content

Commit

Permalink
C#: Add change note.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelnebel committed Sep 16, 2024
1 parent f9fb1b0 commit 3130df7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions csharp/ql/lib/change-notes/2024-09-16-accessor-mad.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
category: breaking
---
* C#: Add support for MaD directly on properties and indexers using *attributes*. Using `Attribute.Getter` or `Attribute.Setter` in the model `ext` field applies the model to the getter or setter for properties and indexers. Prior to this change `Attribute` models unintentionally worked for property setters (if the property is decorated with the matching attribute). That is, a model that uses the `Attribute` feature directly on a property for a property setter needs to be changed to `Attribute.Setter`.

0 comments on commit 3130df7

Please sign in to comment.