2 writes to _type
ILCompiler.ReadyToRun (2)
Compiler\DependencyAnalysis\ReadyToRun\TypeHandle.cs (2)
22
_type
= type;
26
_type
= ((ByRefType)_type).ParameterType;
23 references to _type
ILCompiler.ReadyToRun (23)
Compiler\DependencyAnalysis\ReadyToRun\TypeHandle.cs (23)
23
_isByRef =
_type
.IsByRef;
26
_type = ((ByRefType)
_type
).ParameterType;
35
return _isByRef == other._isByRef &&
_type
== other.
_type
;
38
public override int GetHashCode() { return (int)
_type
.GetHashCode(); }
40
public bool IsNull() { return
_type
== null && !_isByRef; }
41
public bool IsValueType() { if (_isByRef) return false; return
_type
.IsValueType; }
42
public bool IsPointerType() { if (_isByRef) return false; return
_type
.IsPointer; }
44
public bool HasIndeterminateSize() { return IsValueType() && ((DefType)
_type
).InstanceFieldSize.IsIndeterminate; }
46
public int PointerSize =>
_type
.Context.Target.PointerSize;
51
return ((DefType)
_type
).InstanceFieldSize.AsInt;
58
if (
_type
.Context.Target.Architecture != TargetArchitecture.ARM)
66
return
_type
.RequiresAlign8();
71
TargetArchitecture targetArch =
_type
.Context.Target.Architecture;
80
return
_type
is DefType defType && defType.IsHomogeneousAggregate;
86
switch (
_type
.Context.Target.Architecture)
92
return ((DefType)
_type
).GetHomogeneousAggregateElementSize();
104
Internal.TypeSystem.TypeFlags category =
_type
.UnderlyingType.Category;
134
SystemVStructClassificator.GetSystemVAmd64PassStructInRegisterDescriptor(
_type
, out descriptor);
139
return RiscVLoongArch64FpStruct.GetFpStructInRegistersInfo(
_type
, architecture);
150
foreach (var field in
_type
.GetFields())
181
return ((DefType)
_type
).InstanceFieldAlignment.AsInt;
188
public TypeDesc GetRuntimeTypeHandle() { return
_type
; }