Add ILLink analyzer primary constructor repro#128467
Closed
Copilot wants to merge 4 commits into
Closed
Conversation
Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/0a2f12ac-4c67-4296-8c19-f96183fc6dc4 Co-authored-by: MichalStrehovsky <13110571+MichalStrehovsky@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/0a2f12ac-4c67-4296-8c19-f96183fc6dc4 Co-authored-by: MichalStrehovsky <13110571+MichalStrehovsky@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/0a2f12ac-4c67-4296-8c19-f96183fc6dc4 Co-authored-by: MichalStrehovsky <13110571+MichalStrehovsky@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/182a0f53-6614-4321-b6d7-397ad71530ae Co-authored-by: MichalStrehovsky <13110571+MichalStrehovsky@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
MichalStrehovsky
May 22, 2026 01:33
View session
Contributor
|
Tagging subscribers to this area: @agocke, @dotnet/illink |
Member
|
No repro. Looking through the logs, the AI had trouble building the project in the first place, then it gave up and started guessing based on code review. It's likely something else that is tripping the assert. I'll need to repro myself one of these days. |
3 tasks
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.
Enabling the trim/AOT analyzers for
System.Runtime.Testscurrently exposes a debug assertion in ILLink analyzer dataflow when Roslyn reports a primary-constructor operation block with the containing type as the owning symbol.This scopes the change to a CI-visible repro only:
AnnotatedMembersAccessedViaReflection