{"action":"created","issue":{"url":"https://api.github.com/repos/GregRos/Patchwork/issues/2","labels_url":"https://api.github.com/repos/GregRos/Patchwork/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/GregRos/Patchwork/issues/2/comments","events_url":"https://api.github.com/repos/GregRos/Patchwork/issues/2/events","html_url":"https://github.com/GregRos/Patchwork/issues/2","id":106112559,"number":2,"title":"Patchwork problem with Generic/non-Generic method pair in source object","user":{"login":"tjayharvey","id":13974045,"avatar_url":"https://avatars.githubusercontent.com/u/13974045?v=3","gravatar_id":"","url":"https://api.github.com/users/tjayharvey","html_url":"https://github.com/tjayharvey","followers_url":"https://api.github.com/users/tjayharvey/followers","following_url":"https://api.github.com/users/tjayharvey/following{/other_user}","gists_url":"https://api.github.com/users/tjayharvey/gists{/gist_id}","starred_url":"https://api.github.com/users/tjayharvey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjayharvey/subscriptions","organizations_url":"https://api.github.com/users/tjayharvey/orgs","repos_url":"https://api.github.com/users/tjayharvey/repos","events_url":"https://api.github.com/users/tjayharvey/events{/privacy}","received_events_url":"https://api.github.com/users/tjayharvey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-11T23:34:48Z","updated_at":"2015-09-14T19:44:35Z","closed_at":null,"body":"Example (from IEMod): \r\n        [ModifiesMember(nameof(LoadPrefab))]\r\n        public static T mod_LoadPrefab<T>(string assetName, bool instantiate)\r\nwhere T : Object\r\n\r\nSource object has:\r\n    public static T LoadPrefab<T>(string assetName, bool instantiate)\r\n    where T : Object\r\nand\r\n    public static Object LoadPrefab(string prefabPath, bool instantiate)\r\n\r\nResult: InvalidOperation Exception, because GetMethodLike in CecilHelper is expecting to get exactly one result from the source object, but both methods from the source object are matching and it can't pick between them. I'd expect it instead to realize that since the mod method is templatized it should prefer the templatized source method."},"comment":{"url":"https://api.github.com/repos/GregRos/Patchwork/issues/comments/140186782","html_url":"https://github.com/GregRos/Patchwork/issues/2#issuecomment-140186782","issue_url":"https://api.github.com/repos/GregRos/Patchwork/issues/2","id":140186782,"user":{"login":"GregRos","id":1788329,"avatar_url":"https://avatars.githubusercontent.com/u/1788329?v=3","gravatar_id":"","url":"https://api.github.com/users/GregRos","html_url":"https://github.com/GregRos","followers_url":"https://api.github.com/users/GregRos/followers","following_url":"https://api.github.com/users/GregRos/following{/other_user}","gists_url":"https://api.github.com/users/GregRos/gists{/gist_id}","starred_url":"https://api.github.com/users/GregRos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GregRos/subscriptions","organizations_url":"https://api.github.com/users/GregRos/orgs","repos_url":"https://api.github.com/users/GregRos/repos","events_url":"https://api.github.com/users/GregRos/events{/privacy}","received_events_url":"https://api.github.com/users/GregRos/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T19:44:35Z","updated_at":"2015-09-14T19:44:35Z","body":"This should be fixed."}}