Is 'sb.AppendFormat($"{Signature.ParameterTypes[i]}");' a typo error #62137
Labels
area-R2RDump-coreclr
Ready-to-run image dump tool
help wanted
[up-for-grabs] Good issue for external contributors
untriaged
New issue has not been triaged by the area owner
I use ILSpy to see r2r code. ILSpy uses 'ILCompiler.Reflection.ReadyToRun' and it throws format exception.
runtime/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunMethod.cs
Line 468 in a4cab7d
runtime/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/PgoInfoKey.cs
Line 114 in a4cab7d
For obfuscated code, 'AppendFormat' always fails. And it makes no sense to regard a type name as a string format. So is 'sb.AppendFormat($"{Signature.ParameterTypes[i]}");' a typo error?
The text was updated successfully, but these errors were encountered: