{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/2225","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/2225/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/2225/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/2225/events","html_url":"https://github.com/dotnet/roslyn/issues/2225","id":70543115,"number":2225,"title":"EnC crash - rename of captured local","user":{"login":"amcasey","id":10508071,"avatar_url":"https://avatars.githubusercontent.com/u/10508071?v=3","gravatar_id":"","url":"https://api.github.com/users/amcasey","html_url":"https://github.com/amcasey","followers_url":"https://api.github.com/users/amcasey/followers","following_url":"https://api.github.com/users/amcasey/following{/other_user}","gists_url":"https://api.github.com/users/amcasey/gists{/gist_id}","starred_url":"https://api.github.com/users/amcasey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcasey/subscriptions","organizations_url":"https://api.github.com/users/amcasey/orgs","repos_url":"https://api.github.com/users/amcasey/repos","events_url":"https://api.github.com/users/amcasey/events{/privacy}","received_events_url":"https://api.github.com/users/amcasey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Interactive","name":"Area-Interactive","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/Interactive-EnC","name":"Interactive-EnC","color":"207de5"}],"state":"closed","locked":false,"assignee":{"login":"tmat","id":41759,"avatar_url":"https://avatars.githubusercontent.com/u/41759?v=3","gravatar_id":"","url":"https://api.github.com/users/tmat","html_url":"https://github.com/tmat","followers_url":"https://api.github.com/users/tmat/followers","following_url":"https://api.github.com/users/tmat/following{/other_user}","gists_url":"https://api.github.com/users/tmat/gists{/gist_id}","starred_url":"https://api.github.com/users/tmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmat/subscriptions","organizations_url":"https://api.github.com/users/tmat/orgs","repos_url":"https://api.github.com/users/tmat/repos","events_url":"https://api.github.com/users/tmat/events{/privacy}","received_events_url":"https://api.github.com/users/tmat/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-04-23T23:49:33Z","updated_at":"2015-04-23T23:53:36Z","closed_at":"2015-04-23T23:53:36Z","body":"Run to breakpoint.  Rename f1 to g1 (ignore rename conflicts - #1729).\r\n\r\n```\r\nusing System;\r\nusing System.Collections.Generic;\r\nusing System.Diagnostics;\r\nusing System.Linq;\r\nusing System.Text;\r\nusing System.Threading.Tasks;\r\n\r\nnamespace ConsoleApplication3\r\n{\r\n    class Program\r\n    {\r\n        int x = 1;\r\n\r\n        static void Main(string[] args)\r\n        {\r\n            Program p = new Program() { x = 2 };\r\n            p.M(y: 3);\r\n\r\n        }\r\n\r\n        void M(int y)\r\n        {\r\n            Func<int> f1 = () => y;\r\n            Func<int, long> f2 = z => f1() + z;\r\n            Func<int, byte> f3 = z => (byte)(f2(y) + z);\r\n            Func<byte> f4;\r\n            if (f1() != f2(f3(y)))\r\n            {\r\n                byte b = 2;\r\n                Func<Func<int>, Func<byte>> f5 = f => () => (byte)(f3(f()) + b);\r\n                f4 = f5(f1);\r\n            }\r\n            else\r\n            {\r\n                long l = 4;\r\n                f4 = () => (byte)f2(y + (int)l);\r\n            }\r\n\r\n            Debugger.Break();\r\n            Console.WriteLine(f4());\r\n        }\r\n    }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/95752690","html_url":"https://github.com/dotnet/roslyn/issues/2225#issuecomment-95752690","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/2225","id":95752690,"user":{"login":"amcasey","id":10508071,"avatar_url":"https://avatars.githubusercontent.com/u/10508071?v=3","gravatar_id":"","url":"https://api.github.com/users/amcasey","html_url":"https://github.com/amcasey","followers_url":"https://api.github.com/users/amcasey/followers","following_url":"https://api.github.com/users/amcasey/following{/other_user}","gists_url":"https://api.github.com/users/amcasey/gists{/gist_id}","starred_url":"https://api.github.com/users/amcasey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcasey/subscriptions","organizations_url":"https://api.github.com/users/amcasey/orgs","repos_url":"https://api.github.com/users/amcasey/repos","events_url":"https://api.github.com/users/amcasey/events{/privacy}","received_events_url":"https://api.github.com/users/amcasey/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T23:53:36Z","updated_at":"2015-04-23T23:53:36Z","body":"I believe it's a dup."}}