You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2013/04/15 19:46:16 UTC

[jira] [Updated] (THRIFT-1930) C# generates unsigned byte for Thrift "byte" type

     [ https://issues.apache.org/jira/browse/THRIFT-1930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer updated THRIFT-1930:
-------------------------------

    Summary: C# generates unsigned byte for Thrift "byte" type  (was: C# generates unsigned byte for Thrift "byted" type)
    
> C# generates unsigned byte for Thrift "byte" type
> -------------------------------------------------
>
>                 Key: THRIFT-1930
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1930
>             Project: Thrift
>          Issue Type: Bug
>          Components: C# - Compiler, C# - Library
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>              Labels: bug
>             Fix For: 1.0
>
>
> Given the code
> {code}
> struct test {
>   1: byte field
> }
> {code}
> the C# Generator generates 
> {code}
> public partial class test : TBase
> {
>   private byte _field;
>   // more code
> }
> {code}
> which is wrong, as all Thrift integer types are considered signed.
>  

--
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