You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Obsolete attribute error is not taken into account in prop setters that can be included in methods which are not constructors #16952
openSystemtypeJsonSerializerOptions()=[<Obsolete("This is bad")>]member valDefaultOptions=falsewith get, set
member valUseCustomOptions=falsewith get, set
memberthis.With()= this
letoptions= JsonSerializerOptions()letoptions2=
options
.With(DefaultOptions =true)
.With(UseCustomOptions =false)
Expected behavior
(Warning 44, Line 14, Col 77, Line 14, Col 91, "This construct is deprecated. This is bad")
Activity
edgarfgp commentedon Apr 2, 2024
Cosed by #16900