System.Runtime.CompilerServices.ConditionalWeakTableExtensions
Polyfills the GetOrAdd APIs added to ConditionalWeakTable<T, U> in .NET 10.
See https://github.com/dotnet/runtime/pull/111204.
public static TValue GetOrAdd<TKey, TValue>(this ConditionalWeakTable<TKey, TValue> table, TKey key, CreateValueCallback<TKey, TValue> valueFactory)