1 write to _type
ILCompiler.Compiler (1)
Compiler\TypePreinit.cs (1)
2609
=> (
_type
, _methods, _fieldThatOwnsMemory) = (type, methods, fieldThatOwnsMemory);
8 references to _type
ILCompiler.Compiler (8)
Compiler\TypePreinit.cs (8)
2618
public override int Size => _methods.Length *
_type
.Context.Target.PointerSize;
2678
return new VTableLikeStructValue(
_type
, (MethodDesc[])_methods.Clone(), fieldThatOwnsMemory: null);
2741
|| mdType.InstanceFieldSize.AsInt > (_parent._methods.Length - _index) * _parent.
_type
.Context.Target.PointerSize)
2761
Debug.Assert(field.Offset.AsInt % _parent.
_type
.Context.Target.PointerSize == 0 && field.FieldType.IsFunctionPointer);
2763
int index = (field.Offset.AsInt / _parent.
_type
.Context.Target.PointerSize) + _index;
2786
return _parent.
_type
.Context.Target.PointerSize == 8 ? ValueTypeValue.FromInt64(0) : ValueTypeValue.FromInt32(0);
2796
if (size % _parent.
_type
.Context.Target.PointerSize != 0)
2799
int numSlots = size / _parent.
_type
.Context.Target.PointerSize;