From 76479eb9f8f22037cb829f1adb851e9b82bfdde7 Mon Sep 17 00:00:00 2001 From: GeWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Fri, 3 Apr 2026 10:04:18 +0800 Subject: [PATCH] =?UTF-8?q?refactor(GFramework.SourceGenerators):=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=85=A8=E5=B1=80=E5=91=BD=E5=90=8D=E7=A9=BA?= =?UTF-8?q?=E9=97=B4=E5=BC=95=E7=94=A8=E4=BB=A5=E6=94=AF=E6=8C=81=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E7=94=9F=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 引入 System.Globalization 用于区域设置相关操作 - 添加 System.IO 支持文件输入输出功能 - 集成 System.Text 提供文本处理能力 - 包含 System.Text.Json 用于 JSON 序列化反序列化 --- GFramework.SourceGenerators/GlobalUsings.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/GFramework.SourceGenerators/GlobalUsings.cs b/GFramework.SourceGenerators/GlobalUsings.cs index a23ec429..f098c130 100644 --- a/GFramework.SourceGenerators/GlobalUsings.cs +++ b/GFramework.SourceGenerators/GlobalUsings.cs @@ -20,4 +20,8 @@ global using System.Collections.Immutable; global using Microsoft.CodeAnalysis; global using Microsoft.CodeAnalysis.CSharp.Syntax; global using Microsoft.CodeAnalysis.CSharp; -global using Microsoft.CodeAnalysis.Text; \ No newline at end of file +global using Microsoft.CodeAnalysis.Text; +global using System.Globalization; +global using System.IO; +global using System.Text; +global using System.Text.Json; \ No newline at end of file