container
container copied to clipboard
Make InvalidValue internal and sealed
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.