1 instantiation of ForeignTypeInstance
ILCompiler.Compiler (1)
Compiler\TypePreinit.cs (1)
161
_foreignInstances.Add(allocationSite, result = new
ForeignTypeInstance
(type, allocationSite, data));
5 references to ForeignTypeInstance
ILCompiler.Compiler (5)
Compiler\TypePreinit.cs (5)
45
private readonly Dictionary<AllocationSite,
ForeignTypeInstance
> _foreignInstances = new Dictionary<AllocationSite,
ForeignTypeInstance
>();
157
private
ForeignTypeInstance
GetOrCreateForeignInstance(TypeDesc type, AllocationSite allocationSite, ReferenceTypeValue data)
159
if (!_foreignInstances.TryGetValue(allocationSite, out
ForeignTypeInstance
result))
1673
else if (array.Value is
ForeignTypeInstance
)