{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/1611","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/1611/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/1611/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/1611/events","html_url":"https://github.com/dotnet/roslyn/issues/1611","id":64521338,"number":1611,"title":"[Proposal] Allow methods named Invoke to be invoked without the method name.","user":{"login":"erik-kallen","id":688028,"avatar_url":"https://avatars.githubusercontent.com/u/688028?v=3","gravatar_id":"","url":"https://api.github.com/users/erik-kallen","html_url":"https://github.com/erik-kallen","followers_url":"https://api.github.com/users/erik-kallen/followers","following_url":"https://api.github.com/users/erik-kallen/following{/other_user}","gists_url":"https://api.github.com/users/erik-kallen/gists{/gist_id}","starred_url":"https://api.github.com/users/erik-kallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erik-kallen/subscriptions","organizations_url":"https://api.github.com/users/erik-kallen/orgs","repos_url":"https://api.github.com/users/erik-kallen/repos","events_url":"https://api.github.com/users/erik-kallen/events{/privacy}","received_events_url":"https://api.github.com/users/erik-kallen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/3%20-%20Working","name":"3 - Working","color":"CCCCCC"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Language%20Design","name":"Area-Language Design","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"gafter","id":3804346,"avatar_url":"https://avatars.githubusercontent.com/u/3804346?v=3","gravatar_id":"","url":"https://api.github.com/users/gafter","html_url":"https://github.com/gafter","followers_url":"https://api.github.com/users/gafter/followers","following_url":"https://api.github.com/users/gafter/following{/other_user}","gists_url":"https://api.github.com/users/gafter/gists{/gist_id}","starred_url":"https://api.github.com/users/gafter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gafter/subscriptions","organizations_url":"https://api.github.com/users/gafter/orgs","repos_url":"https://api.github.com/users/gafter/repos","events_url":"https://api.github.com/users/gafter/events{/privacy}","received_events_url":"https://api.github.com/users/gafter/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2015-03-26T13:02:40Z","updated_at":"2015-03-27T21:23:27Z","closed_at":null,"body":"It would be neat that, given\r\n\r\n```\r\nclass C {\r\n    public void Invoke(int a) {\r\n    }\r\n}\r\n...\r\nvar c = new C();\r\n```\r\n\r\nyou could write ``` c(42)``` instead of ```c.Invoke(42)```. This would be a generalization of the pattern that is currently only valid for delegates do be allowed for all objects."},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/87096377","html_url":"https://github.com/dotnet/roslyn/issues/1611#issuecomment-87096377","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/1611","id":87096377,"user":{"login":"gafter","id":3804346,"avatar_url":"https://avatars.githubusercontent.com/u/3804346?v=3","gravatar_id":"","url":"https://api.github.com/users/gafter","html_url":"https://github.com/gafter","followers_url":"https://api.github.com/users/gafter/followers","following_url":"https://api.github.com/users/gafter/following{/other_user}","gists_url":"https://api.github.com/users/gafter/gists{/gist_id}","starred_url":"https://api.github.com/users/gafter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gafter/subscriptions","organizations_url":"https://api.github.com/users/gafter/orgs","repos_url":"https://api.github.com/users/gafter/repos","events_url":"https://api.github.com/users/gafter/events{/privacy}","received_events_url":"https://api.github.com/users/gafter/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T21:23:27Z","updated_at":"2015-03-27T21:23:27Z","body":"I don't see why this would be neat. ELI5.\r\n\r\nIt seems like indexers gets you the syntactic convenience without making the code confusing."}}