Skip to content

Use readonly instead of private set #130

Use readonly instead of private set

Use readonly instead of private set #130

Triggered via push October 3, 2024 16:52
Status Failure
Total duration 1m 40s
Artifacts 7

build_test.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

29 errors and 90 warnings
build (Test, win-x86, net8.0, Debug): BinaryObjectScanner/FileType/MPQ.cs#L36
The name 'Guid' does not exist in the current context
build (Test, win-x86, net8.0, Debug): BinaryObjectScanner/FileType/MPQ.cs#L67
The type or namespace name 'Exception' could not be found (are you missing a using directive or an assembly reference?)
build (Test, win-x86, net8.0, Debug): BinaryObjectScanner/FileType/MPQ.cs#L69
The name 'Console' does not exist in the current context
build (Test, win-x86, net8.0, Debug): BinaryObjectScanner/FileType/MPQ.cs#L76
The type or namespace name 'Exception' could not be found (are you missing a using directive or an assembly reference?)
build (Test, win-x86, net8.0, Debug): BinaryObjectScanner/FileType/MPQ.cs#L78
The name 'Console' does not exist in the current context
build (Test, win-x86, net8.0, Debug): BinaryObjectScanner/FileType/MicrosoftCAB.cs#L37
The name 'Guid' does not exist in the current context
build (Test, win-x86, net8.0, Debug): BinaryObjectScanner/FileType/MicrosoftCAB.cs#L51
The type or namespace name 'Exception' could not be found (are you missing a using directive or an assembly reference?)
build (Test, win-x86, net8.0, Debug): BinaryObjectScanner/FileType/MicrosoftCAB.cs#L53
The name 'Console' does not exist in the current context
build (Test, win-x86, net8.0, Debug): BinaryObjectScanner/FileType/MicrosoftCAB.cs#L60
The type or namespace name 'Exception' could not be found (are you missing a using directive or an assembly reference?)
build (Test, win-x86, net8.0, Debug): BinaryObjectScanner/FileType/MicrosoftCAB.cs#L62
The name 'Console' does not exist in the current context
build (Test, win-arm64, net8.0, Release)
The job was canceled because "Test_win-x86_net8_0_Debug" failed.
build (Test, win-arm64, net8.0, Release)
The operation was canceled.
build (Test, win-arm64, net8.0, Debug)
The job was canceled because "Test_win-x86_net8_0_Debug" failed.
build (Test, win-arm64, net8.0, Debug)
The operation was canceled.
build (Test, win-x86, net8.0, Release)
The job was canceled because "Test_win-x86_net8_0_Debug" failed.
build (Test, win-x86, net8.0, Release): BinaryObjectScanner/FileType/MicrosoftCAB.cs#L37
The name 'Guid' does not exist in the current context
build (Test, win-x86, net8.0, Release): BinaryObjectScanner/FileType/MicrosoftCAB.cs#L51
The type or namespace name 'Exception' could not be found (are you missing a using directive or an assembly reference?)
build (Test, win-x86, net8.0, Release): BinaryObjectScanner/FileType/MicrosoftCAB.cs#L53
The name 'Console' does not exist in the current context
build (Test, win-x86, net8.0, Release): BinaryObjectScanner/FileType/MicrosoftCAB.cs#L60
The type or namespace name 'Exception' could not be found (are you missing a using directive or an assembly reference?)
build (Test, win-x86, net8.0, Release): BinaryObjectScanner/FileType/MicrosoftCAB.cs#L62
The name 'Console' does not exist in the current context
build (Test, win-x86, net8.0, Release): BinaryObjectScanner/FileType/MPQ.cs#L36
The name 'Guid' does not exist in the current context
build (Test, win-x86, net8.0, Release): BinaryObjectScanner/FileType/MPQ.cs#L67
The type or namespace name 'Exception' could not be found (are you missing a using directive or an assembly reference?)
build (Test, win-x86, net8.0, Release): BinaryObjectScanner/FileType/MPQ.cs#L69
The name 'Console' does not exist in the current context
build (Test, win-x86, net8.0, Release): BinaryObjectScanner/FileType/MPQ.cs#L76
The type or namespace name 'Exception' could not be found (are you missing a using directive or an assembly reference?)
build (Test, win-x86, net8.0, Release): BinaryObjectScanner/FileType/MPQ.cs#L78
The name 'Console' does not exist in the current context
build (Test, win-x64, net8.0, Release)
The job was canceled because "Test_win-x86_net8_0_Debug" failed.
build (Test, win-x64, net8.0, Release)
The operation was canceled.
build (Test, linux-arm64, net8.0, Release)
The job was canceled because "Test_win-x86_net8_0_Debug" failed.
build (Test, linux-arm64, net8.0, Release)
The operation was canceled.
build (Test, linux-x64, net8.0, Release): BinaryObjectScanner/Packer/WiseInstaller.cs#L28
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, linux-x64, net8.0, Release): BinaryObjectScanner/Protection/CDDVDCops.cs#L106
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, linux-x64, net8.0, Release): BinaryObjectScanner/Protection/RainbowSentinel.cs#L48
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, linux-x64, net8.0, Release): BinaryObjectScanner/Packer/InnoSetup.cs#L70
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, linux-x64, net8.0, Release): BinaryObjectScanner/Protection/Macrovision.SafeCast.cs#L59
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, linux-arm64, net8.0, Debug): BinaryObjectScanner/Packer/WiseInstaller.cs#L28
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, linux-arm64, net8.0, Debug): BinaryObjectScanner/Protection/CDDVDCops.cs#L106
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, linux-arm64, net8.0, Debug): BinaryObjectScanner/Packer/InnoSetup.cs#L70
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, linux-arm64, net8.0, Debug): BinaryObjectScanner/Protection/RainbowSentinel.cs#L48
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, linux-arm64, net8.0, Debug): BinaryObjectScanner/Protection/Macrovision.SafeCast.cs#L59
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, linux-x64, net8.0, Debug): BinaryObjectScanner/Packer/WiseInstaller.cs#L28
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, linux-x64, net8.0, Debug): BinaryObjectScanner/Protection/CDDVDCops.cs#L106
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, linux-x64, net8.0, Debug): BinaryObjectScanner/Packer/InnoSetup.cs#L70
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, linux-x64, net8.0, Debug): BinaryObjectScanner/Protection/RainbowSentinel.cs#L48
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, linux-x64, net8.0, Debug): BinaryObjectScanner/Protection/Macrovision.SafeCast.cs#L59
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, win-x64, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/LessIO/src/LessIO/Path.cs#L193
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
build (Test, win-x64, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L25
Converting null literal or possible null value to non-nullable type.
build (Test, win-x64, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L145
Non-nullable field 'filename' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-x64, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L160
Non-nullable field 'prevname' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-x64, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L163
Non-nullable field 'nextname' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-x64, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L168
Non-nullable field 'previnfo' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-x64, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L173
Non-nullable field 'nextinfo' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, osx-x64, net8.0, Debug): BinaryObjectScanner/Packer/WiseInstaller.cs#L28
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, osx-x64, net8.0, Debug): BinaryObjectScanner/Protection/CDDVDCops.cs#L106
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, osx-x64, net8.0, Debug): BinaryObjectScanner/Packer/InnoSetup.cs#L70
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, osx-x64, net8.0, Debug): BinaryObjectScanner/Protection/RainbowSentinel.cs#L48
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, osx-x64, net8.0, Debug): BinaryObjectScanner/Protection/Macrovision.SafeCast.cs#L59
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, osx-x64, net8.0, Release): BinaryObjectScanner/Packer/WiseInstaller.cs#L28
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, osx-x64, net8.0, Release): BinaryObjectScanner/Protection/RainbowSentinel.cs#L48
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, osx-x64, net8.0, Release): BinaryObjectScanner/Protection/CDDVDCops.cs#L106
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, osx-x64, net8.0, Release): BinaryObjectScanner/Packer/InnoSetup.cs#L70
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, osx-x64, net8.0, Release): BinaryObjectScanner/Protection/Macrovision.SafeCast.cs#L59
'NewExecutable.ReadArbitraryRange(int, int)' is obsolete
build (Test, win-x86, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/LessIO/src/LessIO/Path.cs#L193
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
build (Test, win-x86, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L25
Converting null literal or possible null value to non-nullable type.
build (Test, win-x86, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L145
Non-nullable field 'filename' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-x86, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L160
Non-nullable field 'prevname' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-x86, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L163
Non-nullable field 'nextname' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-x86, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L168
Non-nullable field 'previnfo' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-x86, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L173
Non-nullable field 'nextinfo' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-arm64, net8.0, Release): BinaryObjectScanner/_EXTERNAL/LessIO/src/LessIO/Path.cs#L193
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
build (Test, win-arm64, net8.0, Release): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L25
Converting null literal or possible null value to non-nullable type.
build (Test, win-arm64, net8.0, Release): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L145
Non-nullable field 'filename' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-arm64, net8.0, Release): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L160
Non-nullable field 'prevname' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-arm64, net8.0, Release): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L163
Non-nullable field 'nextname' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-arm64, net8.0, Release): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L168
Non-nullable field 'previnfo' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-arm64, net8.0, Release): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L173
Non-nullable field 'nextinfo' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-arm64, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/LessIO/src/LessIO/Path.cs#L193
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
build (Test, win-arm64, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/stormlibsharp/src/CascLibSharp/Native/NativeMethods.cs#L109
Converting null literal or possible null value to non-nullable type.
build (Test, win-arm64, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/stormlibsharp/src/CascLibSharp/Native/NativeMethods.cs#L112
Converting null literal or possible null value to non-nullable type.
build (Test, win-arm64, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/stormlibsharp/src/CascLibSharp/Native/NativeMethods.cs#L120
Possible null reference argument for parameter 'fileName' in 'CascFoundFile.CascFoundFile(string fileName, nint plainName, byte[] encodingKey, CascLocales locales, long fileSize, CascStorageContext ownerContext)'.
build (Test, win-arm64, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L25
Converting null literal or possible null value to non-nullable type.
build (Test, win-arm64, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L145
Non-nullable field 'filename' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-arm64, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L160
Non-nullable field 'prevname' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-arm64, net8.0, Debug): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L163
Non-nullable field 'nextname' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-x86, net8.0, Release): BinaryObjectScanner/_EXTERNAL/LessIO/src/LessIO/Path.cs#L193
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
build (Test, win-x86, net8.0, Release): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L25
Converting null literal or possible null value to non-nullable type.
build (Test, win-x86, net8.0, Release): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L145
Non-nullable field 'filename' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-x86, net8.0, Release): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L160
Non-nullable field 'prevname' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-x86, net8.0, Release): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L163
Non-nullable field 'nextname' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-x86, net8.0, Release): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L168
Non-nullable field 'previnfo' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-x86, net8.0, Release): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L173
Non-nullable field 'nextinfo' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-x64, net8.0, Release): BinaryObjectScanner/_EXTERNAL/LessIO/src/LessIO/Path.cs#L193
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
build (Test, win-x64, net8.0, Release): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L25
Converting null literal or possible null value to non-nullable type.
build (Test, win-x64, net8.0, Release): BinaryObjectScanner/_EXTERNAL/stormlibsharp/src/CascLibSharp/Native/NativeMethods.cs#L109
Converting null literal or possible null value to non-nullable type.
build (Test, win-x64, net8.0, Release): BinaryObjectScanner/_EXTERNAL/stormlibsharp/src/CascLibSharp/Native/NativeMethods.cs#L112
Converting null literal or possible null value to non-nullable type.
build (Test, win-x64, net8.0, Release): BinaryObjectScanner/_EXTERNAL/stormlibsharp/src/CascLibSharp/Native/NativeMethods.cs#L120
Possible null reference argument for parameter 'fileName' in 'CascFoundFile.CascFoundFile(string fileName, nint plainName, byte[] encodingKey, CascLocales locales, long fileSize, CascStorageContext ownerContext)'.
build (Test, win-x64, net8.0, Release): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L145
Non-nullable field 'filename' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-x64, net8.0, Release): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L160
Non-nullable field 'prevname' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (Test, win-x64, net8.0, Release): BinaryObjectScanner/_EXTERNAL/libmspack4n/libmspack4n/NativeMethods.cs#L163
Non-nullable field 'nextname' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.

Artifacts

Produced during runtime
Name Size Digest
Test_net8.0_linux-arm64_Debug Expired
28.4 MB
sha256:309003633ad7e0f27029fcf037c5770c3ce641c9d7cd9f0ed3353ba4eea4bbac
Test_net8.0_linux-x64_Debug Expired
29.6 MB
sha256:9bfe3d8016589d9818e6a181ac2c5dd133b319c5ccaa2060efb1b486da6a796a
Test_net8.0_linux-x64_Release Expired
29.6 MB
sha256:2f27f9f22b9199c53c7bea8636f7c901e0853024012d5eac1645a73a09bd8880
Test_net8.0_osx-x64_Debug Expired
29.6 MB
sha256:3b7c5c40400b40fccd1b96ace0554aa2d0e5945257b7c68258bc414d024a1c26
Test_net8.0_osx-x64_Release Expired
29.5 MB
sha256:62a487968bdd6cb6408717ee84931802e7b0bb8670db5871b8a67ec69c052109
Test_net8.0_win-arm64_Release Expired
28.7 MB
sha256:d0b970b5aaf907a316d18a388249868ee2236c34900c472ff9e4aebdd481e0d9
Test_net8.0_win-x64_Debug Expired
30 MB
sha256:26996e053770ae2b9017ac99b0cb45b287557db4c55667135a06b27977ec8ff5