Skip to content

Commit 048d3ee

Browse files
Do not set ExtendedLayout on BoxedValueType (#122091)
This looks like a copy-paste mistake?
1 parent 5bb1dae commit 048d3ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/CompilerTypeSystemContext.BoxedTypes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ private sealed partial class BoxedValueType : MetadataType, INonEmittableType
239239
public override PInvokeStringFormat PInvokeStringFormat => PInvokeStringFormat.AutoClass;
240240
public override bool IsExplicitLayout => false;
241241
public override bool IsSequentialLayout => true;
242-
public override bool IsExtendedLayout => true;
242+
public override bool IsExtendedLayout => false;
243243
public override bool IsAutoLayout => false;
244244
public override bool IsBeforeFieldInit => false;
245245
public override MetadataType BaseType => (MetadataType)Context.GetWellKnownType(WellKnownType.Object);

0 commit comments

Comments
 (0)