Skip to content
This repository was archived by the owner on Sep 25, 2026. It is now read-only.

Merge damanalyzer - #2389

Merged
agocke merged 6 commits into
dotnet:feature/damAnalyzerfrom
agocke:merge-damanalyzer
Nov 29, 2021
Merged

agocke merged 6 commits into
dotnet:feature/damAnalyzerfrom
agocke:merge-damanalyzer

Conversation

@agocke

@agocke agocke commented Nov 20, 2021

Copy link
Copy Markdown
Member

No description provided.

Backports the file-based testing to release/6.0.2xx
This implementation doesn't skip members without attributes, so it found some
bugs as well.
@agocke
agocke requested a review from marek-safar as a code owner November 20, 2021 00:29
@agocke
agocke requested review from sbomer, tlakollo and vitek-karas and removed request for marek-safar November 20, 2021 00:29
var arg = Assert.Single (LinkerTestBase.GetAttributeArguments (attribute));
var text = LinkerTestBase.GetStringFromExpression (arg.Value);
foreach (var diagnostic in DiagnosticMessages)
foreach (var diagnostic in _diagnostics)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I dealt with this in another change - this should very likely be diagnosticMessages (the method parameter), otherwise the method parameter is not used. And I think it makes sense (looking at the callsite).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I fixed it now.

@sbomer sbomer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@agocke
agocke merged commit 888fed7 into dotnet:feature/damAnalyzer Nov 29, 2021
@agocke
agocke deleted the merge-damanalyzer branch November 29, 2021 23:30
agocke added a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants