Deprecate string format shorthand.
This commit is contained in:
committed by
abcdefg30
parent
1c2ce0dcc0
commit
65c0cf1065
@@ -96,7 +96,7 @@ namespace OpenRA.Platforms.Default
|
||||
{
|
||||
VerifyThreadAffinity();
|
||||
if (!Exts.IsPowerOf2(width) || !Exts.IsPowerOf2(height))
|
||||
throw new InvalidDataException("Non-power-of-two array {0}x{1}".F(width, height));
|
||||
throw new InvalidDataException($"Non-power-of-two array {width}x{height}");
|
||||
|
||||
Size = new Size(width, height);
|
||||
unsafe
|
||||
|
||||
Reference in New Issue
Block a user