[General]Consolidate to language version C# 10 (#19209)

This commit is contained in:
Davide Giacometti
2022-07-15 10:06:00 +02:00
committed by GitHub
parent 3d8fbd0507
commit e6be44623a
10 changed files with 13 additions and 21 deletions

View File

@@ -3,6 +3,7 @@
// See the LICENSE file in the project root for more information.
using System;
using System.Globalization;
using System.IO.Abstractions;
using System.Runtime.CompilerServices;
using System.Text;
@@ -53,7 +54,7 @@ namespace Wox.Plugin.Logger
var formattedOutput = new StringBuilder();
formattedOutput.AppendLine("-------------------------- Begin exception --------------------------");
formattedOutput.AppendLine($"Message: {message}");
formattedOutput.AppendLine(CultureInfo.InvariantCulture, $"Message: {message}");
do
{

View File

@@ -21,7 +21,6 @@
<DebugSymbols>true</DebugSymbols>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Optimize>false</Optimize>
@@ -31,7 +30,6 @@
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>