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

Port Fix for TryResolve scenario - #2279

Merged
tlakollo merged 2 commits into
dotnet:release/6.0from
tlakollo:TryResolvePort
Sep 17, 2021
Merged

tlakollo merged 2 commits into
dotnet:release/6.0from
tlakollo:TryResolvePort

Conversation

@tlakollo

Copy link
Copy Markdown
Contributor

Do a null check for TryResolve(type.BaseType) before trying to get the attributes
Fix #2274

@tlakollo
tlakollo requested review from agocke and sbomer September 17, 2021 04:12
@tlakollo tlakollo self-assigned this Sep 17, 2021
@marek-safar

Copy link
Copy Markdown
Contributor

Please send email to tactics for approval

@tlakollo

Copy link
Copy Markdown
Contributor Author

Got approval from tactics

@agocke

agocke commented Sep 17, 2021

Copy link
Copy Markdown
Member

Let's take this together with #2276 as they are both blocking critical scenarios

@agocke agocke 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.

This looks like only a partial fix. I think we should backport the whole thing. Picking out sections of a PR is likely more dangerous than taking the whole thing that was fully reviewed and tested.

@tlakollo

Copy link
Copy Markdown
Contributor Author

I just tested all the changes and it breaks, apparently is necessary 397f69b
possibly even
39505a8

@agocke agocke 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.

LGTM

@tlakollo
tlakollo merged commit 76175a8 into dotnet:release/6.0 Sep 17, 2021
@tlakollo
tlakollo deleted the TryResolvePort branch September 17, 2021 20:50
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