Convert the 'Serial' field to a drop-down #39
Annotations
10 warnings
UtilityClient/Utility.cs#L93
The member 'Utility.ConnectAsync()' does not hide an accessible member. The new keyword is not required.
|
UtilityClient/Utility.cs#L51
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.
|
UtilityClient/Native/SocketClient.cs#L44
Possible null reference return.
|
UtilityClient/Native/WebsocketClient.cs#L72
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
UtilityClient/Native/WebsocketClient.cs#L33
Converting null literal or possible null value to non-nullable type.
|
UtilityClient/Native/WebsocketClient.cs#L99
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
UtilityClient/Native/WebsocketClient.cs#L11
Non-nullable field '_receiveMessageTask' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
UtilityClient/Native/WebsocketClient.cs#L12
Non-nullable field '_connectionTask' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
UtilityClient/Utility.cs#L40
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
|
UtilityClient/Utility.cs#L40
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
This job succeeded
Loading