8 references to ByRefTypesCache
System.Private.TypeLoader (8)
Internal\Runtime\TypeLoader\TypeBuilder.cs (5)
975TypeSystemContext.ByRefTypesCache.Reserve(TypeSystemContext.ByRefTypesCache.Count + newByRefTypesCount); 1016TypeSystemContext.ByRefTypesCache.AddOrGetExisting(typeAsParameterizedType.RuntimeTypeHandle); 1261if (!TypeSystemContext.ByRefTypesCache.TryGetValue(pointeeTypeHandle, out byRefTypeHandle)) 1270TypeSystemContext.ByRefTypesCache.AddOrGetExisting(byRefTypeHandle);
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.cs (3)
346if (TypeSystemContext.ByRefTypesCache.TryGetValue(pointeeTypeHandle, out byRefTypeHandle)) 355if (TypeSystemContext.ByRefTypesCache.TryGetValue(pointeeTypeHandle, out pointerTypeHandle)) 361TypeSystemContext.ByRefTypesCache.AddOrGetExisting(pointerTypeHandle);