mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
[General]Consolidate to language version C# 10 (#19209)
This commit is contained in:
committed by
GitHub
parent
3d8fbd0507
commit
e6be44623a
@@ -47,7 +47,7 @@ namespace PowerLauncher
|
||||
content.AppendLine(ErrorReporting.RuntimeInfo());
|
||||
|
||||
// Using CurrentCulture since this is displayed to user in the report window
|
||||
content.AppendLine($"Date: {DateTime.Now.ToString(CultureInfo.CurrentCulture)}");
|
||||
content.AppendLine(CultureInfo.CurrentCulture, $"Date: {DateTime.Now.ToString(CultureInfo.CurrentCulture)}");
|
||||
content.AppendLine("Exception:");
|
||||
content.AppendLine(exception.ToString());
|
||||
var paragraph = new Paragraph();
|
||||
|
||||
Reference in New Issue
Block a user