2 references to _getTypeCoreCache
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\Modules\RoModule.cs (2)
124
if (!
_getTypeCoreCache
.TryGet(ns, name, hashCode, out RoDefinitionType? type))
127
_getTypeCoreCache
.GetOrAdd(ns, name, hashCode, type); // Type objects are unified independently of this cache so no need to check if we won the race to cache this Type