Skip to content

GetILFunctionBody fails in dotnet 7 for dynamic methods with CORPROF_E_DATAINCOMPLETE #86577

@AllenBiton

Description

@AllenBiton

dotnet 7 removed the feature to GetILFunctionBody of dynamic methods.
This is needed for code coverage for example and faking and more.
Please bring this feature back or give us a workaround to do this so we dynamically change the code with unmanaged API.

Metadata

Metadata

Assignees

Labels

area-Diagnostics-coreclrenhancementProduct code improvement that does NOT require public API changes/additions

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions