Skip to content

Commit

Permalink
Fix use of StringBuilder.AppendFormat in ILCompiler (#62147)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephentoub authored Dec 1, 2021
1 parent e6174ba commit 985f477
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(")");

Expand All @@ -135,4 +135,4 @@ public static PgoInfoKey FromReadyToRunMethod(ReadyToRunMethod method)
return key;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ public ReadyToRunMethod(
{
sb.Append(", ");
}
sb.AppendFormat($"{Signature.ParameterTypes[i]}");
sb.Append($"{Signature.ParameterTypes[i]}");
}
sb.Append(")");

Expand Down

0 comments on commit 985f477

Please sign in to comment.