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

Fix NRE in EmitCall for DynamicMethod #69027

Merged
merged 2 commits into from
May 25, 2022

Conversation

wzchua
Copy link
Contributor

@wzchua wzchua commented May 8, 2022

Fixes #67084

Added an internal SignatureHelper.AddDynamicArgument to pass DynamicScope to get tokens for custom modifiers.
It expects the type to be a RuntimeType

@ghost ghost added the community-contribution Indicates that the PR has been added by a community member label May 8, 2022
@ghost
Copy link

ghost commented May 8, 2022

Tagging subscribers to this area: @dotnet/area-system-reflection-emit
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #67084

Added an internal SignatureHelper.AddDynamicArgument to pass DynamicScope to get tokens for custom modifiers.
It expects the type to be a RuntimeType

Author: wzchua
Assignees: -
Labels:

area-System.Reflection.Emit, community-contribution

Milestone: -

Copy link
Member

@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 to me. @jkotas any thoughts?

@jkotas
Copy link
Member

jkotas commented May 17, 2022

Looks good to me. @jkotas any thoughts?

Looks good to me as well

var and test class name updates
@steveharter steveharter merged commit d143e18 into dotnet:main May 25, 2022
@wzchua wzchua deleted the dynamic-method-cusmod-nre branch May 29, 2022 00:46
@ghost ghost locked as resolved and limited conversation to collaborators Jun 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Reflection.Emit community-contribution Indicates that the PR has been added by a community member
Projects
None yet
3 participants