Skip to content

Conversation

@mwhelan
Copy link
Member

@mwhelan mwhelan commented Jun 12, 2016

Took dependency on Json.Net which is hopefully only temporary.
Outstanding issues are AppDomain unload and StackTrace.

using System;
using System.Runtime.Serialization;

[Serializable]
Copy link
Member

Choose a reason for hiding this comment

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

You could polyfill this if you wanted. Removing for everyone means you can no longer take exception across appdomains

Copy link
Member Author

Choose a reason for hiding this comment

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

By polyfill, do you mean #if statements?

Copy link
Member

Choose a reason for hiding this comment

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

Create an attribute in your code in the right namespace. Does nothing but don't need ifs.

Copy link
Member Author

Choose a reason for hiding this comment

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

OK, I see what you mean. But then I would still need an #if for the serializable constructor?

@JakeGinnivan JakeGinnivan merged commit 4286834 into TestStack:netcore Jul 2, 2016
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