{"action":"created","comment":{"url":"https://api.github.com/repos/gluck/il-repack/pulls/comments/31389110","id":31389110,"diff_hunk":"@@ -467,7 +468,7 @@ private object ImportCustomAttributeValue(object obj, IGenericParameterProvider\n             if (obj is CustomAttributeArgument)\n                 return Copy((CustomAttributeArgument)obj, context);\n             if (obj is CustomAttributeArgument[])\n-                return ((CustomAttributeArgument[])obj).Select(a => Copy(a, context)).ToArray();\n+                return ((CustomAttributeArgument[])obj).Clone(a => Copy(a, context));","path":"ILRepack/ILRepack.cs","position":13,"original_position":13,"commit_id":"6f52dd595dacb735f74e197c9ff291d3e8fc7f86","original_commit_id":"6f52dd595dacb735f74e197c9ff291d3e8fc7f86","user":{"login":"hazzik","id":144791,"avatar_url":"https://avatars.githubusercontent.com/u/144791?v=3","gravatar_id":"","url":"https://api.github.com/users/hazzik","html_url":"https://github.com/hazzik","followers_url":"https://api.github.com/users/hazzik/followers","following_url":"https://api.github.com/users/hazzik/following{/other_user}","gists_url":"https://api.github.com/users/hazzik/gists{/gist_id}","starred_url":"https://api.github.com/users/hazzik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hazzik/subscriptions","organizations_url":"https://api.github.com/users/hazzik/orgs","repos_url":"https://api.github.com/users/hazzik/repos","events_url":"https://api.github.com/users/hazzik/events{/privacy}","received_events_url":"https://api.github.com/users/hazzik/received_events","type":"User","site_admin":false},"body":"You can use `Array.ConvertAll` here, which does exactly this","created_at":"2015-05-31T11:02:45Z","updated_at":"2015-05-31T11:02:45Z","html_url":"https://github.com/gluck/il-repack/pull/104#discussion_r31389110","pull_request_url":"https://api.github.com/repos/gluck/il-repack/pulls/104","_links":{"self":{"href":"https://api.github.com/repos/gluck/il-repack/pulls/comments/31389110"},"html":{"href":"https://github.com/gluck/il-repack/pull/104#discussion_r31389110"},"pull_request":{"href":"https://api.github.com/repos/gluck/il-repack/pulls/104"}}},"pull_request":{"url":"https://api.github.com/repos/gluck/il-repack/pulls/104","id":36579989,"html_url":"https://github.com/gluck/il-repack/pull/104","diff_url":"https://github.com/gluck/il-repack/pull/104.diff","patch_url":"https://github.com/gluck/il-repack/pull/104.patch","issue_url":"https://api.github.com/repos/gluck/il-repack/issues/104","number":104,"state":"open","locked":false,"title":"Perf topic:","user":{"login":"gluck","id":604263,"avatar_url":"https://avatars.githubusercontent.com/u/604263?v=3","gravatar_id":"","url":"https://api.github.com/users/gluck","html_url":"https://github.com/gluck","followers_url":"https://api.github.com/users/gluck/followers","following_url":"https://api.github.com/users/gluck/following{/other_user}","gists_url":"https://api.github.com/users/gluck/gists{/gist_id}","starred_url":"https://api.github.com/users/gluck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gluck/subscriptions","organizations_url":"https://api.github.com/users/gluck/orgs","repos_url":"https://api.github.com/users/gluck/repos","events_url":"https://api.github.com/users/gluck/events{/privacy}","received_events_url":"https://api.github.com/users/gluck/received_events","type":"User","site_admin":false},"body":"- bump .Net to 4\r\n- change dict key to a struct to reduce allocation\r\n- remove deprecated cecil calls\r\n- small array helper (performs better than linq)","created_at":"2015-05-31T10:14:43Z","updated_at":"2015-05-31T11:02:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d5c17a7c96dc12840c5d5e596cab43d2de36e7a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gluck/il-repack/pulls/104/commits","review_comments_url":"https://api.github.com/repos/gluck/il-repack/pulls/104/comments","review_comment_url":"https://api.github.com/repos/gluck/il-repack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gluck/il-repack/issues/104/comments","statuses_url":"https://api.github.com/repos/gluck/il-repack/statuses/6f52dd595dacb735f74e197c9ff291d3e8fc7f86","head":{"label":"gluck:perfs","ref":"perfs","sha":"6f52dd595dacb735f74e197c9ff291d3e8fc7f86","user":{"login":"gluck","id":604263,"avatar_url":"https://avatars.githubusercontent.com/u/604263?v=3","gravatar_id":"","url":"https://api.github.com/users/gluck","html_url":"https://github.com/gluck","followers_url":"https://api.github.com/users/gluck/followers","following_url":"https://api.github.com/users/gluck/following{/other_user}","gists_url":"https://api.github.com/users/gluck/gists{/gist_id}","starred_url":"https://api.github.com/users/gluck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gluck/subscriptions","organizations_url":"https://api.github.com/users/gluck/orgs","repos_url":"https://api.github.com/users/gluck/repos","events_url":"https://api.github.com/users/gluck/events{/privacy}","received_events_url":"https://api.github.com/users/gluck/received_events","type":"User","site_admin":false},"repo":{"id":2613965,"name":"il-repack","full_name":"gluck/il-repack","owner":{"login":"gluck","id":604263,"avatar_url":"https://avatars.githubusercontent.com/u/604263?v=3","gravatar_id":"","url":"https://api.github.com/users/gluck","html_url":"https://github.com/gluck","followers_url":"https://api.github.com/users/gluck/followers","following_url":"https://api.github.com/users/gluck/following{/other_user}","gists_url":"https://api.github.com/users/gluck/gists{/gist_id}","starred_url":"https://api.github.com/users/gluck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gluck/subscriptions","organizations_url":"https://api.github.com/users/gluck/orgs","repos_url":"https://api.github.com/users/gluck/repos","events_url":"https://api.github.com/users/gluck/events{/privacy}","received_events_url":"https://api.github.com/users/gluck/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gluck/il-repack","description":"Open-source alternative to ILMerge","fork":false,"url":"https://api.github.com/repos/gluck/il-repack","forks_url":"https://api.github.com/repos/gluck/il-repack/forks","keys_url":"https://api.github.com/repos/gluck/il-repack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gluck/il-repack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gluck/il-repack/teams","hooks_url":"https://api.github.com/repos/gluck/il-repack/hooks","issue_events_url":"https://api.github.com/repos/gluck/il-repack/issues/events{/number}","events_url":"https://api.github.com/repos/gluck/il-repack/events","assignees_url":"https://api.github.com/repos/gluck/il-repack/assignees{/user}","branches_url":"https://api.github.com/repos/gluck/il-repack/branches{/branch}","tags_url":"https://api.github.com/repos/gluck/il-repack/tags","blobs_url":"https://api.github.com/repos/gluck/il-repack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gluck/il-repack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gluck/il-repack/git/refs{/sha}","trees_url":"https://api.github.com/repos/gluck/il-repack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gluck/il-repack/statuses/{sha}","languages_url":"https://api.github.com/repos/gluck/il-repack/languages","stargazers_url":"https://api.github.com/repos/gluck/il-repack/stargazers","contributors_url":"https://api.github.com/repos/gluck/il-repack/contributors","subscribers_url":"https://api.github.com/repos/gluck/il-repack/subscribers","subscription_url":"https://api.github.com/repos/gluck/il-repack/subscription","commits_url":"https://api.github.com/repos/gluck/il-repack/commits{/sha}","git_commits_url":"https://api.github.com/repos/gluck/il-repack/git/commits{/sha}","comments_url":"https://api.github.com/repos/gluck/il-repack/comments{/number}","issue_comment_url":"https://api.github.com/repos/gluck/il-repack/issues/comments{/number}","contents_url":"https://api.github.com/repos/gluck/il-repack/contents/{+path}","compare_url":"https://api.github.com/repos/gluck/il-repack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gluck/il-repack/merges","archive_url":"https://api.github.com/repos/gluck/il-repack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gluck/il-repack/downloads","issues_url":"https://api.github.com/repos/gluck/il-repack/issues{/number}","pulls_url":"https://api.github.com/repos/gluck/il-repack/pulls{/number}","milestones_url":"https://api.github.com/repos/gluck/il-repack/milestones{/number}","notifications_url":"https://api.github.com/repos/gluck/il-repack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gluck/il-repack/labels{/name}","releases_url":"https://api.github.com/repos/gluck/il-repack/releases{/id}","created_at":"2011-10-20T15:16:20Z","updated_at":"2015-05-30T17:39:39Z","pushed_at":"2015-05-31T10:14:43Z","git_url":"git://github.com/gluck/il-repack.git","ssh_url":"git@github.com:gluck/il-repack.git","clone_url":"https://github.com/gluck/il-repack.git","svn_url":"https://github.com/gluck/il-repack","homepage":"","size":2673,"stargazers_count":191,"watchers_count":191,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"open_issues_count":27,"forks":43,"open_issues":27,"watchers":191,"default_branch":"master"}},"base":{"label":"gluck:master","ref":"master","sha":"ff5871d50f8ab75472c15e0019f7e4bbac345058","user":{"login":"gluck","id":604263,"avatar_url":"https://avatars.githubusercontent.com/u/604263?v=3","gravatar_id":"","url":"https://api.github.com/users/gluck","html_url":"https://github.com/gluck","followers_url":"https://api.github.com/users/gluck/followers","following_url":"https://api.github.com/users/gluck/following{/other_user}","gists_url":"https://api.github.com/users/gluck/gists{/gist_id}","starred_url":"https://api.github.com/users/gluck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gluck/subscriptions","organizations_url":"https://api.github.com/users/gluck/orgs","repos_url":"https://api.github.com/users/gluck/repos","events_url":"https://api.github.com/users/gluck/events{/privacy}","received_events_url":"https://api.github.com/users/gluck/received_events","type":"User","site_admin":false},"repo":{"id":2613965,"name":"il-repack","full_name":"gluck/il-repack","owner":{"login":"gluck","id":604263,"avatar_url":"https://avatars.githubusercontent.com/u/604263?v=3","gravatar_id":"","url":"https://api.github.com/users/gluck","html_url":"https://github.com/gluck","followers_url":"https://api.github.com/users/gluck/followers","following_url":"https://api.github.com/users/gluck/following{/other_user}","gists_url":"https://api.github.com/users/gluck/gists{/gist_id}","starred_url":"https://api.github.com/users/gluck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gluck/subscriptions","organizations_url":"https://api.github.com/users/gluck/orgs","repos_url":"https://api.github.com/users/gluck/repos","events_url":"https://api.github.com/users/gluck/events{/privacy}","received_events_url":"https://api.github.com/users/gluck/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gluck/il-repack","description":"Open-source alternative to ILMerge","fork":false,"url":"https://api.github.com/repos/gluck/il-repack","forks_url":"https://api.github.com/repos/gluck/il-repack/forks","keys_url":"https://api.github.com/repos/gluck/il-repack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gluck/il-repack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gluck/il-repack/teams","hooks_url":"https://api.github.com/repos/gluck/il-repack/hooks","issue_events_url":"https://api.github.com/repos/gluck/il-repack/issues/events{/number}","events_url":"https://api.github.com/repos/gluck/il-repack/events","assignees_url":"https://api.github.com/repos/gluck/il-repack/assignees{/user}","branches_url":"https://api.github.com/repos/gluck/il-repack/branches{/branch}","tags_url":"https://api.github.com/repos/gluck/il-repack/tags","blobs_url":"https://api.github.com/repos/gluck/il-repack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gluck/il-repack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gluck/il-repack/git/refs{/sha}","trees_url":"https://api.github.com/repos/gluck/il-repack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gluck/il-repack/statuses/{sha}","languages_url":"https://api.github.com/repos/gluck/il-repack/languages","stargazers_url":"https://api.github.com/repos/gluck/il-repack/stargazers","contributors_url":"https://api.github.com/repos/gluck/il-repack/contributors","subscribers_url":"https://api.github.com/repos/gluck/il-repack/subscribers","subscription_url":"https://api.github.com/repos/gluck/il-repack/subscription","commits_url":"https://api.github.com/repos/gluck/il-repack/commits{/sha}","git_commits_url":"https://api.github.com/repos/gluck/il-repack/git/commits{/sha}","comments_url":"https://api.github.com/repos/gluck/il-repack/comments{/number}","issue_comment_url":"https://api.github.com/repos/gluck/il-repack/issues/comments{/number}","contents_url":"https://api.github.com/repos/gluck/il-repack/contents/{+path}","compare_url":"https://api.github.com/repos/gluck/il-repack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gluck/il-repack/merges","archive_url":"https://api.github.com/repos/gluck/il-repack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gluck/il-repack/downloads","issues_url":"https://api.github.com/repos/gluck/il-repack/issues{/number}","pulls_url":"https://api.github.com/repos/gluck/il-repack/pulls{/number}","milestones_url":"https://api.github.com/repos/gluck/il-repack/milestones{/number}","notifications_url":"https://api.github.com/repos/gluck/il-repack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gluck/il-repack/labels{/name}","releases_url":"https://api.github.com/repos/gluck/il-repack/releases{/id}","created_at":"2011-10-20T15:16:20Z","updated_at":"2015-05-30T17:39:39Z","pushed_at":"2015-05-31T10:14:43Z","git_url":"git://github.com/gluck/il-repack.git","ssh_url":"git@github.com:gluck/il-repack.git","clone_url":"https://github.com/gluck/il-repack.git","svn_url":"https://github.com/gluck/il-repack","homepage":"","size":2673,"stargazers_count":191,"watchers_count":191,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"open_issues_count":27,"forks":43,"open_issues":27,"watchers":191,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gluck/il-repack/pulls/104"},"html":{"href":"https://github.com/gluck/il-repack/pull/104"},"issue":{"href":"https://api.github.com/repos/gluck/il-repack/issues/104"},"comments":{"href":"https://api.github.com/repos/gluck/il-repack/issues/104/comments"},"review_comments":{"href":"https://api.github.com/repos/gluck/il-repack/pulls/104/comments"},"review_comment":{"href":"https://api.github.com/repos/gluck/il-repack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gluck/il-repack/pulls/104/commits"},"statuses":{"href":"https://api.github.com/repos/gluck/il-repack/statuses/6f52dd595dacb735f74e197c9ff291d3e8fc7f86"}}}}