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
{{ message }}
Repository navigation
System.Text.Json generator does not generate valid code for empty string default parameter constructors #62766
As the title says, when there is a get-only property with an empty string as the default parameter in the constructor, the generator generates invalid C# code.
Activity
layomia commentedon Dec 14, 2021
I was able to repro.
6.0.x candidate as we are preventing successful compilation for a trivial/common scenario.
layomia commentedon Jan 7, 2022
Re-opening for 6.0 consideration.