Update notes re: [Obsolete]

YoshiRulz 2025-05-11 00:20:38 +10:00
parent d15e91d84a
commit cdd4703eb2
1 changed files with 3 additions and 1 deletions

@ -158,7 +158,9 @@ WinForms' `Label.Text` stops reading at the first NUL for measurement/rendering,
## `[Obsolete]` only works on base declarations
See [dotnet/csharplang#2652](https://github.com/dotnet/csharplang/issues/2652).
See ~~dotnet/csharplang#2652~~ [dotnet/csharplang#8937](https://github.com/dotnet/csharplang/issues/8937) (something something [convenient place](https://github.com/dotnet/maui/discussions/339#discussioncomment-345659)).
We have the diagnostic `CS0809` enabled to help avoid this mistake, but [even that's not foolproof](https://github.com/dotnet/roslyn/issues/78548).
## Out-of-range `Span` slices throw `ArgumentOutOfRangeException` with wrong param name