4 instantiations of AllocationSite
ILCompiler.Compiler (4)
Compiler\TypePreinit.cs (4)
310AllocationSite allocSite = new AllocationSite(_type, instructionCounter); 606AllocationSite allocSite = new AllocationSite(_type, instructionCounter); 1697AllocationSite allocSite = new AllocationSite(_type, instructionCounter); 3225AllocationSite foreignAllocationSite = new AllocationSite(
17 references to AllocationSite
ILCompiler.Compiler (17)
Compiler\TypePreinit.cs (17)
45private readonly Dictionary<AllocationSite, ForeignTypeInstance> _foreignInstances = new Dictionary<AllocationSite, ForeignTypeInstance>(); 157private ForeignTypeInstance GetOrCreateForeignInstance(TypeDesc type, AllocationSite allocationSite, ReferenceTypeValue data) 310AllocationSite allocSite = new AllocationSite(_type, instructionCounter); 606AllocationSite allocSite = new AllocationSite(_type, instructionCounter); 1697AllocationSite allocSite = new AllocationSite(_type, instructionCounter); 3190private readonly struct AllocationSite : IEquatable<AllocationSite> 3201public bool Equals(AllocationSite other) => 3205public override bool Equals(object obj) => obj is AllocationSite other && Equals(other); 3215protected AllocationSite AllocationSite { get; } 3217public AllocatedReferenceTypeValue(TypeDesc type, AllocationSite allocationSite) 3225AllocationSite foreignAllocationSite = new AllocationSite( 3254public DelegateInstance(TypeDesc delegateType, MethodDesc methodPointed, ReferenceTypeValue firstParameter, AllocationSite allocationSite) 3345public ArrayInstance(ArrayType type, int elementCount, AllocationSite allocationSite) 3438public ForeignTypeInstance(TypeDesc type, AllocationSite allocationSite, ReferenceTypeValue data) 3536public ObjectInstance(DefType type, AllocationSite allocationSite) 3545public static bool TryBox(DefType type, Value value, AllocationSite allocationSite, out ObjectInstance result)