Commit 211156a
fix: consolidate DateTime banned symbols to require TimeProvider
Lines 1-2 said "use UtcNow" but UtcNow was also banned below.
Unified all four DateTime/DateTimeOffset properties to consistently
point to TimeProvider.System.GetUtcNow(). Removed redundant M: getter
bans since P: property bans already cover them.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e2d4794 commit 211156a
1 file changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | 1 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
9 | 6 | | |
10 | 7 | | |
11 | 8 | | |
| |||
0 commit comments