This PR enables the rules in the root Directory.Build.props in the AprsParser directory. Most changes are just updates to analyzer warnings or suggestions. Part of #8.
In one place, this found a bug where a DateTime object was not correctly converted to UTC time. A new variable was declared for the conversion but it went unused. The unused variable was flagged and correcting the code to reference it caused unit test failures. This was followed up by a fix in the unit tests.
Description
This PR enables the rules in the root
Directory.Build.props
in theAprsParser
directory. Most changes are just updates to analyzer warnings or suggestions. Part of #8.In one place, this found a bug where a
DateTime
object was not correctly converted to UTC time. A new variable was declared for the conversion but it went unused. The unused variable was flagged and correcting the code to reference it caused unit test failures. This was followed up by a fix in the unit tests.Changes
Directory.Build.props
How verified