Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/diagnostics.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ See [State transition table](./state-transition-table.md).
| ID | Severity | When |
|----|----------|------|
| **DP040** | Error | `BuildRoot(IServiceProvider)` called but a composite node is not registered in the container |
| **DP041** | Error | Generated `I{Contract}NodeVisitor` does not cover all node types (visitor missing a `Visit` overload) |
| **DP041** | Info | Generated `I{Contract}NodeVisitor` does not cover all node types (reserved — the C# compiler enforces full coverage via CS0535 when implementing the generated interface) |

## Decorator DI + async (DP042–DP043) {#dp042}

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/diagnostics.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ IDE 帮助链接指向本页(`#dp###` 锚点)。
| ID | 级别 | 触发条件 |
|----|------|----------|
| **DP040** | Error | `BuildRoot(IServiceProvider)` 调用时 composite 节点未注册到容器 |
| **DP041** | Error | 生成的 `I{Contract}NodeVisitor` 未覆盖所有节点类型(visitor 缺少 `Visit` 重载) |
| **DP041** | Info | 生成的 `I{Contract}NodeVisitor` 未覆盖所有节点类型(保留 ID — C# 编译器通过接口实现 CS0535 自动强制覆盖,诊断不实际触发) |

## Decorator DI + async(DP042–DP043) {#dp042}

Expand Down
Loading