refactor: use factory function instead of class #193
ci.yml
on: push
Annotations
10 errors and 20 warnings
macOS-Core (x86_64)
Process completed with exit code 1.
|
macOS-Core (arm64)
The job was canceled because "x86_64" failed.
|
macOS-Core (arm64)
The operation was canceled.
|
ubuntu (x86_64)
Process completed with exit code 2.
|
ubuntu (aarch64)
The job was canceled because "x86_64" failed.
|
ubuntu (aarch64)
The operation was canceled.
|
windows (ARM64, arm64)
Target "WithCompileCoreRelease" has thrown an exception
|
windows (ARM64, arm64)
Process completed with exit code 1.
|
windows (x64, x64)
The job was canceled because "ARM64_arm64" failed.
|
windows (x64, x64)
The operation was canceled.
|
windows (ARM64, arm64)
D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\Helper\GpuOption.cs(22,37): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\MaaWpfGui_nl1xlprv_wpftmp.csproj]
|
windows (ARM64, arm64)
D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\Helper\GpuOption.cs(118,30): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\MaaWpfGui_nl1xlprv_wpftmp.csproj]
|
windows (ARM64, arm64)
D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\Helper\GpuOption.cs(234,47): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\MaaWpfGui_nl1xlprv_wpftmp.csproj]
|
windows (ARM64, arm64)
D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\Helper\GpuOption.cs(257,47): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\MaaWpfGui_nl1xlprv_wpftmp.csproj]
|
windows (ARM64, arm64)
D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\Helper\GpuOption.cs(288,47): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\MaaWpfGui_nl1xlprv_wpftmp.csproj]
|
windows (ARM64, arm64)
D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\ViewModels\UI\VersionUpdateViewModel.cs(305,34): warning CS0168: The variable 'e' is declared but never used [D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\MaaWpfGui_nl1xlprv_wpftmp.csproj]
|
windows (ARM64, arm64)
D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\ViewModels\UI\VersionUpdateViewModel.cs(702,28): warning CS8600: Converting null literal or possible null value to non-nullable type. [D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\MaaWpfGui_nl1xlprv_wpftmp.csproj]
|
windows (ARM64, arm64)
D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\ViewModels\UI\VersionUpdateViewModel.cs(754,28): warning CS8600: Converting null literal or possible null value to non-nullable type. [D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\MaaWpfGui_nl1xlprv_wpftmp.csproj]
|
windows (ARM64, arm64)
D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\ViewModels\UI\VersionUpdateViewModel.cs(867,25): warning CS8602: Dereference of a possibly null reference. [D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\MaaWpfGui_nl1xlprv_wpftmp.csproj]
|
windows (ARM64, arm64)
D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\ViewModels\UI\VersionUpdateViewModel.cs(877,63): warning CS8618: Non-nullable field '_logItemViewModels' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\MaaWpfGui_nl1xlprv_wpftmp.csproj]
|
windows (x64, x64)
D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\Helper\GpuOption.cs(22,37): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\MaaWpfGui_jum1yshv_wpftmp.csproj]
|
windows (x64, x64)
D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\Helper\GpuOption.cs(118,30): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\MaaWpfGui_jum1yshv_wpftmp.csproj]
|
windows (x64, x64)
D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\Helper\GpuOption.cs(234,47): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\MaaWpfGui_jum1yshv_wpftmp.csproj]
|
windows (x64, x64)
D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\Helper\GpuOption.cs(257,47): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\MaaWpfGui_jum1yshv_wpftmp.csproj]
|
windows (x64, x64)
D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\Helper\GpuOption.cs(288,47): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\MaaWpfGui_jum1yshv_wpftmp.csproj]
|
windows (x64, x64)
D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\ViewModels\UI\VersionUpdateViewModel.cs(305,34): warning CS0168: The variable 'e' is declared but never used [D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\MaaWpfGui_jum1yshv_wpftmp.csproj]
|
windows (x64, x64)
D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\ViewModels\UI\VersionUpdateViewModel.cs(702,28): warning CS8600: Converting null literal or possible null value to non-nullable type. [D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\MaaWpfGui_jum1yshv_wpftmp.csproj]
|
windows (x64, x64)
D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\ViewModels\UI\VersionUpdateViewModel.cs(754,28): warning CS8600: Converting null literal or possible null value to non-nullable type. [D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\MaaWpfGui_jum1yshv_wpftmp.csproj]
|
windows (x64, x64)
D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\ViewModels\UI\VersionUpdateViewModel.cs(867,25): warning CS8602: Dereference of a possibly null reference. [D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\MaaWpfGui_jum1yshv_wpftmp.csproj]
|
windows (x64, x64)
D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\ViewModels\UI\VersionUpdateViewModel.cs(877,63): warning CS8618: Non-nullable field '_logItemViewModels' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [D:\a\MaaAssistantArknights\MaaAssistantArknights\src\MaaWpfGui\MaaWpfGui_jum1yshv_wpftmp.csproj]
|