{"action":"closed","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/12280","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/12280/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/12280/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/12280/events","html_url":"https://github.com/dotnet/roslyn/issues/12280","id":162928708,"number":12280,"title":"Line feeds break parsing of local methods","user":{"login":"TessenR","id":5566206,"avatar_url":"https://avatars.githubusercontent.com/u/5566206?v=3","gravatar_id":"","url":"https://api.github.com/users/TessenR","html_url":"https://github.com/TessenR","followers_url":"https://api.github.com/users/TessenR/followers","following_url":"https://api.github.com/users/TessenR/following{/other_user}","gists_url":"https://api.github.com/users/TessenR/gists{/gist_id}","starred_url":"https://api.github.com/users/TessenR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TessenR/subscriptions","organizations_url":"https://api.github.com/users/TessenR/orgs","repos_url":"https://api.github.com/users/TessenR/repos","events_url":"https://api.github.com/users/TessenR/events{/privacy}","received_events_url":"https://api.github.com/users/TessenR/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Compilers","name":"Area-Compilers","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/New%20Language%20Feature%20-%20Local%20Functions","name":"New Language Feature - Local Functions","color":"bfd4f2"}],"state":"closed","locked":false,"assignee":{"login":"agocke","id":515774,"avatar_url":"https://avatars.githubusercontent.com/u/515774?v=3","gravatar_id":"","url":"https://api.github.com/users/agocke","html_url":"https://github.com/agocke","followers_url":"https://api.github.com/users/agocke/followers","following_url":"https://api.github.com/users/agocke/following{/other_user}","gists_url":"https://api.github.com/users/agocke/gists{/gist_id}","starred_url":"https://api.github.com/users/agocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agocke/subscriptions","organizations_url":"https://api.github.com/users/agocke/orgs","repos_url":"https://api.github.com/users/agocke/repos","events_url":"https://api.github.com/users/agocke/events{/privacy}","received_events_url":"https://api.github.com/users/agocke/received_events","type":"User","site_admin":false},"assignees":[{"login":"agocke","id":515774,"avatar_url":"https://avatars.githubusercontent.com/u/515774?v=3","gravatar_id":"","url":"https://api.github.com/users/agocke","html_url":"https://github.com/agocke","followers_url":"https://api.github.com/users/agocke/followers","following_url":"https://api.github.com/users/agocke/following{/other_user}","gists_url":"https://api.github.com/users/agocke/gists{/gist_id}","starred_url":"https://api.github.com/users/agocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agocke/subscriptions","organizations_url":"https://api.github.com/users/agocke/orgs","repos_url":"https://api.github.com/users/agocke/repos","events_url":"https://api.github.com/users/agocke/events{/privacy}","received_events_url":"https://api.github.com/users/agocke/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/16","html_url":"https://github.com/dotnet/roslyn/milestones/2.0%20(RTM)","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/16/labels","id":1571384,"number":16,"title":"2.0 (RTM)","description":"","creator":{"login":"davkean","id":1103906,"avatar_url":"https://avatars.githubusercontent.com/u/1103906?v=3","gravatar_id":"","url":"https://api.github.com/users/davkean","html_url":"https://github.com/davkean","followers_url":"https://api.github.com/users/davkean/followers","following_url":"https://api.github.com/users/davkean/following{/other_user}","gists_url":"https://api.github.com/users/davkean/gists{/gist_id}","starred_url":"https://api.github.com/users/davkean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davkean/subscriptions","organizations_url":"https://api.github.com/users/davkean/orgs","repos_url":"https://api.github.com/users/davkean/repos","events_url":"https://api.github.com/users/davkean/events{/privacy}","received_events_url":"https://api.github.com/users/davkean/received_events","type":"User","site_admin":false},"open_issues":271,"closed_issues":37,"state":"open","created_at":"2016-02-08T21:54:04Z","updated_at":"2016-08-30T23:08:58Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-06-29T13:43:09Z","updated_at":"2016-08-30T23:08:58Z","closed_at":"2016-08-30T23:08:58Z","body":"Line feeds between a local method's return type and its name prevent it from being parsed as a valid local method.\r\n\r\nDue to this issue code could be easily broken by formatting.\r\n\r\nTest code included at the bottom of this report.\r\n\r\n![local functions parsing](https://cloud.githubusercontent.com/assets/5566206/16453603/0f4a5754-3e16-11e6-9d8d-d55c4acdcff1.png)\r\n\r\n```cs\r\nclass Bug\r\n{\r\n    static void Main()\r\n    {\r\n        int\r\n            foo() => 5;\r\n\r\n        int bar() => 5;\r\n    }\r\n}\r\n````"}}
{"actor":{"display_login":"agocke"}}