You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Carl Yeksigian (JIRA)" <ji...@apache.org> on 2013/06/06 13:54:21 UTC

[jira] [Commented] (THRIFT-1959) C#: Add Union TMemoryBuffer support

    [ https://issues.apache.org/jira/browse/THRIFT-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13676943#comment-13676943 ] 

Carl Yeksigian commented on THRIFT-1959:
----------------------------------------

Committed.
                
> C#: Add Union TMemoryBuffer support
> -----------------------------------
>
>                 Key: THRIFT-1959
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1959
>             Project: Thrift
>          Issue Type: Bug
>          Components: C# - Library
>    Affects Versions: 1.0
>            Reporter: Carl Yeksigian
>            Assignee: Carl Yeksigian
>             Fix For: 1.0
>
>         Attachments: 1959.patch
>
>
> Currently, the TMemoryBuffer requires a type which is TBase. With the new union typing, the type should be relaxed to TAbstractBase, and reflection needs to be used to get the correct Read method (since TAbstractBase does not include a Read).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira