Skip to content
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

Run MethodOutParameterDataFlow tests in analyzer #101735

Merged
merged 3 commits into from
May 1, 2024

Conversation

sbomer
Copy link
Member

@sbomer sbomer commented Apr 30, 2024

And add a testcase to cover IL2068.

This just ensures that this particular testcase runs without allowMissingWarnings for the analyzer, and adds one more testcase to track the specific missing warning that was encountered in #101203 (tracked in #101734).

And add a testcase to cover IL2068
@sbomer sbomer requested a review from jtschuster April 30, 2024 20:30
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-Tools-ILLink .NET linker development as well as trimming analyzers label Apr 30, 2024
@dotnet-policy-service dotnet-policy-service bot added the linkable-framework Issues associated with delivering a linker friendly framework label Apr 30, 2024
Copy link
Contributor

Tagging subscribers to this area: @agocke, @sbomer, @vitek-karas
See info in area-owners.md if you want to be subscribed.

Copy link
Member

@jtschuster jtschuster left a comment

Choose a reason for hiding this comment

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

Not sure why there aren't merge conflicts with main. The ExpectedWarnings should be updated to use the new constructors from #101220. Has this branch been rebased/merged with main recently? Other than that, this looks great, thank you!

@sbomer sbomer merged commit 9e678f6 into dotnet:main May 1, 2024
74 of 77 checks passed
michaelgsharp pushed a commit to michaelgsharp/runtime that referenced this pull request May 9, 2024
And add a testcase to cover IL2068.

This just ensures that this particular testcase runs without
allowMissingWarnings for the analyzer, and adds one more testcase
to track the specific missing warning that was encountered in
dotnet#101203 (tracked in
dotnet#101734).
Ruihan-Yin pushed a commit to Ruihan-Yin/runtime that referenced this pull request May 30, 2024
And add a testcase to cover IL2068.

This just ensures that this particular testcase runs without
allowMissingWarnings for the analyzer, and adds one more testcase
to track the specific missing warning that was encountered in
dotnet#101203 (tracked in
dotnet#101734).
@github-actions github-actions bot locked and limited conversation to collaborators Jun 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.

2 participants