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

Merge changes from TFS - #1518

Merged
MichalStrehovsky merged 1 commit into
dotnet:nmirrorfrom
dotnet-bot:from-tfs
Jul 14, 2016
Merged

MichalStrehovsky merged 1 commit into
dotnet:nmirrorfrom
dotnet-bot:from-tfs

Conversation

@dotnet-bot

Copy link
Copy Markdown
Collaborator

No description provided.

…scenario.

Changes the implementation of MethodInfo.Invoke to use metadata to get default values for parameters instead of the string serialized version in the invoke map.

Changes:
- Change the invoke utils to call back to delegate/reflection when default parameter value is needed.
- Use a 'context' for this purpose which is either a delegate instance or method info.
- Move the string parsing logic over to delegates which are now the sole users of this
- Modify invokers to use the new mechanism.
- Remove the default value string from the method invoke map (NUTC and TypeLoader).
- Remove the default value string method/table generated by ReflectionInvokeTransform.

[tfs-changeset: 1617702]
@MichalStrehovsky
MichalStrehovsky merged commit cb57261 into dotnet:nmirror Jul 14, 2016
@dotnet-bot
dotnet-bot deleted the from-tfs branch July 14, 2016 17:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants