mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
[General]Consolidate to language version C# 10 (#19209)
This commit is contained in:
committed by
GitHub
parent
3d8fbd0507
commit
e6be44623a
@@ -4,6 +4,7 @@
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
@@ -101,7 +102,7 @@ namespace PowerLauncher
|
||||
{
|
||||
var textToLog = new StringBuilder();
|
||||
textToLog.AppendLine("Begin PowerToys Run startup ----------------------------------------------------");
|
||||
textToLog.AppendLine($"Runtime info:{ErrorReporting.RuntimeInfo()}");
|
||||
textToLog.AppendLine(CultureInfo.InvariantCulture, $"Runtime info:{ErrorReporting.RuntimeInfo()}");
|
||||
|
||||
RegisterAppDomainExceptions();
|
||||
RegisterDispatcherUnhandledException();
|
||||
|
||||
Reference in New Issue
Block a user