-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Champion: relax ordering constraints around ref
and partial
modifiers on type declarations
#946
Comments
Note: i've looked at https://github.com/dotnet/csharplang/blob/master/meetings/2017/LDM-2017-12-04.md, but i can't find where in it it refers to this issue. Can you link/copy the appropriate section? Thanks! |
Can restrictions around |
So that link does not talk about
|
Currently,
partial
must appear directly beforestruct
,class
, or another type declaration keyword. If the type is aref
struct,ref
must appear immediately beforepartial
orstruct
. It seems likely that various other keywords could be used to disambiguate these contextual modifiers and allow us to relax the constraints on wherepartial
andref
can appear in the modifier list.See https://github.com/dotnet/csharplang/blob/master/meetings/2017/LDM-2017-12-04.md
The text was updated successfully, but these errors were encountered: