Replace F extension with string interpolation
This commit is contained in:
@@ -58,7 +58,7 @@ namespace OpenRA.Mods.Common.FileFormats
|
||||
audioType = (WaveType)audioFormat;
|
||||
|
||||
if (!Enum.IsDefined(typeof(WaveType), audioType))
|
||||
throw new NotSupportedException("Compression type {0} is not supported.".F(audioFormat));
|
||||
throw new NotSupportedException($"Compression type {audioFormat} is not supported.");
|
||||
|
||||
channels = s.ReadInt16();
|
||||
sampleRate = s.ReadInt32();
|
||||
|
||||
Reference in New Issue
Block a user