Skip to content

Commit

Permalink
Fix Debug.Assert use of string interpolation (#57650)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephentoub authored Aug 18, 2021
1 parent dc25ef8 commit 9ae53ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ private static SystemVClassificationType TypeDef2SystemVClassification(TypeDesc
case TypeFlags.GenericParameter:
case TypeFlags.SignatureTypeVariable:
case TypeFlags.SignatureMethodVariable:
Debug.Assert(false, $"Type {typeDesc} with unexpected category {typeDesc.Category}");
Debug.Fail($"Type {typeDesc} with unexpected category {typeDesc.Category}");
return SystemVClassificationTypeUnknown;
default:
return SystemVClassificationTypeUnknown;
Expand Down

0 comments on commit 9ae53ec

Please # to comment.