mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
This ensures that System.CompilerServices.Unsafe has implemented method bodies, necessary for Span and similar use cases.
4 lines
370 B
Plaintext
4 lines
370 B
Plaintext
"$(MSBuildFrameworkToolsPath)\Ilasm.exe" /dll /noautoinherit /out:"$(TargetPath).il.tmp" "$(ProjectDir)\..\..\class\corlib\System.Runtime.CompilerServices\Unsafe.il"
|
|
move "$(TargetPath)" "$(TargetPath).tmp"
|
|
"$(ProjectDir)\..\..\build\cil-stringreplacer.exe" --mscorlib-debug --ilreplace="$(TargetPath).il.tmp" "$(TargetPath).tmp"
|
|
move "$(TargetPath).tmp" "$(TargetPath)" |