GOSHEWAN: kolega na to narazil vcera na stejnem miste, tak mi dnes psal poznatek:
Tried ReferenceEquals and it didn't seem to make any difference.
I beginning to think that it's an issue with the debugger. Even though the debugger steps into the block and hits the throw statement, the exception isn't thrown and the code keeps on executing. When I actually set the object to null, however, the exception is thrown. This could just be a feature in VS.