Skip to content

Commit baef31d

Browse files
authored
CRC32 for native methods is now always updated (#64)
1 parent 410fc41 commit baef31d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/MetadataProcessor.Core/nanoAssemblyDefinition.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ public void Write(
8989
// keeping this here for now, just for compatibility
9090
writer.WriteUInt32(0);
9191

92-
// native methods CRC32, only for core libs
93-
writer.WriteUInt32(_isCoreLibrary ? _context.NativeMethodsCrc.Current : 0);
92+
// native methods CRC32
93+
writer.WriteUInt32(_context.NativeMethodsCrc.Current);
9494

9595
// Native methods offset
9696
writer.WriteUInt32(0xFFFFFFFF);

0 commit comments

Comments
 (0)