4 instantiations of AllocationSite
ILCompiler.Compiler (4)
Compiler\TypePreinit.cs (4)
310
AllocationSite allocSite = new
AllocationSite
(_type, instructionCounter);
606
AllocationSite allocSite = new
AllocationSite
(_type, instructionCounter);
1713
AllocationSite allocSite = new
AllocationSite
(_type, instructionCounter);
3241
AllocationSite foreignAllocationSite = new
AllocationSite
(
17 references to AllocationSite
ILCompiler.Compiler (17)
Compiler\TypePreinit.cs (17)
45
private readonly Dictionary<
AllocationSite
, ForeignTypeInstance> _foreignInstances = new Dictionary<
AllocationSite
, ForeignTypeInstance>();
157
private ForeignTypeInstance GetOrCreateForeignInstance(TypeDesc type,
AllocationSite
allocationSite, ReferenceTypeValue data)
310
AllocationSite
allocSite = new AllocationSite(_type, instructionCounter);
606
AllocationSite
allocSite = new AllocationSite(_type, instructionCounter);
1713
AllocationSite
allocSite = new AllocationSite(_type, instructionCounter);
3206
private readonly struct AllocationSite : IEquatable<
AllocationSite
>
3217
public bool Equals(
AllocationSite
other) =>
3221
public override bool Equals(object obj) => obj is
AllocationSite
other && Equals(other);
3231
protected
AllocationSite
AllocationSite { get; }
3233
public AllocatedReferenceTypeValue(TypeDesc type,
AllocationSite
allocationSite)
3241
AllocationSite
foreignAllocationSite = new AllocationSite(
3270
public DelegateInstance(TypeDesc delegateType, MethodDesc methodPointed, ReferenceTypeValue firstParameter,
AllocationSite
allocationSite)
3361
public ArrayInstance(ArrayType type, int elementCount,
AllocationSite
allocationSite)
3454
public ForeignTypeInstance(TypeDesc type,
AllocationSite
allocationSite, ReferenceTypeValue data)
3552
public ObjectInstance(DefType type,
AllocationSite
allocationSite)
3561
public static bool TryBox(DefType type, Value value,
AllocationSite
allocationSite, out ObjectInstance result)