Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default value for value-type ctor params properly #43831

Merged
merged 2 commits into from
Oct 30, 2020

Conversation

layomia
Copy link
Contributor

@layomia layomia commented Oct 26, 2020

Fixes #43757.

@layomia layomia added this to the 6.0.0 milestone Oct 26, 2020
@layomia layomia self-assigned this Oct 26, 2020
@layomia layomia merged commit c0b645d into dotnet:master Oct 30, 2020
@layomia layomia deleted the CtorParamDefault branch October 30, 2020 18:38
@benaadams
Copy link
Member

Issue has come up again, should this be backported? #45221

layomia added a commit to layomia/dotnet_runtime that referenced this pull request Dec 2, 2020
* Set default value for value-type ctor params properly

* Address review feedback
layomia added a commit that referenced this pull request Dec 8, 2020
* Set default value for value-type ctor params properly

* Address review feedback
@ghost ghost locked as resolved and limited conversation to collaborators Dec 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NullReference when default is set as optional argument default for value-typed ctor parameter
4 participants