You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, partial must appear directly before struct, class, or another type declaration keyword. If the type is a ref struct, ref must appear immediately before partial or struct. It seems likely that various other keywords could be used to disambiguate these contextual modifiers and allow us to relax the constraints on where partial and ref can appear in the modifier list.
Discussion: #8965
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
See also #8134
The text was updated successfully, but these errors were encountered: