Replies: 10 comments
-
@RikkiGibson The prototype link in https://github.com/RikkiGibson/csharplang/blob/module-initializers/proposals/module-initializers.md is broken. It should be https://github.com/jnm2/roslyn/tree/module_initializer. |
Beta Was this translation helpful? Give feedback.
-
Thanks, updated! |
Beta Was this translation helpful? Give feedback.
-
https://github.com/dotnet/csharplang/blob/master/meetings/2020/LDM-2020-04-08.md#module-initializers
I like this a lot. |
Beta Was this translation helpful? Give feedback.
-
What would be the appropriate issue to comment on |
Beta Was this translation helpful? Give feedback.
-
@SingleAccretion Don't know whether there is a specific discussion about it but you're free to create one, worst-case scenario it would be a dup. |
Beta Was this translation helpful? Give feedback.
-
I didn't see it addressed in the design notes or the proposal- for properties, why has the design moved from Otherwise, I love the |
Beta Was this translation helpful? Give feedback.
-
@MgSam Presumably to keep it a "modifier" keyword, as it can also be applied to fields. To be honest, I am skeptical about |
Beta Was this translation helpful? Give feedback.
-
On public readonly int P { get; set; } It feels similar to readonly fields, which can be set at initialization, but not later. |
Beta Was this translation helpful? Give feedback.
-
@qrli This would not work for fields (which enable |
Beta Was this translation helpful? Give feedback.
-
Also, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
April 8, 2020
C# Language Design Notes for April 8, 2020
e is dynamic
pure null check?:
or
patternApril 6, 2020
C# Language Design Notes for April 6, 2020
Beta Was this translation helpful? Give feedback.
All reactions