DotNext by .NET Foundation and Contributors

<PackageReference Include="DotNext" Version="4.8.1" />

 SoftReferenceState

public enum SoftReferenceState
Represents state of the referenced object.
namespace DotNext.Runtime { public enum SoftReferenceState { Empty, Weak, Strong } }