File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -317,9 +317,9 @@ public unsafe void UpdateLayout(DiagnosticBag diagnostics)
317
317
var content = contentList [ i ] ;
318
318
if ( content is ElfNullSection ) continue ;
319
319
320
- if ( content is ElfNoBitsSection noBitsSection && noBitsSection . PositionOffsetFromPreviousContent . HasValue )
320
+ if ( content is ElfNoBitsSection noBitsSection )
321
321
{
322
- content . Position = contentList [ i - 1 ] . Position + noBitsSection . PositionOffsetFromPreviousContent . Value ;
322
+ content . Position = contentList [ i - 1 ] . Position + noBitsSection . PositionOffsetFromPreviousContent ;
323
323
}
324
324
else
325
325
{
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public ElfNoBitsSection() : base(ElfSectionType.NoBits)
10
10
{
11
11
}
12
12
13
- public ulong ? PositionOffsetFromPreviousContent { get ; set ; }
13
+ public ulong PositionOffsetFromPreviousContent { get ; set ; }
14
14
15
15
public override void Read ( ElfReader reader )
16
16
{
You can’t perform that action at this time.
0 commit comments