You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GetILFunctionBody fails in dotnet 7 for dynamic methods with CORPROF_E_DATAINCOMPLETE #86577
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.
Activity
ghost added
untriagedNew issue has not been triaged by the area owner
changed the title [-]Running a unit test that tests the creation of a dynamic assembly+module+type+Interface+method with our profiler enabled is failing[/-][+]GetILFunctionBody fails in dotnet 7 for dynamic methods with CORPROF_E_DATAINCOMPLETE[/+]on May 21, 2023
Hi @AllenBiton, thanks for filing this issue. Would you be able to test a private runtime to see if it fixes your issue? I can provide you with binaries or link to a github repository where you can build them yourself.
Activity
[-]Running a unit test that tests the creation of a dynamic assembly+module+type+Interface+method with our profiler enabled is failing[/-][+]GetILFunctionBody fails in dotnet 7 for dynamic methods with CORPROF_E_DATAINCOMPLETE[/+]hoyosjs commentedon May 22, 2023
cc: @davmason
davmason commentedon May 23, 2023
Hi @AllenBiton, thanks for filing this issue. Would you be able to test a private runtime to see if it fixes your issue? I can provide you with binaries or link to a github repository where you can build them yourself.
This commit should fix your issue davmason@930b0cb
davmason commentedon May 31, 2023
To update this thread, @AllenBiton and I are chatting privately and he is testing a private build to see if it fixes the issue