DotNext by .NET Foundation and Contributors

<PackageReference Include="DotNext" Version="4.2.0-beta.1" />

 SoftReferenceState

public enum SoftReferenceState
Represents state of the referenced object.
Empty = 0

The referenced object is not reachable via soft reference.

Strong = 2

Soft reference acting as a strong reference so the referenced object is not available for GC.

Weak = 1

Soft reference acting as a weak reference so the referenced object is available for GC.