From 28f161ce18a30bf805f490e4a999b7d38637a05d Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 13 Dec 2020 12:12:42 -0600 Subject: [PATCH] remove unnecessary string interpolation in a few places --- BizHawk.sln.DotSettings | 1 + src/BizHawk.Client.EmuHawk/FormBase.cs | 2 +- .../Consoles/Intellivision/Intellicart.cs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/BizHawk.sln.DotSettings b/BizHawk.sln.DotSettings index c865531127..78b0c1e635 100644 --- a/BizHawk.sln.DotSettings +++ b/BizHawk.sln.DotSettings @@ -365,6 +365,7 @@ True True True + True True True True diff --git a/src/BizHawk.Client.EmuHawk/FormBase.cs b/src/BizHawk.Client.EmuHawk/FormBase.cs index 8ccf862deb..3c238d54bb 100644 --- a/src/BizHawk.Client.EmuHawk/FormBase.cs +++ b/src/BizHawk.Client.EmuHawk/FormBase.cs @@ -27,7 +27,7 @@ namespace BizHawk.Client.EmuHawk /// To enforce the "static title" semantics for implementations, this getter will be called once and cached. protected virtual string WindowTitleStatic => DesignMode - ? $"(will take value from WindowTitle/WindowTitleStatic)" + ? "(will take value from WindowTitle/WindowTitleStatic)" : throw new NotImplementedException("you have to implement this; the Designer prevents this from being an abstract method"); protected override void OnLoad(EventArgs e) diff --git a/src/BizHawk.Emulation.Cores/Consoles/Intellivision/Intellicart.cs b/src/BizHawk.Emulation.Cores/Consoles/Intellivision/Intellicart.cs index 3fba366cdf..f02410538c 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Intellivision/Intellicart.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Intellivision/Intellicart.cs @@ -5,7 +5,7 @@ namespace BizHawk.Emulation.Cores.Intellivision { public sealed class Intellicart : ICart { - public string BoardName => $"Intellicart"; + public string BoardName => "Intellicart"; public void SyncState(Serializer ser) {