Skip to content

Commit 7df7c28

Browse files
Update documentation for DependsOn usage examples
1 parent 983a932 commit 7df7c28

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

DIAGNOSTICS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ example scenarios. IDs and anchors are stable; message text is localized.
316316
- Description: DependsOn requires a setup context name when using a setup context kind (except Members).
317317
- Problem: `DependsOn` was called with a setup context kind but without a context name.
318318
- Fix: Provide a non-empty `name` value or use `DependsOn(params string[] setupNames)` when a context is not needed. `SetupContextKind.Members` allows omitting `name`.
319-
- Examples: Unexpected exception during generation.
319+
- Examples: `DependsOn(setupName, contextKind)` without providing `name` parameter.
320320

321321
## Warnings
322322

Pure.DI.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "solution", "solution", "{9B
88
Directory.Build.props = Directory.Build.props
99
build.sh = build.sh
1010
build.cmd = build.cmd
11+
DIAGNOSTICS.md = DIAGNOSTICS.md
1112
EndProjectSection
1213
EndProject
1314
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pure.DI.IntegrationTests", "tests\Pure.DI.IntegrationTests\Pure.DI.IntegrationTests.csproj", "{9EB0FB9E-487A-48D8-8B2C-03FBA81335B1}"

0 commit comments

Comments
 (0)