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)
354if (TypeSystemContext.ByRefTypesCache.TryGetValue(pointeeTypeHandle, out byRefTypeHandle)) 363if (TypeSystemContext.ByRefTypesCache.TryGetValue(pointeeTypeHandle, out pointerTypeHandle)) 369TypeSystemContext.ByRefTypesCache.AddOrGetExisting(pointerTypeHandle);