Skip to content

Update TransformCollectionAndObjectInitializers to check for init-only properties #2968

Update TransformCollectionAndObjectInitializers to check for init-only properties

Update TransformCollectionAndObjectInitializers to check for init-only properties #2968

Triggered via pull request March 16, 2026 07:58
Status Success
Total duration 28m 5s
Artifacts 14

build-ilspy.yml

on: pull_request
Matrix: Build
Fit to window
Zoom out
Zoom in

Annotations

13 warnings
Build (Debug)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: icsharpcode/test-summary-action@dist, microsoft/setup-msbuild@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (Debug): ICSharpCode.Decompiler/Metadata/MetadataFile.cs#L288
get_SectionHeaders creates an exception of type BadImageFormatException, an exception type that should not be raised in a property. If this exception instance might be raised, use a different exception type, convert this property into a method, or change this property's logic so that it no longer raises an exception. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1065)
Build (Debug): ICSharpCode.Decompiler/Output/PlainTextOutput.cs#L31
Type 'PlainTextOutput' owns disposable field(s) 'writer' but is not disposable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001)
Build (Debug): ICSharpCode.Decompiler/Metadata/WebCilFile.cs#L35
Provide an overridable implementation of Dispose(bool) on 'WebCilFile' or mark the type as sealed. A call to Dispose(false) should only clean up native resources. A call to Dispose(true) should clean up both managed and native resources. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
Build (Debug): ICSharpCode.Decompiler/Metadata/PEFile.cs#L34
Provide an overridable implementation of Dispose(bool) on 'PEFile' or mark the type as sealed. A call to Dispose(false) should only clean up native resources. A call to Dispose(true) should clean up both managed and native resources. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
Build (Debug): ICSharpCode.Decompiler/Metadata/DotNetCorePathFinder.cs#L33
Move pinvokes to native methods class (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1060)
Build (Debug): ICSharpCode.Decompiler/Util/LongSet.cs#L31
Implement the equality operators and make their behavior identical to that of the Equals method (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2231)
Build (Debug): ICSharpCode.Decompiler/Util/EmptyList.cs#L102
Rename 'EmptyList.System.IDisposable.Dispose' to 'Dispose' and ensure that it is declared as public and sealed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
Build (Debug): ICSharpCode.Decompiler/Util/EmptyList.cs#L102
Ensure that 'EmptyList.System.IDisposable.Dispose' is declared as public and sealed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
Build (Debug): ICSharpCode.Decompiler/Util/ResXResourceWriter.cs#L307
Ensure that 'ResXResourceWriter.Dispose' is declared as public and sealed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
Build (Debug): ICSharpCode.Decompiler/Util/ResourcesFile.cs#L34
Provide an overridable implementation of Dispose(bool) on 'ResourcesFile' or mark the type as sealed. A call to Dispose(false) should only clean up native resources. A call to Dispose(true) should clean up both managed and native resources. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
Build (Release)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: icsharpcode/test-summary-action@dist, microsoft/setup-msbuild@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (Release): ILSpy.Installer/ILSpy.wxs#L2
Package/@InstallerVersion must be 500 or greater for an ARM64 package. The value will be changed to 500. Please specify a value of 500 or greater in order to eliminate this warning.

Artifacts

Produced during runtime
Name Size Digest
ICSharpCode.BamlDecompiler NuGet Package (Release)
110 KB
sha256:6afb42d597df258dd0f86d19d613ef0bbdee6f1ec8af7d35385d47a6ac5e6ae6
ICSharpCode.Decompiler NuGet Package (Release)
1.33 MB
sha256:344f6b925eeab0a70b319ef85685dd045cc6a917af0bd3473e7c37e1d2922c32
ICSharpCode.ILSpyX NuGet Package (Release)
179 KB
sha256:426b98bffaeb1157c19cbac87b0d485a09b09153aa4e9a1048978687a42e064b
ILSpy 10.0.0.8291-preview3-pr3678 (Debug)
4.31 MB
sha256:d0515ec0582f030fb8bf2cc80eb5e9298e0061b812dfeaa627d9537b15b48a3a
ILSpy 10.0.0.8291-preview3-pr3678 (Release)
3.87 MB
sha256:3f7473086120fbb4a758ad062ad0597039e641ec1ebfd52d5a05215dab9d1936
ILSpy Installer arm64 10.0.0.8291-preview3-pr3678 (Release)
3.56 MB
sha256:77f3ccb9579872806878b3765223d4bb5387b3c8e064d050575da4f9d3e9f1df
ILSpy Installer x64 10.0.0.8291-preview3-pr3678 (Release)
3.57 MB
sha256:bc9d4b16e2e2c08e10746f5372501a37b3853532d593e8eaea41d179790a7f69
ILSpy VS Addin for VS 2017-2019 10.0.0.8291-preview3-pr3678 (Release)
4.94 MB
sha256:9aecdd8bbf0ea5d2826a797d341f397ed78b53897d44ed3b2cc14be4c0fca0b0
ILSpy VS Addin for VS 2022 10.0.0.8291-preview3-pr3678 (Release)
11.2 MB
sha256:4b22eb96c02bf2a66bb8dbeea0ad82358584c8c444a5c1f2b586409c5707b24f
ILSpy arm64 10.0.0.8291-preview3-pr3678 (Release)
4.65 MB
sha256:399b89ffa88d5932045cce73526f97ff98e78afa242cd69b9eb488a05b54f6ea
ILSpy self-contained x64 10.0.0.8291-preview3-pr3678 (Release)
72.4 MB
sha256:7ec178d9031459067e2d7453a024016a62edfb6dac1cf6850e14098d55d1c2f0
ilspycmd dotnet tool (Release)
3.95 MB
sha256:2abbab8fe882d78d13bc1f4718befc34548248ebe927d347c50b4bf1db6e2e4f
test-results-Debug
578 KB
sha256:147b5c4fbd0e7e8567a19112fd95b482452f3182d3078356b216c6e2c7d9ce46
test-results-Release
580 KB
sha256:bf6b5a011a0200da9fcf712ec2cd1d4e9924eb3f722459a8eb3cb49d6a7c9264