Repository navigation
Managed ilasm: validate duplicate field declarations - #136526
Merged
jkoritzinsky merged 13 commits intoOct 28, 2026
Merged
jkoritzinsky merged 13 commits into
jkoritzinsky merged 13 commits into
Conversation
Report located errors for duplicate fields and retain their metadata only in explicit error-tolerant mode. Preserve ECMA-335 field identity and compiler-controlled exemptions, with library and CLI regression coverage. Co-authored-by: Copilot App <[email protected]>
|
Azure Pipelines: Successfully started running 5 pipeline(s). 11 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Tagging subscribers to this area: @JulieLeeMSFT, @dotnet/jit-contrib |
Member
|
Conflicts |
Preserve both duplicate-field diagnostics and tests and main's entry-point diagnostics and syntax-recovery coverage. Co-authored-by: Copilot App <[email protected]>
Keep the PR current with main; no managed ilasm changes or conflict resolutions were needed. Co-authored-by: Copilot App <[email protected]>
jkotas
reviewed
Oct 27, 2026
jkotas
approved these changes
Oct 27, 2026
Include the latest JIT fixes from main without changes to managed ilasm or its diagnostics. Co-authored-by: Copilot App <[email protected]>
Recycle the diagnostic ID freed by TLS support, pin its value in the duplicate-field tests, and update the behavior documentation. Co-authored-by: Copilot App <[email protected]>
jkotas
approved these changes
Oct 27, 2026
jkotas
approved these changes
Oct 27, 2026
jkoritzinsky
enabled auto-merge (squash)
October 27, 2026 20:54
Include the latest proxy lookup fix from main; managed ilasm is unchanged. Co-authored-by: Copilot App <[email protected]>
Include the socket address-family fix that landed during the preceding refresh; managed ilasm is unchanged. Co-authored-by: Copilot App <[email protected]>
Include the latest Mono attribute-decoding change from main; managed ilasm is unchanged. Co-authored-by: Copilot App <[email protected]>
Keep the PR current with main's SVE AES API change; managed ilasm is unchanged. Co-authored-by: Copilot App <[email protected]>
Include the latest Loader and wasm test updates from main; managed ilasm is unchanged. Co-authored-by: Copilot App <[email protected]>
Include the latest TLS fix from main; managed ilasm is unchanged. Co-authored-by: Copilot App <[email protected]>
Include the latest NativeAOT test updates from main; managed ilasm is unchanged. Co-authored-by: Copilot App <[email protected]>
Include the latest VM cleanup from main; managed ilasm is unchanged. Co-authored-by: Copilot App <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Addresses the duplicate-fields bullet in #135314 without closing the remaining issue items.
ILA0034error for duplicate field declarations instead of silently dropping them.-ERRor-ERROR).privatescope) fields. Different signatures and owners remain legal.Validation
.\dotnet.cmd build src\tools\ilasm\src\ILAssembler -p:NuGetAudit=false— passed, zero warnings/errors..\.dotnet\dotnet.exe test src\tools\ilasm\tests\ILAssembler.Tests -p:NuGetAudit=false --filter 'FullyQualifiedName~DuplicateField|FullyQualifiedName~DistinctFields|FullyQualifiedName~SameFieldInDifferentOwners'— passed, 24 tests..\.dotnet\dotnet.exe test src\tools\ilasm\tests\ILAssembler.Tests -p:NuGetAudit=false— passed, 5,460 tests; three existing platform/path skips, zero failures.git diff --check— passed.Note
This change and PR description were prepared with GitHub Copilot assistance.