4 instantiations of AllocationSite
ILCompiler.Compiler (4)
Compiler\TypePreinit.cs (4)
312AllocationSite allocSite = new AllocationSite(_type, instructionCounter); 615AllocationSite allocSite = new AllocationSite(_type, instructionCounter); 1709AllocationSite allocSite = new AllocationSite(_type, instructionCounter); 3236AllocationSite foreignAllocationSite = new AllocationSite(
17 references to AllocationSite
ILCompiler.Compiler (17)
Compiler\TypePreinit.cs (17)
47private readonly Dictionary<AllocationSite, ForeignTypeInstance> _foreignInstances = new Dictionary<AllocationSite, ForeignTypeInstance>(); 159private ForeignTypeInstance GetOrCreateForeignInstance(TypeDesc type, AllocationSite allocationSite, ReferenceTypeValue data) 312AllocationSite allocSite = new AllocationSite(_type, instructionCounter); 615AllocationSite allocSite = new AllocationSite(_type, instructionCounter); 1709AllocationSite allocSite = new AllocationSite(_type, instructionCounter); 3201private readonly struct AllocationSite : IEquatable<AllocationSite> 3212public bool Equals(AllocationSite other) => 3216public override bool Equals(object obj) => obj is AllocationSite other && Equals(other); 3226protected AllocationSite AllocationSite { get; } 3228public AllocatedReferenceTypeValue(TypeDesc type, AllocationSite allocationSite) 3236AllocationSite foreignAllocationSite = new AllocationSite( 3265public DelegateInstance(TypeDesc delegateType, MethodDesc methodPointed, ReferenceTypeValue firstParameter, AllocationSite allocationSite) 3355public ArrayInstance(ArrayType type, int elementCount, AllocationSite allocationSite) 3448public ForeignTypeInstance(TypeDesc type, AllocationSite allocationSite, ReferenceTypeValue data) 3546public ObjectInstance(DefType type, AllocationSite allocationSite) 3555public static bool TryBox(DefType type, Value value, AllocationSite allocationSite, out ObjectInstance result)