app background #1459
Annotations
10 warnings
Build:
src/Starward.Core/HoYoPlay/HoYoPlayClient.cs#L56
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonNode, 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:
src/Starward/AppConfig.cs#L636
Possible null reference return.
|
Build:
src/Starward/Controls/InstallGameDialog.xaml.cs#L290
The variable 'ex' is declared but never used
|
Build:
src/Starward/Controls/GameBizSelector.xaml.cs#L136
The variable 'ex' is declared but never used
|
Build:
src/Starward/Controls/GameBannerAndPost.xaml.cs#L236
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:
src/Starward/Controls/ColorfulTextBlock.xaml.cs#L117
The variable 'ex' is declared but never used
|
Build:
src/Starward/Features/Background/AppBackground.xaml.cs#L38
Non-nullable property 'CurrentGameId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier, or declaring the property as nullable, or adding '[field: MaybeNull, AllowNull]' attributes.
|
Build:
src/Starward/Features/ViewHost/MainView.xaml.cs#L23
Non-nullable property 'CurrentGameBiz' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier, or declaring the property as nullable, or adding '[field: MaybeNull, AllowNull]' attributes.
|
Build:
src/Starward/Features/GameSelector/GameSelector.xaml.cs#L130
The variable 'ex' is declared but never used
|
Build:
src/Starward/Frameworks/AppSetting.cs#L447
Possible null reference return.
|
Loading