Files
s7netplus/S7.Net.UnitTest
Serge Camille bd8177d39e Add nullable support throughout the whole library.
This requires reference types that can be null to be annotated by a ? operator, similar to value types.

This gives the advantage that the compiler can warn against any null dereference exceptions, of which this commits elimits a few.

To make the underlying protocol implementation not any more complicated and to eliminate existing problems, and not that precise error reporting, I replaced some return null statements with explicit Exceptions. This lead to the assumption that those core protocoll functions always return non-null objects if they do not throw, making the PLC code simpler.

Adjust some NotConnected tests to look for explicit PlcException instead of NullReferenceException.
2020-08-31 22:48:45 +02:00
..
2018-09-26 14:43:49 +02:00
2014-12-22 14:31:52 +01:00
2020-08-17 19:14:28 +02:00
2019-03-14 23:04:26 +01:00
2014-12-22 14:31:52 +01:00