Visual Opponent Shot Info #8
Annotations
11 warnings
BlazorBattleship/GameClassLib/Player.cs#L35
Converting null literal or possible null value to non-nullable type.
|
BlazorBattleship/Pages/Index.razor#L291
Nullable value type may be null.
|
BlazorBattleship/Pages/Index.razor#L298
Nullable value type may be null.
|
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#L114
The field 'Index.opponent' is assigned but its value is never used
|
BlazorBattleship/Pages/Index.razor#L113
The field 'Index.currentPlayer' is assigned but its value is never used
|
BlazorBattleship/GameClassLib/Player.cs#L35
Converting null literal or possible null value to non-nullable type.
|
BlazorBattleship/Pages/Index.razor#L291
Nullable value type may be null.
|
|
This job succeeded
Loading