Replace F extension with string interpolation

This commit is contained in:
teinarss
2021-04-24 17:46:24 +02:00
committed by reaperrr
parent 1385aca783
commit 10676be377
300 changed files with 752 additions and 799 deletions

View File

@@ -51,7 +51,7 @@ namespace OpenRA.Mods.D2k.SpriteLoaders
var paletteOffset = s.ReadInt32();
var bpp = s.ReadUInt8();
if (bpp != 8)
throw new InvalidDataException("Error: {0} bits per pixel are not supported.".F(bpp));
throw new InvalidDataException($"Error: {bpp} bits per pixel are not supported.");
var frameHeight = s.ReadUInt8();
var frameWidth = s.ReadUInt8();