From 060cbe34129238d0a0d37735edb66dc9e984c190 Mon Sep 17 00:00:00 2001
From: xtqqczze <45661989+xtqqczze@users.noreply.github.com>
Date: Tue, 26 Nov 2024 03:44:05 +0000
Subject: [PATCH] Set `LangVersion` compiler option to `13.0` (#24617)
---
.../PSVersionInfoGenerator/PSVersionInfoGenerator.csproj | 2 +-
test/perf/dotnet-tools/ResultsComparer/ResultsComparer.csproj | 2 +-
.../src/code/Microsoft.PowerShell.NamedPipeConnection.csproj | 2 +-
.../Microsoft.PowerShell.Commands.Utility.csproj | 2 +-
.../Microsoft.PowerShell.ConsoleHost.csproj | 2 +-
.../System.Management.Automation.csproj | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/System.Management.Automation/SourceGenerators/PSVersionInfoGenerator/PSVersionInfoGenerator.csproj b/src/System.Management.Automation/SourceGenerators/PSVersionInfoGenerator/PSVersionInfoGenerator.csproj
index 5e7287debb..80b911bc8e 100644
--- a/src/System.Management.Automation/SourceGenerators/PSVersionInfoGenerator/PSVersionInfoGenerator.csproj
+++ b/src/System.Management.Automation/SourceGenerators/PSVersionInfoGenerator/PSVersionInfoGenerator.csproj
@@ -7,7 +7,7 @@
netstandard2.0
- 11.0
+ 13.0
true
true
enable
diff --git a/test/perf/dotnet-tools/ResultsComparer/ResultsComparer.csproj b/test/perf/dotnet-tools/ResultsComparer/ResultsComparer.csproj
index 98a949de64..48cad7ffd8 100644
--- a/test/perf/dotnet-tools/ResultsComparer/ResultsComparer.csproj
+++ b/test/perf/dotnet-tools/ResultsComparer/ResultsComparer.csproj
@@ -3,7 +3,7 @@
Exe
$(PERFLAB_TARGET_FRAMEWORKS)
net5.0
- 11.0
+ 13.0
diff --git a/test/tools/NamedPipeConnection/src/code/Microsoft.PowerShell.NamedPipeConnection.csproj b/test/tools/NamedPipeConnection/src/code/Microsoft.PowerShell.NamedPipeConnection.csproj
index b3d5b83a79..9bf74075ac 100644
--- a/test/tools/NamedPipeConnection/src/code/Microsoft.PowerShell.NamedPipeConnection.csproj
+++ b/test/tools/NamedPipeConnection/src/code/Microsoft.PowerShell.NamedPipeConnection.csproj
@@ -10,7 +10,7 @@
1.0.0
net9.0
true
- 11.0
+ 13.0
diff --git a/tools/packaging/projects/reference/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj b/tools/packaging/projects/reference/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj
index cda0bb8385..eccdcfa947 100644
--- a/tools/packaging/projects/reference/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj
+++ b/tools/packaging/projects/reference/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj
@@ -5,7 +5,7 @@
true
$(SnkFile)
true
- 11.0
+ 13.0
diff --git a/tools/packaging/projects/reference/Microsoft.PowerShell.ConsoleHost/Microsoft.PowerShell.ConsoleHost.csproj b/tools/packaging/projects/reference/Microsoft.PowerShell.ConsoleHost/Microsoft.PowerShell.ConsoleHost.csproj
index 37ea87be80..7f45926e29 100644
--- a/tools/packaging/projects/reference/Microsoft.PowerShell.ConsoleHost/Microsoft.PowerShell.ConsoleHost.csproj
+++ b/tools/packaging/projects/reference/Microsoft.PowerShell.ConsoleHost/Microsoft.PowerShell.ConsoleHost.csproj
@@ -5,7 +5,7 @@
true
$(SnkFile)
true
- 11.0
+ 13.0
diff --git a/tools/packaging/projects/reference/System.Management.Automation/System.Management.Automation.csproj b/tools/packaging/projects/reference/System.Management.Automation/System.Management.Automation.csproj
index d4e2b460dc..3a021bb551 100644
--- a/tools/packaging/projects/reference/System.Management.Automation/System.Management.Automation.csproj
+++ b/tools/packaging/projects/reference/System.Management.Automation/System.Management.Automation.csproj
@@ -5,7 +5,7 @@
true
$(SnkFile)
true
- 11.0
+ 13.0