GFramework/GFramework.SourceGenerators/AnalyzerReleases.Unshipped.md
GeWuYou 2ae783c127 feat(generator): 添加对 [GetAll] 特性的静态和只读字段跳过支持
- 添加了新的诊断规则 GF_ContextGet_007 和 GF_ContextGet_08
- 实现了对静态字段和只读字段的跳过逻辑
- 为 [GetAll] 特性添加了跳过字段的警告提示
- 更新了测试用例验证跳过逻辑的正确性
- 修改了代码生成顺序以确保正确的绑定推断
- 在 README 中添加了关于字段跳过的文档说明
2026-03-30 08:40:57 +08:00

1.8 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_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