I have the following code in my C# application.
DateTimeFormatInfo.CurrentInfo.DayNames
ReSharper 7.1.1 is highlighting the fact that the DateTimeFormatInfo.CurrentInfo
could cause a null reference exception.
Under what circumstances would this occur? Or is this just a mistake on ReSharper's part believing that any object whose property you access should be null checked?