optimize effect of app background #1476
Annotations
10 warnings
Build:
src/Starward.Launcher/Starward.Launcher.cpp#L23
'argument': conversion from 'size_t' to 'DWORD', possible loss of data
|
Build:
src/Starward.Launcher/Starward.Launcher.cpp#L24
'argument': conversion from 'size_t' to 'DWORD', possible loss of data
|
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/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/Services/Launcher/LauncherBackgroundService.cs#L98
Dereference of a possibly null reference.
|
Build:
src/Starward/Services/LauncherContentService.cs#L126
Dereference of a possibly null reference.
|
Build:
src/Starward/Services/HoYoPlayService.cs#L184
Dereference of a possibly null reference.
|
Build:
src/Starward/Features/GameLauncher/GameLauncherSettingDialog.xaml.cs#L272
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/Features/GameLauncher/GameLauncherSettingDialog.xaml.cs#L284
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.
|
Loading