Skip to content

Moving out all PInvoke Methods to its Independent Hi3Helper.Win32 assembly #1218

Moving out all PInvoke Methods to its Independent Hi3Helper.Win32 assembly

Moving out all PInvoke Methods to its Independent Hi3Helper.Win32 assembly #1218

Triggered via pull request November 17, 2024 14:36
Status Failure
Total duration 2m 27s
Artifacts

build.yml

on: pull_request
Matrix: build-nativeaot
Matrix: build
notify-discord
2s
notify-discord
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 119 warnings
build-nativeaot (Debug, x64, net9.0-windows10.0.22621.0): SevenZipExtractor/SevenZipExtractor/SevenZipHandle.cs#L88
Method 'CreateObjectDelegate' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method 'CreateObjectDelegate'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1050)
build-nativeaot (Debug, x64, net9.0-windows10.0.22621.0): SevenZipExtractor/SevenZipExtractor/SevenZipHandle.cs#L92
Method 'PropVariantClearInvoke' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method 'PropVariantClearInvoke'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1050)
build-nativeaot (Debug, x64, net9.0-windows10.0.22621.0)
Process completed with exit code 1.
build (Debug, x64, net9.0-windows10.0.22621.0): SevenZipExtractor/SevenZipExtractor/SevenZipHandle.cs#L88
Method 'CreateObjectDelegate' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method 'CreateObjectDelegate'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1050)
build (Debug, x64, net9.0-windows10.0.22621.0): SevenZipExtractor/SevenZipExtractor/SevenZipHandle.cs#L92
Method 'PropVariantClearInvoke' should be 'static', 'partial', and non-generic when marked with 'LibraryImportAttribute'. P/Invoke source generation will ignore method 'PropVariantClearInvoke'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1050)
build (Debug, x64, net9.0-windows10.0.22621.0)
Process completed with exit code 1.
build-nativeaot (Debug, x64, net9.0-windows10.0.22621.0): H.NotifyIcon/src/libs/H.GeneratedIcons.System.Drawing/SystemDrawingIconGenerator.cs#L73
Populate switch (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0010)
build-nativeaot (Debug, x64, net9.0-windows10.0.22621.0): H.NotifyIcon/src/libs/H.GeneratedIcons.System.Drawing/SystemDrawingIconGenerator.cs#L99
Populate switch (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0010)
build-nativeaot (Debug, x64, net9.0-windows10.0.22621.0): H.NotifyIcon/src/libs/H.NotifyIcon/PopupMenus/PopupMenu.cs#L102
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
build-nativeaot (Debug, x64, net9.0-windows10.0.22621.0): H.NotifyIcon/src/libs/H.NotifyIcon/PopupMenus/PopupMenu.cs#L103
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
build-nativeaot (Debug, x64, net9.0-windows10.0.22621.0): H.NotifyIcon/src/libs/H.NotifyIcon/PopupMenus/PopupMenu.cs#L104
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
build-nativeaot (Debug, x64, net9.0-windows10.0.22621.0): H.NotifyIcon/src/libs/H.NotifyIcon/PopupMenus/PopupMenu.cs#L105
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
build-nativeaot (Debug, x64, net9.0-windows10.0.22621.0): H.NotifyIcon/src/libs/H.NotifyIcon/PopupMenus/PopupMenu.cs#L106
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
build-nativeaot (Debug, x64, net9.0-windows10.0.22621.0): H.NotifyIcon/src/libs/H.NotifyIcon/PopupMenus/PopupMenu.cs#L107
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
build-nativeaot (Debug, x64, net9.0-windows10.0.22621.0): H.NotifyIcon/src/libs/H.NotifyIcon/PopupMenus/PopupMenu.cs#L108
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
build (Debug, x64, net9.0-windows10.0.22621.0): H.NotifyIcon/src/libs/H.GeneratedIcons.System.Drawing/SystemDrawingIconGenerator.cs#L73
Populate switch (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0010)
build (Debug, x64, net9.0-windows10.0.22621.0): H.NotifyIcon/src/libs/H.GeneratedIcons.System.Drawing/SystemDrawingIconGenerator.cs#L99
Populate switch (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0010)
build (Debug, x64, net9.0-windows10.0.22621.0): H.NotifyIcon/src/libs/H.NotifyIcon/PopupMenus/PopupMenu.cs#L102
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
build (Debug, x64, net9.0-windows10.0.22621.0): H.NotifyIcon/src/libs/H.NotifyIcon/PopupMenus/PopupMenu.cs#L103
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
build (Debug, x64, net9.0-windows10.0.22621.0): H.NotifyIcon/src/libs/H.NotifyIcon/PopupMenus/PopupMenu.cs#L104
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
build (Debug, x64, net9.0-windows10.0.22621.0): H.NotifyIcon/src/libs/H.NotifyIcon/PopupMenus/PopupMenu.cs#L105
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
build (Debug, x64, net9.0-windows10.0.22621.0): H.NotifyIcon/src/libs/H.NotifyIcon/PopupMenus/PopupMenu.cs#L106
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
build (Debug, x64, net9.0-windows10.0.22621.0): H.NotifyIcon/src/libs/H.NotifyIcon/PopupMenus/PopupMenu.cs#L107
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
build (Debug, x64, net9.0-windows10.0.22621.0): H.NotifyIcon/src/libs/H.NotifyIcon/PopupMenus/PopupMenu.cs#L108
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
Possible 'null' assignment to non-nullable entity: CollapseLauncher/Program.cs#L390
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L138
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L138
Possible 'null' assignment to non-nullable entity
Incorrect indent (around child statement): CollapseLauncher/Classes/GameManagement/GameSettings/BaseClass/ImportExportBase.cs#L71
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Conditional access qualifier expression is not null according to nullable reference types' annotations: Hi3Helper.EncTool/Parser/KianaDispatch/KianaDispatch.cs#L65
Conditional access qualifier expression is never null according to nullable reference types' annotations
Conditional access qualifier expression is not null according to nullable reference types' annotations: SevenZipExtractor/SevenZipExtractor/ArchiveFile.cs#L129
Conditional access qualifier expression is never null according to nullable reference types' annotations
Conditional access qualifier expression is not null according to nullable reference types' annotations: SevenZipExtractor/SevenZipExtractor/ArchiveFile.cs#L130
Conditional access qualifier expression is never null according to nullable reference types' annotations
Empty constructor: Hi3Helper.Core/Classes/Logger/ILoggerHelper.cs#L16
Empty constructor is redundant. The compiler generates the same by default.
Possible overflow in unchecked context: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L118
Possible overflow in unchecked context
Possible overflow in unchecked context: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L257
Possible overflow in unchecked context
Possible overflow in unchecked context: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L191
Possible overflow in unchecked context
Cannot resolve symbol in text argument: SevenZipExtractor/SevenZipExtractor/ArchiveFile.cs#L46
Cannot resolve symbol 'Archive path cannot be null!'
Cannot resolve symbol in text argument: Hi3Helper.EncTool/Streams/ChunkStream.cs#L30
Cannot resolve symbol 'Offset is out of stream size range!'
Mismatch of optional parameter value in overridden method: Hi3Helper.EncTool/Streams/ChunkStream.cs#L54
Parameter cancellationToken in base method 'ValueTask ReadAsync(Memory, CancellationToken)' has default value
Mismatch of optional parameter value in overridden method: Hi3Helper.EncTool/Streams/ChunkStream.cs#L98
Parameter cancellationToken in base method 'ValueTask WriteAsync(ReadOnlyMemory, CancellationToken)' has default value
Possible 'System.NullReferenceException': Hi3Helper.EncTool/Misc/TypeExtensions.cs#L65
Possible 'System.NullReferenceException'
Possible 'System.NullReferenceException': Hi3Helper.EncTool/Misc/TypeExtensions.cs#L64
Possible 'System.NullReferenceException'
Redundant using directive: CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/InstallationConvert.xaml.cs#L3
Using directive is not required by the code and can be safely removed
Redundant using directive: CollapseLauncher/Classes/FileDialog/FileDialogHelper.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Hi3Helper.Core/Classes/Logger/ILoggerHelper.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs#L8
Using directive is not required by the code and can be safely removed
Redundant using directive: CollapseLauncher/Classes/FileDialog/FileDialogHelper.cs#L12
Using directive is not required by the code and can be safely removed
Redundant using directive: Hi3Helper.EncTool/Parser/SRMetadata/SRDispatcherInfo.cs#L7
Using directive is not required by the code and can be safely removed
Redundant using directive: CollapseLauncher/Classes/GamePropertyVault.cs#L7
Using directive is not required by the code and can be safely removed
Redundant using directive: CollapseLauncher/Classes/Properties/InnerLauncherConfig.cs#L15
Using directive is not required by the code and can be safely removed
Redundant using directive: CollapseLauncher/Classes/FileDialog/FileDialogHelper.cs#L5
Using directive is not required by the code and can be safely removed
Redundant using directive: CollapseLauncher/XAMLs/MainApp/TrayIcon.xaml.cs#L10
Using directive is not required by the code and can be safely removed
Redundant using directive: CollapseLauncher/App.xaml.cs#L14
Using directive is not required by the code and can be safely removed