Convert the 'Serial' field to a drop-down #39
build.yml
on: pull_request
Build for Windows
57s
Build for Linux
1m 35s
Annotations
20 warnings
Build for Windows:
UtilityClient/Utility.cs#L93
The member 'Utility.ConnectAsync()' does not hide an accessible member. The new keyword is not required.
|
Build for Windows:
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.
|
Build for Windows:
UtilityClient/Native/SocketClient.cs#L44
Possible null reference return.
|
Build for Windows:
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.
|
Build for Windows:
UtilityClient/Native/WebsocketClient.cs#L33
Converting null literal or possible null value to non-nullable type.
|
Build for Windows:
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.
|
Build for Windows:
UtilityClient/Native/WebsocketClient.cs#L11
Non-nullable field '_receiveMessageTask' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
Build for Windows:
UtilityClient/Native/WebsocketClient.cs#L12
Non-nullable field '_connectionTask' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
Build for Windows:
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.
|
Build for Windows:
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.
|
Build for Linux:
UtilityClient/Utility.cs#L93
The member 'Utility.ConnectAsync()' does not hide an accessible member. The new keyword is not required.
|
Build for Linux:
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.
|
Build for Linux:
UtilityClient/Native/SocketClient.cs#L44
Possible null reference return.
|
Build for Linux:
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.
|
Build for Linux:
UtilityClient/Native/WebsocketClient.cs#L33
Converting null literal or possible null value to non-nullable type.
|
Build for Linux:
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.
|
Build for Linux:
UtilityClient/Native/WebsocketClient.cs#L11
Non-nullable field '_receiveMessageTask' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
Build for Linux:
UtilityClient/Native/WebsocketClient.cs#L12
Non-nullable field '_connectionTask' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
Build for Linux:
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.
|
Build for Linux:
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.
|