I have 2 DateTimes values โโwith null values, so subtracting them will nullify the TimeSpan. I want to call .Value on this.

However, the autocomplete drop-down list considers the type inside the brackets to be a regular TimeSpan. .Value not listed, and when I use any suggestions, it does not compile. It compiles when I manually type .Value .
The same problem occurs if only one of the DateTimes is NULL. Does this also happen if I add a TimeSpan? in DateTime? , as a result, we get DateTime? . Intellisense thinks this is a DateTime .
Is this a problem with Visual Studio intellisense? I'm on update 3, I don't have ReSharper. The same problem on another computer.
Edit : To be clear, I ask a question about why intellisense offers the wrong type. I know what to write to compile the code.
source share