C# 8.0 nullable references: more type system transcendence with DisallowNull

added by DotNetKicks
7/14/2020 3:45:29 PM

40 Views

In my last blog in this series, I talked about the AllowNull attribute. This post shows its converse, DisallowNull. As with all the attributes relating to nullable references, the goal is to improve expressiveness, enabling the compiler to report more nullable-related problems without producing spurious warnings.


0 comments