Skip to content

Conversation

@MichalStrehovsky
Copy link
Member

Long time ago we tried to make binary serialization sort of work with PublishAot. That code was deleted, but this was left.

It required gardening work in #84649 but we should just delete it.

Cc @dotnet/ilc-contrib

Long time ago we tried to make binary serialization sort of work with PublishAot. That code was deleted, but this was left.

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also remove the FieldFlags.NotSerialized? It should not be used now... and we don't want to use it again.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's getting removed on line 21 in this file.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right - I'm... blind. Sorry.

@MichalStrehovsky MichalStrehovsky merged commit e02954b into dotnet:main Apr 12, 2023
@MichalStrehovsky MichalStrehovsky deleted the ser branch April 12, 2023 09:47
@ghost ghost locked as resolved and limited conversation to collaborators May 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants