GFramework/GFramework.SourceGenerators/AnalyzerReleases.Unshipped.md
GeWuYou eb307bf188 feat(generator): 添加代码生成器诊断规则和测试用例
- 定义了 Godot 源代码生成器的诊断规则表格
- 添加了上下文获取生成器的全面单元测试
- 实现了自动生成行为和注册导出集合的诊断功能
- 配置了全局 using 语句简化代码生成器实现
- 添加了完整的分析器发布跟踪文档记录新规则
2026-04-13 10:01:46 +08:00

4.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_ContextGet_001 GFramework.SourceGenerators.rule Error ContextGetDiagnostics
GF_ContextGet_002 GFramework.SourceGenerators.rule Error ContextGetDiagnostics
GF_ContextGet_003 GFramework.SourceGenerators.rule Error ContextGetDiagnostics
GF_ContextGet_004 GFramework.SourceGenerators.rule Error ContextGetDiagnostics
GF_ContextGet_005 GFramework.SourceGenerators.rule Error ContextGetDiagnostics
GF_ContextGet_006 GFramework.SourceGenerators.rule Error ContextGetDiagnostics
GF_ContextGet_007 GFramework.SourceGenerators.rule Warning ContextGetDiagnostics
GF_ContextGet_008 GFramework.SourceGenerators.rule Warning ContextGetDiagnostics
GF_ContextRegistration_001 GFramework.SourceGenerators.rule Warning ContextRegistrationDiagnostics
GF_ContextRegistration_002 GFramework.SourceGenerators.rule Warning ContextRegistrationDiagnostics
GF_ContextRegistration_003 GFramework.SourceGenerators.rule Warning ContextRegistrationDiagnostics
GF_ConfigSchema_001 GFramework.SourceGenerators.Config Error ConfigSchemaDiagnostics
GF_ConfigSchema_002 GFramework.SourceGenerators.Config Error ConfigSchemaDiagnostics
GF_ConfigSchema_003 GFramework.SourceGenerators.Config Error ConfigSchemaDiagnostics
GF_ConfigSchema_004 GFramework.SourceGenerators.Config Error ConfigSchemaDiagnostics
GF_ConfigSchema_005 GFramework.SourceGenerators.Config Error ConfigSchemaDiagnostics
GF_ConfigSchema_006 GFramework.SourceGenerators.Config Error ConfigSchemaDiagnostics
GF_ConfigSchema_007 GFramework.SourceGenerators.Config Error ConfigSchemaDiagnostics
GF_ConfigSchema_008 GFramework.SourceGenerators.Config Error ConfigSchemaDiagnostics
GF_ConfigSchema_009 GFramework.SourceGenerators.Config Error ConfigSchemaDiagnostics
GF_AutoModule_001 GFramework.SourceGenerators.Architecture Error AutoRegisterModuleDiagnostics
GF_AutoModule_002 GFramework.SourceGenerators.Architecture Error AutoRegisterModuleDiagnostics
GF_AutoModule_003 GFramework.SourceGenerators.Architecture Error AutoRegisterModuleDiagnostics
GF_AutoModule_004 GFramework.SourceGenerators.Architecture Error AutoRegisterModuleDiagnostics
GF_AutoModule_005 GFramework.SourceGenerators.Architecture Error AutoRegisterModuleDiagnostics
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