-
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a couple of semi-edge-cases (#199)
* Avoid throwing on IDisposable * Avoid throwing in ProtoBufMarshallerFactory.CanSerialize There is at least one situation where the underlying protobuf TypeModel throws a NotSupportedException : when asking about an array of arrays. While this seems doubtful (it should simply return false), it is easy enough to prevent this from trashing the whole service. * Remove remnant of old code No longer any reason to handle delegates specifically : it will be done naturally by the marshallerCache (and who knows, maybe it *can* serialize some delegates !). Moreover, this could misinterpret a signature as valid without parameter, with somewhat weird consequences. --------- Co-authored-by: Marc Gravell <[email protected]>
- Loading branch information
1 parent
fc2761c
commit 4781096
Showing
3 changed files
with
22 additions
and
9 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