dotnet / runtime

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

[cDAC] Set RejitFlags to use a known underlying type #109935

Closed max-charlamb closed 2 days ago

max-charlamb commented 3 days ago

The previous implementation using an enum should be the size of a uint32_t but it isn't explicitly defined. To make the size of RejitFlags more clear, changing it to an enum class with an explicit uint32_t backing.

Will be used #109936 by the cDAC GetMethodDescData to fetch ReJIT information.

dotnet-policy-service[bot] commented 3 days ago

Tagging subscribers to this area: @tommcdon See info in area-owners.md if you want to be subscribed.