Skip to content
Discussion options

You must be logged in to vote

It is currently impossible to add attributes to a primary constructor:

This is not the case. Roslyn, as an example, places attributes on primary constructors all over the place. You just need the [method: ...] syntax to specify this :)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 333fred
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants