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:15 UTC

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

Jens Geyer created THRIFT-1930:
----------------------------------

             Summary: C# generates unsigned byte for Thrift "byted" 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
             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