ingovals
❔ What could cause the compiler to not infer this nullability correctly
I get the warning here about possible null reference, but it is pretty obvious that this could be inferred by flow analysis.
I'm assuming something is wrong, old codebase, old compile etc. I just don's use .net as much anymore and I haven't kept up.
What should I look at?
9 replies