<PackageReference Include="NETStandard.Library" Version="2.0.2" />

System.Runtime.CompilerServices.ConditionalWeakTable<TKey, TValue>

public sealed class ConditionalWeakTable<TKey, TValue>
namespace System.Runtime.CompilerServices { public sealed class ConditionalWeakTable<TKey, TValue> where TKey : class where TValue : class { public delegate TValue CreateValueCallback (TKey key); public ConditionalWeakTable(); public void Add(TKey key, TValue value); public TValue GetOrCreateValue(TKey key); public TValue GetValue(TKey key, CreateValueCallback createValueCallback); public bool Remove(TKey key); public bool TryGetValue(TKey key, out TValue value); } }