I think 'Dereference of a possibly null reference' may have to join 'object not set to a reference of an object' as my least loved and most unhelpful error/warning message ever!

@CodeBunTes I don't know your context, but this warning generally should help you improve the quality of your code by detecting missing null checks.

So 'Dereference of a possibly null reference' at compile time may lead to 'object not set to a reference of an object' at runtime.

@abjerner Yeah, it's one of those ones that's definitely well intentioned, it's just the way it functions in practice is a bit too broadbrush and often leaves you searching for a needle in a haystack. Almost akin to doing a code review and going 'there's a problem in your code *somewhere*, good luck'!