~/talk

Nullability in C#

Talkat DotNext 2020 Moscow · 2020-12-02..12-05· [dotnet, typescript]
slides:none on file

C# 9 extends nullable reference types from C# 8 with concrete language and library work so null tracking is usable today across large codebases and libraries. It adds #nullable enable for incremental adoption, flow analysis into constructors and captured locals, generics support with T?, attributes like MemberNotNull and DoesNotReturnIf with compiler enforcement, the null‑forgiveness operator to override warnings, and .NET 5 annotations covering ~98% of core APIs so the feature finds real bugs and ships successfully.

AI-written summary · about

  1. 0:00Introduction
  2. 2:46Talk overview
  3. 3:48Design philosophy
  4. 6:01Discarded solutions
  5. 8:35Incremental adoption
  6. 12:04Key principles
  7. 13:22Feature demo
  8. 16:17Annotation interaction
  9. 17:36Null forgiveness
  10. 18:15Generics
  11. 19:12Mixed codebases
  12. 20:17Flow analysis
  13. 22:53Advanced flow analysis
  14. 25:47Helper attributes
  15. 29:27C# 9 improvements
  16. 31:28Initialization patterns
  17. 33:59Attribute enforcement
  18. 36:44Generics in C# 9
  19. 39:35Library compatibility
  20. 42:21Constructor flow analysis
  21. 46:26Local functions
  22. 48:33Captured value analysis
  23. 50:36Framework annotations
  24. 53:17Adoption strategies
  25. 55:26Annotation order
  26. 58:36Future work
  27. 1:02:58Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.