Repository navigation
Commit 59947e3
authored
Drop a CS0618 pragma that had nothing left to suppress (#845)
The region was labelled "Obsolete settings" and wrapped in a disable of
CS0618, but SettingClass.As(T, Action) is a live, documented member and is
not marked obsolete. There are now zero [Obsolete] members anywhere in
Sources, so the pragma suppressed nothing while still being able to hide the
next member that becomes obsolete inside those forty lines.
TreatWarningsAsErrors is on, so with the pragma removed a genuinely obsolete
call in that region would fail the build. It compiles clean.
The two regions do not divide into obsolete and current -- they cover the two
ways a setting can be scoped, the callback form and the disposable form, both
supported. They now say so.1 parent c09055f commit 59947e3
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
89 | | - | |
90 | 91 | | |
91 | 92 | | |
92 | | - | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
0 commit comments