Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

Utf8Json.UniversalCodeGenerator drops the @ character prefixies #226

Open
shiena opened this issue Jun 24, 2020 · 0 comments
Open

Utf8Json.UniversalCodeGenerator drops the @ character prefixies #226

shiena opened this issue Jun 24, 2020 · 0 comments

Comments

@shiena
Copy link

shiena commented Jun 24, 2020

Step to reproduction

  1. Create a class like the following

    [System.Serializable]
    public class Model
    {
        public string @event;
    }
  2. Generate the source with the following command

    Utf8Json.UniversalCodeGenerator -i Model.cs -o Utf8JsonGenerated.cs
  3. The @ is missing from the variable name in Utf8JsonGenerated.cs. This causes a compile error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant