Fix overlooked moduleIndex initial value (dotnet/coreclr#24881)
When adding the signature copying some time ago, I have overlooked one place where the moduleIndex was set to -1 instead of MODULE_INDEX_NONE. I was using the -1 during the development and replaced it by creating MODULE_INDEX_NONE during final cleanup at all but one places. This caused issues during crossgen even without large version bubble enabled. Methods requiring generic constraint were not crossgen-ed due to this. Commit migrated from https://github.com/dotnet/coreclr/commit/795f2fd2a67047519b477cd1776626368c88e73c
Showing
想要评论请 注册 或 登录