Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix for test build break in the outerloop pipeline
The PR

#84383

missed one case that is now causing build errors in the Pri1 test
suite. I have attempted to fix this along the lines of the above
PR.

Thanks

Tomas
  • Loading branch information
trylek committed Apr 11, 2023
commit dc6aca9705f98997dcb91b799e3d1ddcf3732bc4
2 changes: 2 additions & 0 deletions src/coreclr/tools/Common/TypeSystem/Ecma/EcmaField.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,10 @@ private int InitializeFieldFlags(int mask)
if ((fieldAttributes & FieldAttributes.HasFieldRVA) != 0)
flags |= FieldFlags.HasRva;

#pragma warning disable SYSLIB0050 // Legacy serialization infrastructure is obsolete
if ((fieldAttributes & FieldAttributes.NotSerialized) != 0)
flags |= FieldFlags.NotSerialized;
#pragma warning restore SYSLIB0050

flags |= FieldFlags.BasicMetadataCache;
}
Expand Down