I get a resharper warning
The NotNull used to work, I wonder if it the nullable reference type compiler support (We havent enabled nullable support in this projec