2 instantiations of RoArrayType
System.Reflection.MetadataLoadContext (2)
14 references to RoArrayType
System.Reflection.MetadataLoadContext (14)
System\Reflection\TypeLoading\Modules\RoModule.Unifier.cs (12)
13internal RoArrayType GetUniqueArrayType(RoType elementType)
20private static readonly Func<RoType, RoArrayType> s_szArrayTypeFactory = (e) => new RoArrayType(e, multiDim: false, rank: 1);
21private readonly ConcurrentDictionary<RoType, RoArrayType> _szArrayDict = new ConcurrentDictionary<RoType, RoArrayType>();
26internal RoArrayType GetUniqueArrayType(RoType elementType, int rank)
29RoArrayType.Key key = new(elementType, rank: rank);
34private static readonly Func<RoArrayType.Key, RoArrayType> s_mdArrayTypeFactory = (k) => new RoArrayType(k.ElementType, multiDim: true, rank: k.Rank);
35private readonly ConcurrentDictionary<RoArrayType.Key, RoArrayType> _mdArrayDict = new ConcurrentDictionary<RoArrayType.Key, RoArrayType>();