GFramework/GFramework.SourceGenerators/AnalyzerReleases.Unshipped.md
GeWuYou 16d8cad4f3 refactor(ioc): 优化依赖注入容器的优先级排序实现
- 修改 MicrosoftDiContainer 中 GetAllByPriority 方法的排序逻辑,使用 OrderBy 确保稳定排序
- 修正注释中的中文描述,明确优先级排序规则
- 将 PriorityUsageAnalyzer 中的硬编码诊断规则替换为统一的 PriorityDiagnostic
- 在 PriorityGenerator 中添加对嵌套类的支持检查,报告 GF_Priority_005 错误
- 改进生成文件的命名策略,使用完整元数据名称避免冲突
- 更新 AnalyzerReleases.Unshipped.md 文档,添加新的诊断规则说明
- 移除 PriorityGeneratorSnapshotTests 中关于嵌套类的测试用例
2026-03-05 22:52:59 +08:00

1.1 KiB

; Unshipped analyzer release ; https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md

New Rules

Rule ID Category Severity Notes
GF_Logging_001 GFramework.Godot.logging Warning LoggerDiagnostics
GF_Rule_001 GFramework.SourceGenerators.rule Error ContextAwareDiagnostic
GF_Priority_001 GFramework.Priority Error PriorityDiagnostic
GF_Priority_002 GFramework.Priority Warning PriorityDiagnostic
GF_Priority_003 GFramework.Priority Error PriorityDiagnostic
GF_Priority_004 GFramework.Priority Error PriorityDiagnostic
GF_Priority_005 GFramework.Priority Error PriorityDiagnostic
GF_Priority_Usage_001 GFramework.Usage Info PriorityUsageAnalyzer