-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Protobuf serialization improvements #2949
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
Protobuf serialization improvements #2949
Conversation
.Assembly | ||
.GetType("System.Runtime.Serialization.FormatterServices") | ||
?.GetTypeInfo() | ||
?.GetMethod("GetUninitializedObject", BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method is not exposed publically on netstandard1.6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😬
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me, sans the risky stuff we have to do to recreate an exception on .NET Standard, but not much we can do to avoid it IMHO.
.Assembly | ||
.GetType("System.Runtime.Serialization.FormatterServices") | ||
?.GetTypeInfo() | ||
?.GetMethod("GetUninitializedObject", BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😬
TODO:
Duration
type instead of a customTimeSpan