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

Proposal: more improvements to nullable reference types #3868

Closed
jcouv opened this issue Sep 9, 2020 · 2 comments
Closed

Proposal: more improvements to nullable reference types #3868

jcouv opened this issue Sep 9, 2020 · 2 comments

Comments

@jcouv
Copy link
Member

jcouv commented Sep 9, 2020

Follow-up on C# 9 work.

Considered for C# 10:

  • Task<T> (LDM tentatively approved, needs design proposal for task-like types)
  • LINQ (LDM expressed interested to handle Where, needs design proposal)
  • uninitialized fields and constructors (no plan, aside from MemberNotNull)
@alrz
Copy link
Member

alrz commented Sep 9, 2020

uninitialized fields and constructors

I understand this isn't about records but could that replace #3630 somehow?

I think the important distinction is to warn on object construction (new) rather than inside the constructor.

@jcouv
Copy link
Member Author

jcouv commented Sep 28, 2020

Closing in favor of #3950 (Task) and #3951 (LINQ).
The discussion of initialization debt is covered by required properties feature.

@jcouv jcouv closed this as completed Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants