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

Fix | Fix serialization issue with SqlException (.NET Core) #780

Merged
merged 1 commit into from
Nov 3, 2020

Conversation

cheenamalhotra
Copy link
Member

@cheenamalhotra cheenamalhotra commented Oct 30, 2020

Fixes #778

Reported issue #778 is not reproducible with any other SqlClient driver except Microsoft.Data.SqlClient (.NET Core - all versions).
Apparently the System.Runtime.CompilerServices.TypeForwardedFrom tag is the cause of this issue.

Removing this tag fixes the issue.
Test added.

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.

SqlException fails to deserialize via BinaryFormatter
3 participants