{"action":"created","comment":{"url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/pulls/comments/61078336","id":61078336,"diff_hunk":"@@ -61,6 +59,123 @@ public IAnyCallConfigurationWithNoReturnTypeSpecified CallTo(object fakeObject)\n             return this.configurationFactory.CreateAnyCallConfiguration(manager, rule);\r\n         }\r\n \r\n+        public IPropertySetterConfiguration<TValue> CallToSet<TValue>(Expression<Func<TValue>> propertySpecification)\r\n+        {\r\n+            Guard.AgainstNull(propertySpecification, nameof(propertySpecification));\r\n+            this.AssertThatMemberCanBeIntercepted(propertySpecification);\r\n+\r\n+            var setterExpression = BuildSetterFromGetter(propertySpecification);\r\n+\r\n+            return new PropertySetterConfiguration<TValue>(setterExpression, this.CreateVoidArgumentValidationConfiguration);\r\n+        }\r\n+\r\n+        private static string GetIndexerName(MethodCallExpression methodCallExpression)\r\n+        {\r\n+            if (methodCallExpression != null &&\r\n+                HasThis(methodCallExpression) &&\r\n+                methodCallExpression.Method.IsSpecialName)\r\n+            {\r\n+                var methodName = methodCallExpression.Method.Name;\r\n+                if (methodName.StartsWith(\"get_\", StringComparison.Ordinal))\r\n+                {\r\n+                    return methodName.Substring(4);\r","path":"src/FakeItEasy/Configuration/FakeConfigurationManager.cs","position":49,"original_position":49,"commit_id":"ce7bad8404c20076ece0fa60ce91845a1cd70d86","original_commit_id":"e7918307aa92a1d7e91730d61752a74f58f46cee","user":{"login":"thomaslevesque","id":1864281,"avatar_url":"https://avatars.githubusercontent.com/u/1864281?v=3","gravatar_id":"","url":"https://api.github.com/users/thomaslevesque","html_url":"https://github.com/thomaslevesque","followers_url":"https://api.github.com/users/thomaslevesque/followers","following_url":"https://api.github.com/users/thomaslevesque/following{/other_user}","gists_url":"https://api.github.com/users/thomaslevesque/gists{/gist_id}","starred_url":"https://api.github.com/users/thomaslevesque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomaslevesque/subscriptions","organizations_url":"https://api.github.com/users/thomaslevesque/orgs","repos_url":"https://api.github.com/users/thomaslevesque/repos","events_url":"https://api.github.com/users/thomaslevesque/events{/privacy}","received_events_url":"https://api.github.com/users/thomaslevesque/received_events","type":"User","site_admin":false},"body":"Yes, I guess that would work","created_at":"2016-04-26T12:45:57Z","updated_at":"2016-04-26T12:45:57Z","html_url":"https://github.com/FakeItEasy/FakeItEasy/pull/673#discussion_r61078336","pull_request_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/pulls/673","_links":{"self":{"href":"https://api.github.com/repos/FakeItEasy/FakeItEasy/pulls/comments/61078336"},"html":{"href":"https://github.com/FakeItEasy/FakeItEasy/pull/673#discussion_r61078336"},"pull_request":{"href":"https://api.github.com/repos/FakeItEasy/FakeItEasy/pulls/673"}}},"pull_request":{"url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/pulls/673","id":67327091,"html_url":"https://github.com/FakeItEasy/FakeItEasy/pull/673","diff_url":"https://github.com/FakeItEasy/FakeItEasy/pull/673.diff","patch_url":"https://github.com/FakeItEasy/FakeItEasy/pull/673.patch","issue_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/673","number":673,"state":"open","locked":false,"title":"[WIP] New property setter syntax","user":{"login":"blairconrad","id":3275797,"avatar_url":"https://avatars.githubusercontent.com/u/3275797?v=3","gravatar_id":"","url":"https://api.github.com/users/blairconrad","html_url":"https://github.com/blairconrad","followers_url":"https://api.github.com/users/blairconrad/followers","following_url":"https://api.github.com/users/blairconrad/following{/other_user}","gists_url":"https://api.github.com/users/blairconrad/gists{/gist_id}","starred_url":"https://api.github.com/users/blairconrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blairconrad/subscriptions","organizations_url":"https://api.github.com/users/blairconrad/orgs","repos_url":"https://api.github.com/users/blairconrad/repos","events_url":"https://api.github.com/users/blairconrad/events{/privacy}","received_events_url":"https://api.github.com/users/blairconrad/received_events","type":"User","site_admin":false},"body":"Fixes #175. Do not merge.","created_at":"2016-04-21T09:59:30Z","updated_at":"2016-04-26T12:45:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b88dfb23696cfb91aa75bdc1da2846bb363ae844","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/pulls/673/commits","review_comments_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/pulls/673/comments","review_comment_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/673/comments","statuses_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/statuses/ce7bad8404c20076ece0fa60ce91845a1cd70d86","head":{"label":"blairconrad:new-property-setter-syntax","ref":"new-property-setter-syntax","sha":"ce7bad8404c20076ece0fa60ce91845a1cd70d86","user":{"login":"blairconrad","id":3275797,"avatar_url":"https://avatars.githubusercontent.com/u/3275797?v=3","gravatar_id":"","url":"https://api.github.com/users/blairconrad","html_url":"https://github.com/blairconrad","followers_url":"https://api.github.com/users/blairconrad/followers","following_url":"https://api.github.com/users/blairconrad/following{/other_user}","gists_url":"https://api.github.com/users/blairconrad/gists{/gist_id}","starred_url":"https://api.github.com/users/blairconrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blairconrad/subscriptions","organizations_url":"https://api.github.com/users/blairconrad/orgs","repos_url":"https://api.github.com/users/blairconrad/repos","events_url":"https://api.github.com/users/blairconrad/events{/privacy}","received_events_url":"https://api.github.com/users/blairconrad/received_events","type":"User","site_admin":false},"repo":{"id":7626243,"name":"FakeItEasy","full_name":"blairconrad/FakeItEasy","owner":{"login":"blairconrad","id":3275797,"avatar_url":"https://avatars.githubusercontent.com/u/3275797?v=3","gravatar_id":"","url":"https://api.github.com/users/blairconrad","html_url":"https://github.com/blairconrad","followers_url":"https://api.github.com/users/blairconrad/followers","following_url":"https://api.github.com/users/blairconrad/following{/other_user}","gists_url":"https://api.github.com/users/blairconrad/gists{/gist_id}","starred_url":"https://api.github.com/users/blairconrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blairconrad/subscriptions","organizations_url":"https://api.github.com/users/blairconrad/orgs","repos_url":"https://api.github.com/users/blairconrad/repos","events_url":"https://api.github.com/users/blairconrad/events{/privacy}","received_events_url":"https://api.github.com/users/blairconrad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/blairconrad/FakeItEasy","description":"The easy mocking library for .Net","fork":true,"url":"https://api.github.com/repos/blairconrad/FakeItEasy","forks_url":"https://api.github.com/repos/blairconrad/FakeItEasy/forks","keys_url":"https://api.github.com/repos/blairconrad/FakeItEasy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blairconrad/FakeItEasy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blairconrad/FakeItEasy/teams","hooks_url":"https://api.github.com/repos/blairconrad/FakeItEasy/hooks","issue_events_url":"https://api.github.com/repos/blairconrad/FakeItEasy/issues/events{/number}","events_url":"https://api.github.com/repos/blairconrad/FakeItEasy/events","assignees_url":"https://api.github.com/repos/blairconrad/FakeItEasy/assignees{/user}","branches_url":"https://api.github.com/repos/blairconrad/FakeItEasy/branches{/branch}","tags_url":"https://api.github.com/repos/blairconrad/FakeItEasy/tags","blobs_url":"https://api.github.com/repos/blairconrad/FakeItEasy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blairconrad/FakeItEasy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blairconrad/FakeItEasy/git/refs{/sha}","trees_url":"https://api.github.com/repos/blairconrad/FakeItEasy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blairconrad/FakeItEasy/statuses/{sha}","languages_url":"https://api.github.com/repos/blairconrad/FakeItEasy/languages","stargazers_url":"https://api.github.com/repos/blairconrad/FakeItEasy/stargazers","contributors_url":"https://api.github.com/repos/blairconrad/FakeItEasy/contributors","subscribers_url":"https://api.github.com/repos/blairconrad/FakeItEasy/subscribers","subscription_url":"https://api.github.com/repos/blairconrad/FakeItEasy/subscription","commits_url":"https://api.github.com/repos/blairconrad/FakeItEasy/commits{/sha}","git_commits_url":"https://api.github.com/repos/blairconrad/FakeItEasy/git/commits{/sha}","comments_url":"https://api.github.com/repos/blairconrad/FakeItEasy/comments{/number}","issue_comment_url":"https://api.github.com/repos/blairconrad/FakeItEasy/issues/comments{/number}","contents_url":"https://api.github.com/repos/blairconrad/FakeItEasy/contents/{+path}","compare_url":"https://api.github.com/repos/blairconrad/FakeItEasy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blairconrad/FakeItEasy/merges","archive_url":"https://api.github.com/repos/blairconrad/FakeItEasy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blairconrad/FakeItEasy/downloads","issues_url":"https://api.github.com/repos/blairconrad/FakeItEasy/issues{/number}","pulls_url":"https://api.github.com/repos/blairconrad/FakeItEasy/pulls{/number}","milestones_url":"https://api.github.com/repos/blairconrad/FakeItEasy/milestones{/number}","notifications_url":"https://api.github.com/repos/blairconrad/FakeItEasy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blairconrad/FakeItEasy/labels{/name}","releases_url":"https://api.github.com/repos/blairconrad/FakeItEasy/releases{/id}","deployments_url":"https://api.github.com/repos/blairconrad/FakeItEasy/deployments","created_at":"2013-01-15T14:25:28Z","updated_at":"2015-05-06T00:19:03Z","pushed_at":"2016-04-26T10:57:13Z","git_url":"git://github.com/blairconrad/FakeItEasy.git","ssh_url":"git@github.com:blairconrad/FakeItEasy.git","clone_url":"https://github.com/blairconrad/FakeItEasy.git","svn_url":"https://github.com/blairconrad/FakeItEasy","homepage":"","size":17584,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"FakeItEasy:master","ref":"master","sha":"158e911027a61e4f3263c3537e1994945055a7a0","user":{"login":"FakeItEasy","id":1713521,"avatar_url":"https://avatars.githubusercontent.com/u/1713521?v=3","gravatar_id":"","url":"https://api.github.com/users/FakeItEasy","html_url":"https://github.com/FakeItEasy","followers_url":"https://api.github.com/users/FakeItEasy/followers","following_url":"https://api.github.com/users/FakeItEasy/following{/other_user}","gists_url":"https://api.github.com/users/FakeItEasy/gists{/gist_id}","starred_url":"https://api.github.com/users/FakeItEasy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FakeItEasy/subscriptions","organizations_url":"https://api.github.com/users/FakeItEasy/orgs","repos_url":"https://api.github.com/users/FakeItEasy/repos","events_url":"https://api.github.com/users/FakeItEasy/events{/privacy}","received_events_url":"https://api.github.com/users/FakeItEasy/received_events","type":"Organization","site_admin":false},"repo":{"id":1920133,"name":"FakeItEasy","full_name":"FakeItEasy/FakeItEasy","owner":{"login":"FakeItEasy","id":1713521,"avatar_url":"https://avatars.githubusercontent.com/u/1713521?v=3","gravatar_id":"","url":"https://api.github.com/users/FakeItEasy","html_url":"https://github.com/FakeItEasy","followers_url":"https://api.github.com/users/FakeItEasy/followers","following_url":"https://api.github.com/users/FakeItEasy/following{/other_user}","gists_url":"https://api.github.com/users/FakeItEasy/gists{/gist_id}","starred_url":"https://api.github.com/users/FakeItEasy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FakeItEasy/subscriptions","organizations_url":"https://api.github.com/users/FakeItEasy/orgs","repos_url":"https://api.github.com/users/FakeItEasy/repos","events_url":"https://api.github.com/users/FakeItEasy/events{/privacy}","received_events_url":"https://api.github.com/users/FakeItEasy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FakeItEasy/FakeItEasy","description":"The easy mocking library for .NET","fork":false,"url":"https://api.github.com/repos/FakeItEasy/FakeItEasy","forks_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/forks","keys_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/teams","hooks_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/hooks","issue_events_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/events{/number}","events_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/events","assignees_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/assignees{/user}","branches_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/branches{/branch}","tags_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/tags","blobs_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/git/refs{/sha}","trees_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/statuses/{sha}","languages_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/languages","stargazers_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/stargazers","contributors_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/contributors","subscribers_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/subscribers","subscription_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/subscription","commits_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/commits{/sha}","git_commits_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/git/commits{/sha}","comments_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/comments{/number}","issue_comment_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/comments{/number}","contents_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/contents/{+path}","compare_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/merges","archive_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/downloads","issues_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues{/number}","pulls_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/pulls{/number}","milestones_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/milestones{/number}","notifications_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/labels{/name}","releases_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/releases{/id}","deployments_url":"https://api.github.com/repos/FakeItEasy/FakeItEasy/deployments","created_at":"2011-06-19T17:56:01Z","updated_at":"2016-04-15T18:23:27Z","pushed_at":"2016-04-26T12:21:56Z","git_url":"git://github.com/FakeItEasy/FakeItEasy.git","ssh_url":"git@github.com:FakeItEasy/FakeItEasy.git","clone_url":"https://github.com/FakeItEasy/FakeItEasy.git","svn_url":"https://github.com/FakeItEasy/FakeItEasy","homepage":"fakeiteasy.github.io","size":18516,"stargazers_count":503,"watchers_count":503,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":107,"mirror_url":null,"open_issues_count":50,"forks":107,"open_issues":50,"watchers":503,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FakeItEasy/FakeItEasy/pulls/673"},"html":{"href":"https://github.com/FakeItEasy/FakeItEasy/pull/673"},"issue":{"href":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/673"},"comments":{"href":"https://api.github.com/repos/FakeItEasy/FakeItEasy/issues/673/comments"},"review_comments":{"href":"https://api.github.com/repos/FakeItEasy/FakeItEasy/pulls/673/comments"},"review_comment":{"href":"https://api.github.com/repos/FakeItEasy/FakeItEasy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FakeItEasy/FakeItEasy/pulls/673/commits"},"statuses":{"href":"https://api.github.com/repos/FakeItEasy/FakeItEasy/statuses/ce7bad8404c20076ece0fa60ce91845a1cd70d86"}}}}