Fix use of StringBuilder.AppendFormat in ILCompiler (#62147)
authorStephen Toub <stoub@microsoft.com>
Wed, 1 Dec 2021 15:34:49 +0000 (10:34 -0500)
committerGitHub <noreply@github.com>
Wed, 1 Dec 2021 15:34:49 +0000 (10:34 -0500)
src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/PgoInfoKey.cs
src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunMethod.cs

index 0140521..e25f377 100644 (file)
@@ -111,7 +111,7 @@ namespace ILCompiler.Reflection.ReadyToRun
                 {
                     sb.Append(", ");
                 }
-                sb.AppendFormat($"{Signature.ParameterTypes[i]}");
+                sb.Append($"{Signature.ParameterTypes[i]}");
             }
             sb.Append(")");
 
@@ -135,4 +135,4 @@ namespace ILCompiler.Reflection.ReadyToRun
             return key;
         }
     }
-}
\ No newline at end of file
+}
index 9032ef2..e1a8b87 100644 (file)
@@ -465,7 +465,7 @@ namespace ILCompiler.Reflection.ReadyToRun
                 {
                     sb.Append(", ");
                 }
-                sb.AppendFormat($"{Signature.ParameterTypes[i]}");
+                sb.Append($"{Signature.ParameterTypes[i]}");
             }
             sb.Append(")");