13 references to GetTypeLayoutResult
ILCompiler.RyuJit (13)
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl_generated.cs (2)
264
public delegate* unmanaged<IntPtr, IntPtr*, CORINFO_CLASS_STRUCT_*, CORINFO_TYPE_LAYOUT_NODE*, nuint*,
GetTypeLayoutResult
> getTypeLayout;
1237
private static
GetTypeLayoutResult
_getTypeLayout(IntPtr thisHandle, IntPtr* ppException, CORINFO_CLASS_STRUCT_* typeHnd, CORINFO_TYPE_LAYOUT_NODE* treeNodes, nuint* numTreeNodes)
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (11)
2643
private
GetTypeLayoutResult
GetTypeLayoutHelper(MetadataType type, uint parentIndex, uint baseOffs, FieldDesc field, CORINFO_TYPE_LAYOUT_NODE* treeNodes, nuint maxTreeNodes, nuint* numTreeNodes)
2647
return
GetTypeLayoutResult
.Partial;
2710
return
GetTypeLayoutResult
.Success;
2729
GetTypeLayoutResult
result = GetTypeLayoutHelper((MetadataType)fieldType, structNodeIndex, baseOffs + (uint)fd.Offset.AsInt, fd, treeNodes, maxTreeNodes, numTreeNodes);
2730
if (result !=
GetTypeLayoutResult
.Success)
2736
return
GetTypeLayoutResult
.Partial;
2781
return
GetTypeLayoutResult
.Partial;
2796
return
GetTypeLayoutResult
.Success;
2799
private
GetTypeLayoutResult
getTypeLayout(CORINFO_CLASS_STRUCT_* typeHnd, CORINFO_TYPE_LAYOUT_NODE* treeNodes, nuint* numTreeNodes)
2804
return
GetTypeLayoutResult
.Failure;
2808
GetTypeLayoutResult
result = GetTypeLayoutHelper(metadataType, uint.MaxValue, 0, null, treeNodes, maxFields, numTreeNodes);