Skip to content

Is 'sb.AppendFormat($"{Signature.ParameterTypes[i]}");' a typo error #62137

Closed
@wwh1004

Description

@wwh1004

I use ILSpy to see r2r code. ILSpy uses 'ILCompiler.Reflection.ReadyToRun' and it throws format exception.

image

sb.AppendFormat($"{Signature.ParameterTypes[i]}");

sb.AppendFormat($"{Signature.ParameterTypes[i]}");

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?

Metadata

Metadata

Assignees

Labels

area-R2RDump-coreclrReady-to-run image dump toolhelp wanted[up-for-grabs] Good issue for external contributorsuntriagedNew issue has not been triaged by the area owner

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions