-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Remove StructLayout LayoutKind.Auto from DateTime #7719
Comments
CC @danmosemsft |
How about |
@ufcpp, while useful. I'm not sure if removing it from In the case of With |
As suggested by @tannergooding in dotnet/csharplang#206 (comment) the
[StructLayout(LayoutKind.Auto)]
onDateTime
is not necessary and might prevent the wider adoption of the Initial blittable proposal.DateTime
only contains a single privatelong
field.The text was updated successfully, but these errors were encountered: