6 references to GetOrAdd
System.Private.CoreLib (5)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (3)
231/// the table and returned by all the racing <see cref="GetOrAdd(TKey, Func{TKey, TValue})"/> calls. This rule permits the 299/// Consider using <see cref="GetOrAdd(TKey, Func{TKey, TValue})"/> (or one of its overloads) instead. 343/// Consider using <see cref="GetOrAdd(TKey, Func{TKey, TValue})"/> (or one of its overloads) instead.
System\Reflection\Runtime\Dispensers\DispenserThatReusesAsLongAsKeyIsAlive.cs (1)
23return _conditionalWeakTable.GetOrAdd(key, _factory);
System\Runtime\InteropServices\PInvokeMarshal.cs (1)
73return GetPInvokeDelegates().GetOrAdd(del, s_AllocateThunk ??= AllocateThunk).Thunk;
System.Reflection.DispatchProxy (1)
System\Reflection\DispatchProxyGenerator.cs (1)
74ProxyAssembly proxyAssembly = s_alcProxyAssemblyMap.GetOrAdd(alc, static x => new ProxyAssembly(x));