-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Implemented Needs ECMA SpecThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationProposalProposal champion
Milestone
Description
C# 8:
[MaybeNull]Tstate tracking (proposal, done, C# 8)- enforcing attributes in method bodies (done, C# 8)
- nullability attributes in OHI (done, C# 8)
Done for C# 9:
- dependent calls (MemberNotNull, done, gated on C# 9)
T?withdefaultconstraint (done, gated on C# 9)- record decision on side-effect of
M(someMaybeNullValue);(done, issue Passing a value to a not nullable parameter should update state roslyn#43383) - relax warning on return someBoolValue; (done, issue Relax enforcement of conditional attributes roslyn#44080)
- suppression in null-conditional (
x?.y!.z, proposal Null propagation expression does not allow!as a nested operator form (VS 16.8, .NET 5) #3393)
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:
- https://github.com/dotnet/csharplang/blob/master/meetings/2019/LDM-2019-12-18.md (discussion of
var?, pure null checks) - https://github.com/dotnet/csharplang/blob/master/meetings/2019/LDM-2019-11-11.md (
[MaybeNull] T) - https://github.com/dotnet/csharplang/blob/master/meetings/2019/LDM-2019-11-25.md (
T??)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Implemented Needs ECMA SpecThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationProposalProposal champion