1
Vote

IsNullOrWhitespace() Crashes for Null

description

I have an uninitialized static string that returns true for IsNull(x) and string.IsNullOrWhitespace(x), but when I use x.IsNullOrWhitespace(), it crashes the app entirely with no exception displayed.

comments