{"action":"created","issue":{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/41","labels_url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/41/comments","events_url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/41/events","html_url":"https://github.com/michaeledgar/protobuf-net/issues/41","id":58233174,"number":41,"title":"Inherited members not (de)serialized properly","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-19T16:40:50Z","updated_at":"2015-02-19T16:40:51Z","closed_at":null,"body":"```\nHi! I'm currently struggling with inheritance in protobuf-net. I have the\nfollowing example:\n[ProtoContract]\n[ProtoInclude (2, typeof (B))]\npublic class A\n{\n    [ProtoMember (1, Name = \"PropA\")]\n    public string PropA { get; set; }\n\n    [ProtoMember (2, Name = \"PropB\")]\n    public string PropB { get; set; }\n}\n\n[ProtoContract]\npublic class B : A\n{\n    [ProtoMember (1, Name = \"PropAB\")]\n    public string PropAB { get; set; }\n    [ProtoMember (2, Name = \"PropBB\")]\n    public string PropBB { get; set; }\n}\n\nNow doing:\nB b = new B {PropA = \"a\", PropB = \"b\", PropAB = \"ab\", PropBB = \"bb\"};\nusing (var s = new MemoryStream ())\n{\n   Serializer.Serialize (s, b);\n   s.Position = 0;\n   B bb = Serializer.Deserialize<B> (s);\n   Console.WriteLine (\"{0},{1},{2},{3}\", bb.PropA, bb.PropB, bb.PropAB,\nbb.PropBB);\n}\n\nShould produce: a,b,ab,bb\nInstead I get: ,,ab,bb\n\nSo it seems like inherited members are not retrieved.\n```\n\n-----\nOriginal issue reported on code.google.com by `maciej.p...@gmail.com` on 11 Feb 2009 at 3:09"},"comment":{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/comments/75086026","html_url":"https://github.com/michaeledgar/protobuf-net/issues/41#issuecomment-75086026","issue_url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/41","id":75086026,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T16:40:51Z","updated_at":"2015-02-19T16:40:51Z","body":"```\nIndeed - I need to improve the documentation; time is my enemy... issue 42 will \nbbe a \nbetter man page ;-p\n```\n\n-----\nOriginal comment by `marc.gravell` on 11 Feb 2009 at 8:04\n* Changed state: **Verified**"}}