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

Add System.TimeSpan size detection #290

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

onyxmaster
Copy link
Contributor

Currently, the instances of System.TimeSpan are estimated to have a size of 4, this is because this type in a reference assembly has an integer dummy field. This added check fixes that issue.

…ector returned sizeof(int) based of the dummy TimeSpan field
@SergeyTeplyakov
Copy link
Owner

Thanks!

@SergeyTeplyakov SergeyTeplyakov merged commit 0d7e5dc into SergeyTeplyakov:master Jan 15, 2025
@onyxmaster onyxmaster deleted the feat/timespan-size branch January 27, 2025 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants