This blog post is effectively a log of my experience with the preview of the C# 8 nullable reference types feature.
There are lots of caveats here: it’s mostly “as I go along” so there may well be backtracking. I’m not advising the right thing to do, as I’m still investigating that myself. And of course the feature is still changing. Oh, and this blog post is inconsistent about its tense. Sometimes I write in the present tense as I go along, sometimes I wrote in the past tense afterwards without worrying about it. I hope this isn’t/wasn’t/won’t be too annoying.
I decided that the best way of exploring the feature would be to try to use it with Noda Time. In particular:
- Does it find any existing bugs?
- Do my existing attributes match what Roslyn expects?
- Does the feature get in the way, or improve my productivity?
View original post 1,639 more words