feature: Enable coverage generation coverlet.msbuild #27
Annotations
10 warnings
|
Sonar Check:
NetSdrClientApp/Networking/TcpClientWrapper.cs#L109
Dereference of a possibly null reference.
|
|
Sonar Check:
EchoTspServer/Program.cs#L48
Make 'HandleClientAsync' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
|
Sonar Check:
EchoTspServer/Program.cs#L143
Make sure that using this pseudorandom number generator is safe here. (https://rules.sonarsource.com/csharp/RSPEC-2245)
|
|
Sonar Check:
EchoTspServer/Program.cs#L114
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
|
|
Sonar Check:
EchoTspServer/Program.cs#L14
Make '_cancellationTokenSource' 'readonly'. (https://rules.sonarsource.com/csharp/RSPEC-2933)
|
|
Sonar Check:
EchoTspServer/Program.cs#L84
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
|
Sonar Check:
EchoTspServer/Program.cs#L163
Cannot convert null literal to non-nullable reference type.
|
|
Sonar Check:
EchoTspServer/Program.cs#L17
Non-nullable field '_listener' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
|
Sonar Check:
EchoTspServer/Program.cs#L133
Nullability of reference types in type of parameter 'state' of 'void UdpTimedSender.SendMessageCallback(object state)' doesn't match the target delegate 'TimerCallback' (possibly because of nullability attributes).
|
|
Sonar Check:
EchoTspServer/Program.cs#L121
Non-nullable field '_timer' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|