From d1805dd6aa57f42f8fa01c2ca71f58291fce2e1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E5=B7=9E=E5=9F=8E?=
 <36623158+SeWZC@users.noreply.github.com>
Date: Tue, 23 Jan 2024 14:57:41 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=20Microsoft.CodeAnalysis.CSh?=
 =?UTF-8?q?arp=20=E5=88=B0=E6=9C=80=E6=96=B0=E7=A8=B3=E5=AE=9A=E7=89=88?=
 =?UTF-8?q?=E6=9C=AC=204.8.0=20=E4=BB=A5=E6=94=AF=E6=8C=81=E6=96=B0?=
 =?UTF-8?q?=E8=AF=AD=E6=B3=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

版本 4.8.0 包含了对 C# 12 的支持:https://github.com/dotnet/roslyn/blob/main/docs/wiki/NuGet-packages.md#versioning
同时升级了 System.Memory
---
 src/SourceFusion.Tool/SourceFusion.Tool.csproj                | 4 ++--
 .../dotnetCampus.Telescope.SourceGeneratorAnalyzers.csproj    | 2 +-
 .../dotnetCampus.TelescopeTask.csproj                         | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/SourceFusion.Tool/SourceFusion.Tool.csproj b/src/SourceFusion.Tool/SourceFusion.Tool.csproj
index d826908..cc24a07 100644
--- a/src/SourceFusion.Tool/SourceFusion.Tool.csproj
+++ b/src/SourceFusion.Tool/SourceFusion.Tool.csproj
@@ -27,8 +27,8 @@
 
   <ItemGroup>
     <PackageReference Include="dotnetCampus.CommandLine.Source" Version="3.3.0" PrivateAssets="all" />
-    <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="2.8.2" PrivateAssets="all" />
-    <PackageReference Include="System.Memory" Version="4.5.1" PrivateAssets="All" />
+    <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" PrivateAssets="all" />
+    <PackageReference Include="System.Memory" Version="4.5.5" PrivateAssets="All" />
     <Reference Include="System.Web"></Reference>
   </ItemGroup>
 
diff --git a/src/TelescopeSourceGenerator/Analyzers/dotnetCampus.Telescope.SourceGeneratorAnalyzers.csproj b/src/TelescopeSourceGenerator/Analyzers/dotnetCampus.Telescope.SourceGeneratorAnalyzers.csproj
index 08d6622..782df9e 100644
--- a/src/TelescopeSourceGenerator/Analyzers/dotnetCampus.Telescope.SourceGeneratorAnalyzers.csproj
+++ b/src/TelescopeSourceGenerator/Analyzers/dotnetCampus.Telescope.SourceGeneratorAnalyzers.csproj
@@ -16,7 +16,7 @@
 
   <ItemGroup>
     <PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" PrivateAssets="all" />
-    <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.2.0" PrivateAssets="all" />
+    <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" PrivateAssets="all" />
   </ItemGroup>
 
   <ItemGroup>
diff --git a/src/dotnetCampus.TelescopeTask/dotnetCampus.TelescopeTask.csproj b/src/dotnetCampus.TelescopeTask/dotnetCampus.TelescopeTask.csproj
index 8141392..2e889a3 100644
--- a/src/dotnetCampus.TelescopeTask/dotnetCampus.TelescopeTask.csproj
+++ b/src/dotnetCampus.TelescopeTask/dotnetCampus.TelescopeTask.csproj
@@ -9,7 +9,7 @@
     <PackageReference Include="dotnetCampus.CommandLine" Version="3.3.0" PrivateAssets="all" />
     <PackageReference Include="dotnetCampus.Configurations" Version="1.2.9" PrivateAssets="all" />
     <PackageReference Include="dotnetCampus.MSBuildUtils.Source" Version="1.1.0" PrivateAssets="all" />
-    <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="2.8.2" PrivateAssets="all" />
+    <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" PrivateAssets="all" />
     <PackageReference Include="Walterlv.IO.PackageManagement" Version="5.9.0" PrivateAssets="all" />
   </ItemGroup>
 
@@ -28,5 +28,5 @@
   </ItemGroup>
 
   <!-- 这是为了兼容最新版本的预览版的.NET 6构建 -->
-  <Target Name="GetTargetPath"/>
+  <Target Name="GetTargetPath" />
 </Project>