Task: Refactor SetOnce<T> to .NETify #1069
Labels
design
good-first-issue
Good for newcomers
is:task
A chore to be done
notes:breaking-change
Has changes that will break backward compatibility
pri:normal
up-for-grabs
This issue is open to be worked on by anyone
Milestone
Is there an existing issue for this?
Task description
SetOnce<T>
hasGet()
andSet()
methods without any overloads. This class can be improved by changingGet()
andSet()
methods to aValue
property to matchNullable<T>
in .NET.Get()
andSet()
should be deprecated and moved to theSupport/ObsoleteAPI
(for removal in the rc1). This can be done by makingSetOnce<T>
into a partial class, which allows us to simply delete the whole class to remove the obsolete members.The text was updated successfully, but these errors were encountered: