Finishing Touches #33
Annotations
11 warnings
BlazorBattleship/GameClassLib/Player.cs#L38
Converting null literal or possible null value to non-nullable type.
|
BlazorBattleship/Shared/Sidebar.razor#L74
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.
|
BlazorBattleship/Shared/Sidebar.razor#L18
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.
|
BlazorBattleship/Pages/Index.razor#L423
Dereference of a possibly null reference.
|
BlazorBattleship/GameClassLib/Player.cs#L19
Field 'Player.Ship.length' is never assigned to, and will always have its default value 0
|
BlazorBattleship/GameClassLib/Player.cs#L17
Field 'Player.Ship.x' is never assigned to, and will always have its default value 0
|
BlazorBattleship/GameClassLib/Player.cs#L18
Field 'Player.Ship.y' is never assigned to, and will always have its default value 0
|
BlazorBattleship/Pages/Index.razor#L235
The field 'Index.isPlayer1' is assigned but its value is never used
|
BlazorBattleship/Pages/Index.razor#L233
The field 'Index.currentPlayer' is assigned but its value is never used
|
BlazorBattleship/GameClassLib/Player.cs#L38
Converting null literal or possible null value to non-nullable type.
|
|
This job succeeded
Loading