{"action":"created","issue":{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/27","labels_url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/27/comments","events_url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/27/events","html_url":"https://github.com/michaeledgar/protobuf-net/issues/27","id":58233104,"number":27,"title":"Serializing structs / immutable classes","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/Milestone-Release2.0","name":"Milestone-Release2.0","color":"ededed"},{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/labels/Priority-Low","name":"Priority-Low","color":"ededed"},{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-02-19T16:40:25Z","updated_at":"2015-02-19T16:40:28Z","closed_at":null,"body":"```\n       What's the best way for me to get this to work with protobuf-net? Is \nthere a way for me to inject a serializer proxy thing or something? (I was \nso sure it worked at one point, but obviously not.)\n\nThank again,\n-Michael\n\n\n   [DataContract(Namespace = FileDbSerializer.XmlDbNamespace)]\n   public struct KeyPair<TKey1, TKey2>\n   {\n       public KeyPair(TKey1 k1, TKey2 k2)\n           : this() {\n           Key1 = k1;\n           Key2 = k2;\n       }\n       // Stupid tuple class for datacontract\n       [DataMember]\n       public TKey1 Key1 { get;  internal set; }\n       [DataMember]\n       public TKey2 Key2 { get;  internal set; }\n\n       public override string ToString() {\n           return Key1.ToString() + \", \" + Key2.ToString();\n       }\n   }\n\n\n```\n\n-----\nOriginal issue reported on code.google.com by `marc.gravell` on 12 Oct 2008 at 7:44"},"comment":{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/comments/75085870","html_url":"https://github.com/michaeledgar/protobuf-net/issues/27#issuecomment-75085870","issue_url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/27","id":75085870,"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:28Z","updated_at":"2015-02-19T16:40:28Z","body":"```\nSo, I'm uniformed on the subject, but why is it that you cannot include private\nsetters in the pre-compiled code?\n```\n\n-----\nOriginal comment by `andersgs...@gmail.com` on 22 Apr 2010 at 9:51"}}