Skip to content

CallingConvention gap in ILGenerator.EmitCalli #17751

@mellinoe

Description

@mellinoe

Based on this stackoverflow submission.

It seems like there is a bit of a feature gap in the current interface for ILGenerator. .NET Core has a EmitCalli method, but the calling conventions it supports do not line up exactly with the ones exposed from the .NET Framework: https://msdn.microsoft.com/en-us/library/d81ee808(v=vs.110).aspx

We should understand if this is a meaningful gap, or if the use cases for the .NET Framework version can still be covered by the new version.

We may already be considering adding this functionality back as part of our bigger API compat push.

cc: @atsushikan

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Reflection.EmitenhancementProduct code improvement that does NOT require public API changes/additionshelp wanted[up-for-grabs] Good issue for external contributors

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions