Commit 836b1c1
fix(build): suppress CA1812 on DI-instantiated HangfireStaleLockCleanupService
The class is registered via AddHostedService but CA1812 doesn't recognize
DI-based instantiation of internal classes.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 12c47a5 commit 836b1c1
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
0 commit comments