Skip to content

Proposal: improvements to nullable reference types (VS 16.8, .NET 5) #3297

@jcouv

Description

@jcouv

C# 8:

  • [MaybeNull]T state tracking (proposal, done, C# 8)
  • enforcing attributes in method bodies (done, C# 8)
  • nullability attributes in OHI (done, C# 8)

Done for C# 9:

Considered for C# 9 (moved to follow-up issue 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)

LDM notes:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions