Skip to content

Re-enable DynamicObjects test #116972

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Re-enable DynamicObjects test #116972

wants to merge 2 commits into from

Conversation

sbomer
Copy link
Member

@sbomer sbomer commented Jun 24, 2025

Fixes #116218.

Re-enables the test and adds appropriate ExpectedWarnings for the Roslyn analyzer in response to the new annotations.

@sbomer sbomer requested review from a team and Copilot June 24, 2025 17:25
@sbomer sbomer requested a review from marek-safar as a code owner June 24, 2025 17:25
@github-actions github-actions bot added the area-Tools-ILLink .NET linker development as well as trimming analyzers label Jun 24, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR re-enables the DynamicObjects test and updates ExpectedWarning attributes to match the new Roslyn analyzer annotations.

  • Updated ExpectedWarning attributes in DynamicObjects.cs to include both Tool.NativeAot and Tool.Analyzer flags with revised warning targets.
  • Re-enabled the DynamicObjects test in ILLink.RoslynAnalyzer.Tests by removing the skip attribute.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/tools/illink/test/Mono.Linker.Tests.Cases/DataFlow/DynamicObjects.cs Updated ExpectedWarning attribute parameters and comments to reflect new analyzer behavior.
src/tools/illink/test/ILLink.RoslynAnalyzer.Tests/DataFlowTests.cs Removed skip attribute to re-enable the DynamicObjects test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Tools-ILLink .NET linker development as well as trimming analyzers linkable-framework Issues associated with delivering a linker friendly framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ILLink test failure: DynamicObjects, unexpected warnings
2 participants