{"action":"opened","issue":{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/220","labels_url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/220/comments","events_url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/220/events","html_url":"https://github.com/michaeledgar/protobuf-net/issues/220","id":58233878,"number":220,"title":"IList<T> serialization","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":2,"created_at":"2015-02-19T16:44:24Z","updated_at":"2015-02-19T16:44:25Z","closed_at":null,"body":"```\nWhat steps will reproduce the problem?\n1. Type t=typeof(IList<ModelType>)\n2. int key = RuntimeTypeModel.Default.GetKey(t)\n3.\n\nWhat is the expected output? What do you see instead?\nkey >= 0\n\nWhat version of the product are you using? On what operating system?\nv2.431\n\nPlease provide any additional information below.\n\nThis code is used in your ProtoOperationBehavior.CreateSerializer() (for WCF) \nand this method returns DataContractSerializer instead of XmlProtoSerializer \nfor IList<ModelType> or any IList<>/ObservableCollection<T> types. \nAs I see, RuntimeTypeModel.RecogniseCommonTypes(), that`s called when type \nisn`t recognized support only KeyValuePair<,> but no other.\nI did something wrong or PTB doesn`t support serialization of objects \nlist/collection?\n```\n\n-----\nOriginal issue reported on code.google.com by `arms...@ukr.net` on 11 Aug 2011 at 9:08"}}