Skip to content

Conversation

Takym
Copy link
Contributor

@Takym Takym commented Oct 15, 2024

I found the code that try { ... } catch (MissingMethodException) { invokeMethod = null; } and immediately later, re-throwing MissingMethodException if invokeMethod was null. This code removes stack trace information. So, I think debugging or analyzing gets difficult. I kept the code throwing MissingMethodException because binder.BindToMethod may return null.

@Takym Takym requested a review from marek-safar as a code owner October 15, 2024 08:32
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Oct 15, 2024
Copy link
Contributor

@steveharter steveharter left a comment

Choose a reason for hiding this comment

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

Looks good; thanks!

Takym and others added 2 commits October 19, 2024 00:55
…/ActivatorTests.cs

Co-authored-by: Steve Harter <steveharter@users.noreply.github.com>
…/ActivatorTests.cs

Co-authored-by: Steve Harter <steveharter@users.noreply.github.com>
…/ActivatorTests.cs

Co-authored-by: kasperk81 <83082615+kasperk81@users.noreply.github.com>
@am11
Copy link
Member

am11 commented Oct 21, 2024

@Takym just a heads-up: we’re not required to keep the PR branch in sync with the latest changes in main. Once the review starts, the area owners will handle merging main if they deem it necessary (usually depending on how old the branch is). Given that this is a busy repository, there's a high chance that something will merge into main before the CI run even completes so we always see the Update button.

@steveharter
Copy link
Contributor

Takym the changes look OK to me; do you plan any more commits? If not, I'll merge pending tests.

@Takym
Copy link
Contributor Author

Takym commented Oct 21, 2024

I think this PR is completed.

@steveharter steveharter merged commit f21f51f into dotnet:main Oct 24, 2024
145 of 147 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Reflection community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants