1 write to _methods
ILCompiler.Compiler (1)
Compiler\TypePreinit.cs (1)
2600
=> (_type,
_methods
, _fieldThatOwnsMemory) = (type, methods, fieldThatOwnsMemory);
19 references to _methods
ILCompiler.Compiler (19)
Compiler\TypePreinit.cs (19)
2609
public override int Size =>
_methods
.Length * _type.Context.Target.PointerSize;
2652
foreach (MethodDesc method in
_methods
)
2669
return new VTableLikeStructValue(_type, (MethodDesc[])
_methods
.Clone(), fieldThatOwnsMemory: null);
2680
Array.Copy(other.
_methods
,
_methods
, other.
_methods
.Length);
2715
_parent.
_methods
[_index] = methodPointer.PointedToMethod;
2719
&& _parent.
_methods
.Length - _index >= otherStruct.
_methods
.Length)
2721
Array.Copy(otherStruct.
_methods
, 0, _parent.
_methods
, _index, otherStruct.
_methods
.Length);
2732
|| mdType.InstanceFieldSize.AsInt > (_parent.
_methods
.Length - _index) * _parent._type.Context.Target.PointerSize)
2739
Array.Copy(_parent.
_methods
, _index, slots, 0, slots.Length);
2755
if (index >= _parent.
_methods
.Length)
2766
_parent.
_methods
[GetFieldIndex(field)] = methodPtr.PointedToMethod;
2772
MethodDesc method = _parent.
_methods
[GetFieldIndex(field)];
2791
if (_index + numSlots > _parent.
_methods
.Length)
2795
_parent.
_methods
[i] = null;