Skip to content

Create null default for all factories #81

Create null default for all factories

Create null default for all factories #81

Triggered via pull request November 1, 2023 07:31
@asdawejasdawej
synchronize #16
asdawej:dev
Status Success
Total duration 12m 2s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
dotnet-build: logic/GameClass/GameObj/Team.cs#L116
Non-nullable field 'birthPointList' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
dotnet-build: logic/GameClass/GameObj/Team.cs#L116
Non-nullable field 'home' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
dotnet-build: logic/GameClass/GameObj/Ship.cs#L171
Non-nullable property 'Armor' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
dotnet-build: logic/GameClass/GameObj/Ship.cs#L171
Non-nullable property 'Shield' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
dotnet-build: logic/GameClass/GameObj/Ship.cs#L171
Non-nullable property 'BulletNum' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
dotnet-build: logic/GameClass/GameObj/Team.cs#L16
Field 'Team.birthPointList' is never assigned to, and will always have its default value null
dotnet-build: logic/Client/MainPage.xaml.cs#L588
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
dotnet-build: logic/Client/MainPage.xaml.cs#L374
The variable 'ex' is declared but never used
dotnet-build: logic/Client/GameStatusBar.xaml.cs#L7
Field 'GameStatusBar.lengthOfHp1Slide' is never assigned to, and will always have its default value 0
dotnet-build: logic/Client/GameStatusBar.xaml.cs#L8
Field 'GameStatusBar.lengthOfHp2Slide' is never assigned to, and will always have its default value 0