-
Notifications
You must be signed in to change notification settings - Fork 999
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix regression in how GetData APIs swallow all exceptions. (#12656)
restore behavior of 1. app with BinaryFormatter enabled SetData("custom format", new List<Point>(){}) 2. app with BInaryFormatter disabled GetData("custom format") NET8 and NET9 were returning an empty memory stream, I regressed it to throw the NotSupportedException from the spot where we detect that BinaryFormatter is disabled. After this change I retain the NotSupportedException only in the Typed Get APIs
- Loading branch information
1 parent
d15d137
commit 47e5d4e
Showing
4 changed files
with
62 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters