mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
[General]Consolidate to language version C# 10 (#19209)
This commit is contained in:
committed by
GitHub
parent
3d8fbd0507
commit
e6be44623a
@@ -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
|
||||
{
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user