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