REFACTOR: Use string interpolation expression.

This commit is contained in:
2017-12-21 17:58:51 +00:00
parent a895700757
commit 4e6e8f340a
182 changed files with 766 additions and 1256 deletions

View File

@@ -56,8 +56,7 @@ namespace DiscImageChef.Devices
case PlatformID.Linux: return Linux.ListDevices.GetList();
case PlatformID.FreeBSD: return FreeBSD.ListDevices.GetList();
default:
throw new InvalidOperationException(string.Format("Platform {0} not yet supported.",
DetectOS.GetRealPlatformID()));
throw new InvalidOperationException($"Platform {DetectOS.GetRealPlatformID()} not yet supported.");
}
}
}