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

Pierre Mignolet updated THRIFT-4558:
------------------------------------
    Affects Version/s:     (was: 0.11.0)
                       0.9.3
        Fix Version/s: 0.9.3

> reserved Csharp keyword are not escaped when field is required
> --------------------------------------------------------------
>
>                 Key: THRIFT-4558
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4558
>             Project: Thrift
>          Issue Type: Bug
>          Components: C# - Compiler
>    Affects Versions: 0.9.3
>            Reporter: Pierre Mignolet
>            Priority: Blocker
>             Fix For: 0.9.3
>
>
> {code:java}
> struct MeMessage {
>  1: optional string fixed
>  7: required string unchecked
> }{code}
> Here reserved fixed C# keyword is escaped via @ but unchecked is not escaped 
> in C# code so code is just not compilable
> ----
> I had a look in t_csharp_generator.cc and keyword are present and method 
> normalize_name should make the escape



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to