Why is throw null not a compiler warning in C#?
I saw some code which had a throw null; in it. This causes a new NullReferenceException to be thrown.
Why would the compiler not flag this with a warning?
Why is throw null not a compiler warning in C#?
I saw some code which had a throw null; in it. This causes a new NullReferenceException to be thrown.
Why would the compiler not flag this with a warning?