container icon indicating copy to clipboard operation
container copied to clipboard

Make InvalidValue internal and sealed

Open ENikS opened this issue 6 years ago • 0 comments

Description

LifetimeManager.InvalidValue is a special class representing invalid value for all lifetime managers. There should be only one instance of this type accessible via LifetimeManager.NoValue static member.

Currently the type is public and could be derived from. To prevent creation of outside LifetimeManager class the type should be changed to internal and sealed.

ENikS avatar Jun 06 '20 01:06 ENikS