VisualStudio now suggest to use [field: ...]
instead of [property: ...]
. Is it safe to switch?
#708
Unanswered
AndreasReitberger
asked this question in
Q&A
Replies: 1 comment 2 replies
-
That is still the case, yes. If you want to pass an attribute to the generated property, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As I started to use this toolkit, I needed to use the
[property: ...]
to pass attributes to the SourceGenerator.Is this still so? Visual Studio says now to switch to field, however I wasn't able to find a change in the changelog indicating this.
Beta Was this translation helpful? Give feedback.
All reactions