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
classC{publicstring?Prop{get;set;}}classProgram{publicrequiredCC{get;set;}staticvoidMain(){varprogram=newProgram(){// error CS9036: Required member 'Program.C' must be assigned a value, it cannot use a nested member or collection initializer.C={Prop="a"}};}}
Uh oh!
There was an error while loading. Please reload this page.
It seems that the compiler error CS9036 is nowhere described. It would be great, if you could provide a documentation about it. Thank you!
This refers to the following scenario razor.fyi
Associated WorkItem - 434158
The text was updated successfully, but these errors were encountered: