diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/PgoInfoKey.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/PgoInfoKey.cs index 01405217d8d46..e25f3779d9b2d 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/PgoInfoKey.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/PgoInfoKey.cs @@ -111,7 +111,7 @@ public PgoInfoKey(IAssemblyMetadata componentReader, string owningType, EntityHa { sb.Append(", "); } - sb.AppendFormat($"{Signature.ParameterTypes[i]}"); + sb.Append($"{Signature.ParameterTypes[i]}"); } sb.Append(")"); @@ -135,4 +135,4 @@ public static PgoInfoKey FromReadyToRunMethod(ReadyToRunMethod method) return key; } } -} \ No newline at end of file +} diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunMethod.cs b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunMethod.cs index 9032ef2742179..e1a8b87a764c6 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunMethod.cs +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunMethod.cs @@ -465,7 +465,7 @@ public ReadyToRunMethod( { sb.Append(", "); } - sb.AppendFormat($"{Signature.ParameterTypes[i]}"); + sb.Append($"{Signature.ParameterTypes[i]}"); } sb.Append(")");