Back to Csharplang

Notnull Constraint

proposals/csharp-8.0/notnull-constraint.md

latest249 B
Original Source

Notnull constraint

Champion issue: https://github.com/dotnet/csharplang/issues/36

In C# 8.0, we added a language feature that permits the specification of a new type parameter constraint notnull. This is a placeholder for its specification.