New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inherited C# auto-property backing field in remoting #969

Jand42 opened this Issue Jun 26, 2018 · 0 comments


None yet
2 participants

Jand42 commented Jun 26, 2018


    [JavaScript, Serializable]
    public class Base
        public int i = 1;
        public float[] Copies { get; set; } = { };

    [JavaScript, Serializable]
    public class Descendant : Base  {  }

and returning an instance of Descendant as an RPC result do not serializes the backing field of auto-implemented property of the base class. So client gets {i: 1} instead of the expected {i: 1, $Copies: []}.

Original report:

@Jand42 Jand42 added the bug label Jun 26, 2018

@Jand42 Jand42 changed the title from Auto-implemented C# properties in remoting to Inherited C# auto-property backing field in remoting Jun 26, 2018

@Jand42 Jand42 closed this in 7f84c58 Jun 26, 2018

@Tarmil Tarmil added the label Jun 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment