Open agocke opened 6 years ago
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 partial
just be relaxed entirely? I'd like it if partial abstract class
worked just the same as abstract partial class
.
See https://github.com/dotnet/csharplang/blob/master/meetings/2017/LDM-2017-12-04.md
So that link does not talk about partial
anywhere (as @CyrusNajmabadi noted), so I did a quick search for the paper trail myself:
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