dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.41k stars 4.76k forks source link

System.Reflection.Emit doesn't work on linux and wsl ubuntu #110042

Open guozanhua opened 19 hours ago

guozanhua commented 19 hours ago

Description

Is there any solution use System.Reflection.Emit on linux

Reproduction Steps

use System.Reflection.Emit write testcode will occue exception

Expected behavior

need work correct on linux

Actual behavior

need work correct on linux

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

dotnet-policy-service[bot] commented 19 hours ago

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

huoyaoyuan commented 19 hours ago

Can you provide any details about the exception? Reflection emit support is irrelevant with OS.

steveharter commented 13 hours ago

Yes please provide details: