mylemans / protobuf-net

Automatically exported from code.google.com/p/protobuf-net
Other
0 stars 0 forks source link

Cannot Serializing private members with protobuf-net for windows store apps #429

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please include an e-mail address if this might need a dialogue!
==============

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by mc...@cam.ac.uk on 27 Jan 2014 at 1:54

GoogleCodeExporter commented 9 years ago
Apologies for the blank bug above I accidentally pressed enter before I'd 
entered anything and I cannot work out how to edit the above.

What steps will reproduce the problem?
1. Try to serialize a class with a private member on a windows store 
application, eg

[ProtoContract]
class ProtoTest
{
    [ProtoMember(1)]
    string Test;

    public ProtoTest(string test)
    {
        this.Test = test;
    }        
}

What is the expected output? What do you see instead?
The serialised class with the private member included

What version of the product are you using? On what operating system?
protobuf-net r668. Windows 8.1

Please provide any additional information below.

Original comment by mc...@cam.ac.uk on 27 Jan 2014 at 2:00