Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: CultureInfo cannot be serialized #112

Open
Awiprogs-AW opened this issue Apr 16, 2024 · 0 comments
Open

Bug: CultureInfo cannot be serialized #112

Awiprogs-AW opened this issue Apr 16, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Awiprogs-AW
Copy link

Awiprogs-AW commented Apr 16, 2024

CerasSerializer is not able to serialize CultureInfo. Introducing SerializerConfig with ConstructBy didn't help.

Repro steps

  1. Create a very simple type with property of type CultureInfo
  2. Run CerasSerializer.Serialize() -> Exception

image

image

Platform
.NET 8, VS 2022

@Awiprogs-AW Awiprogs-AW added the bug Something isn't working label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants