-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Attributes on Generic Type Parameters #215
Comments
This would be very powerful! |
Just looks like an oversight that it was never supported. |
Update: The 12/6/2017 LDM approved this idea in principle. |
Was there a preferred implementation?
|
An implementation should change |
@KathleenDollard and @AnthonyDGreen Note: Isn't protected via a Feature Flag |
It is possible to create an attribute (in VB) that can be used on generic parameter.
Yet consuming that attribute in VB isn't permitted.
produces the following errors on
<
We should remedy the issue, and allow them.
Currently syntax node
TypeParameterSyntax
doesn't support them (in C# in does), so will need to extend the definition. Or define another that inherits fromTypeParameterSyntax
.Parsing should be relatively simple as parsing attributes is already implement, so adding an additional parsing step to parsing of a generic parameters should not be to hard.
The text was updated successfully, but these errors were encountered: