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