{"action":"created","issue":{"url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/172","labels_url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/172/comments","events_url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/172/events","html_url":"https://github.com/retailcoder/Rubberduck/issues/172","id":57038374,"number":172,"title":"Method extraction should move declarations to new method","user":{"login":"retailcoder","id":5751684,"avatar_url":"https://avatars.githubusercontent.com/u/5751684?v=3","gravatar_id":"","url":"https://api.github.com/users/retailcoder","html_url":"https://github.com/retailcoder","followers_url":"https://api.github.com/users/retailcoder/followers","following_url":"https://api.github.com/users/retailcoder/following{/other_user}","gists_url":"https://api.github.com/users/retailcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/retailcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retailcoder/subscriptions","organizations_url":"https://api.github.com/users/retailcoder/orgs","repos_url":"https://api.github.com/users/retailcoder/repos","events_url":"https://api.github.com/users/retailcoder/events{/privacy}","received_events_url":"https://api.github.com/users/retailcoder/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/retailcoder/Rubberduck/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/retailcoder/Rubberduck/labels/refactorings","name":"refactorings","color":"DDDDDd"}],"state":"closed","locked":false,"assignee":{"login":"retailcoder","id":5751684,"avatar_url":"https://avatars.githubusercontent.com/u/5751684?v=3","gravatar_id":"","url":"https://api.github.com/users/retailcoder","html_url":"https://github.com/retailcoder","followers_url":"https://api.github.com/users/retailcoder/followers","following_url":"https://api.github.com/users/retailcoder/following{/other_user}","gists_url":"https://api.github.com/users/retailcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/retailcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retailcoder/subscriptions","organizations_url":"https://api.github.com/users/retailcoder/orgs","repos_url":"https://api.github.com/users/retailcoder/repos","events_url":"https://api.github.com/users/retailcoder/events{/privacy}","received_events_url":"https://api.github.com/users/retailcoder/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/retailcoder/Rubberduck/milestones/15","labels_url":"https://api.github.com/repos/retailcoder/Rubberduck/milestones/15/labels","id":972997,"number":15,"title":"Version 1.2","description":"This version includes massive changes to the parsing strategy, and a few of the perks that these changes enable.","creator":{"login":"retailcoder","id":5751684,"avatar_url":"https://avatars.githubusercontent.com/u/5751684?v=3","gravatar_id":"","url":"https://api.github.com/users/retailcoder","html_url":"https://github.com/retailcoder","followers_url":"https://api.github.com/users/retailcoder/followers","following_url":"https://api.github.com/users/retailcoder/following{/other_user}","gists_url":"https://api.github.com/users/retailcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/retailcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retailcoder/subscriptions","organizations_url":"https://api.github.com/users/retailcoder/orgs","repos_url":"https://api.github.com/users/retailcoder/repos","events_url":"https://api.github.com/users/retailcoder/events{/privacy}","received_events_url":"https://api.github.com/users/retailcoder/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":12,"state":"open","created_at":"2015-02-10T02:54:55Z","updated_at":"2015-02-11T06:49:12Z","due_on":"2015-03-01T05:00:00Z","closed_at":null},"comments":1,"created_at":"2015-02-09T14:38:32Z","updated_at":"2015-02-11T06:52:09Z","closed_at":"2015-02-11T06:48:13Z","body":"Method body is currently just copied from selection. In the FizzBuzz example, constants `fizz` and `buzz` are left unused in the original method.\r\n\r\nA constant or variable that is only used in the selection should not be passed as a parameter, but declared in the extracted method; declarations left unused should be removed from original method."},"comment":{"url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/comments/73840467","html_url":"https://github.com/retailcoder/Rubberduck/issues/172#issuecomment-73840467","issue_url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/172","id":73840467,"user":{"login":"retailcoder","id":5751684,"avatar_url":"https://avatars.githubusercontent.com/u/5751684?v=3","gravatar_id":"","url":"https://api.github.com/users/retailcoder","html_url":"https://github.com/retailcoder","followers_url":"https://api.github.com/users/retailcoder/followers","following_url":"https://api.github.com/users/retailcoder/following{/other_user}","gists_url":"https://api.github.com/users/retailcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/retailcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retailcoder/subscriptions","organizations_url":"https://api.github.com/users/retailcoder/orgs","repos_url":"https://api.github.com/users/retailcoder/repos","events_url":"https://api.github.com/users/retailcoder/events{/privacy}","received_events_url":"https://api.github.com/users/retailcoder/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T06:52:09Z","updated_at":"2015-02-11T06:52:09Z","body":"Declarations left unused can be cleaned up with a code inspection that looks for unused declarations. Closing this issue - cleaning up the source method would be a bonus, but the C# code needs some serious tune-up first."}}