{"action":"opened","issue":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/681","labels_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/681/labels{/name}","comments_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/681/comments","events_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/681/events","html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/681","id":70280383,"number":681,"title":"NullReferenceException in SA1114 (ParameterListMustFollowDeclaration)","user":{"login":"sharwell","id":1408396,"avatar_url":"https://avatars.githubusercontent.com/u/1408396?v=3","gravatar_id":"","url":"https://api.github.com/users/sharwell","html_url":"https://github.com/sharwell","followers_url":"https://api.github.com/users/sharwell/followers","following_url":"https://api.github.com/users/sharwell/following{/other_user}","gists_url":"https://api.github.com/users/sharwell/gists{/gist_id}","starred_url":"https://api.github.com/users/sharwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharwell/subscriptions","organizations_url":"https://api.github.com/users/sharwell/orgs","repos_url":"https://api.github.com/users/sharwell/repos","events_url":"https://api.github.com/users/sharwell/events{/privacy}","received_events_url":"https://api.github.com/users/sharwell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"macpak","id":1065792,"avatar_url":"https://avatars.githubusercontent.com/u/1065792?v=3","gravatar_id":"","url":"https://api.github.com/users/macpak","html_url":"https://github.com/macpak","followers_url":"https://api.github.com/users/macpak/followers","following_url":"https://api.github.com/users/macpak/following{/other_user}","gists_url":"https://api.github.com/users/macpak/gists{/gist_id}","starred_url":"https://api.github.com/users/macpak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macpak/subscriptions","organizations_url":"https://api.github.com/users/macpak/orgs","repos_url":"https://api.github.com/users/macpak/repos","events_url":"https://api.github.com/users/macpak/events{/privacy}","received_events_url":"https://api.github.com/users/macpak/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/milestones/6","html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/milestones/1.0.0%20Alpha%205","labels_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/milestones/6/labels","id":996186,"number":6,"title":"1.0.0 Alpha 5","description":"","creator":{"login":"sharwell","id":1408396,"avatar_url":"https://avatars.githubusercontent.com/u/1408396?v=3","gravatar_id":"","url":"https://api.github.com/users/sharwell","html_url":"https://github.com/sharwell","followers_url":"https://api.github.com/users/sharwell/followers","following_url":"https://api.github.com/users/sharwell/following{/other_user}","gists_url":"https://api.github.com/users/sharwell/gists{/gist_id}","starred_url":"https://api.github.com/users/sharwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharwell/subscriptions","organizations_url":"https://api.github.com/users/sharwell/orgs","repos_url":"https://api.github.com/users/sharwell/repos","events_url":"https://api.github.com/users/sharwell/events{/privacy}","received_events_url":"https://api.github.com/users/sharwell/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":169,"state":"open","created_at":"2015-02-26T02:13:28Z","updated_at":"2015-04-23T01:54:44Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-04-23T01:54:44Z","updated_at":"2015-04-23T01:54:44Z","closed_at":null,"body":"Currently SA1114 throws an `ArgumentNullException` in code containing an `AnonymousMethodExpressionSyntax` without parentheses. For example, the following code from the System.Collections.Immutable codebase produces this result:\r\n\r\n```csharp\r\nvar task1 = Task.Run(delegate\r\n{\r\n    int transform1ExecutionCounter = 0;\r\n    func(\r\n        ref set,\r\n        s =>\r\n        {\r\n            Assert.Equal(1, ++transform1ExecutionCounter);\r\n            task2TransformEntered.WaitOne();\r\n            return s.Add(1);\r\n        });\r\n    task1TransformExited.Set();\r\n    Assert.Equal(1, transform1ExecutionCounter);\r\n});\r\n```"}}