File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/coreclr/tools/Common/JitInterface Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1986,8 +1986,8 @@ private uint getClassAttribsInternal(TypeDesc type)
19861986 result |= CorInfoFlag . CORINFO_FLG_BYREF_LIKE ;
19871987
19881988 // The CLR has more complicated rules around CUSTOMLAYOUT, but this will do.
1989- if ( metadataType . IsExplicitLayout || ( metadataType . IsSequentialLayout && metadataType . GetClassLayout ( ) . Size != 0 ) || metadataType . IsWellKnownType ( WellKnownType . TypedReference ) )
1990- result |= CorInfoFlag . CORINFO_FLG_CUSTOMLAYOUT ;
1989+ if ( metadataType . IsExplicitLayout || metadataType . IsWellKnownType ( WellKnownType . TypedReference ) )
1990+ result |= CorInfoFlag . CORINFO_FLG_OPAQUE_BLOB ;
19911991
19921992 if ( metadataType . IsUnsafeValueType )
19931993 result |= CorInfoFlag . CORINFO_FLG_UNSAFE_VALUECLASS ;
You can’t perform that action at this time.
0 commit comments