change languageversion back to 9.0 so we can use vs2019 and fix one related build error
This commit is contained in:
parent
114124c82e
commit
a5fb4caad0
|
@ -5,7 +5,7 @@
|
|||
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<IsTargetingNetFramework>$(TargetFramework.StartsWith("net4"))</IsTargetingNetFramework>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
<Nullable>enable</Nullable>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<RunAnalyzersDuringBuild Condition=" '$(MachineRunAnalyzersDuringBuild)' == '' ">false</RunAnalyzersDuringBuild>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
namespace BizHawk.Client.Common;
|
||||
|
||||
public static class DistinctKeyNameOverrides
|
||||
namespace BizHawk.Client.Common
|
||||
{
|
||||
public static class DistinctKeyNameOverrides
|
||||
{
|
||||
public static string GetName(in DistinctKey k)
|
||||
=> k switch
|
||||
{
|
||||
|
@ -53,4 +53,5 @@ public static class DistinctKeyNameOverrides
|
|||
DistinctKey.NumPadEnter => "KeypadEnter",
|
||||
_ => k.ToString()
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue