{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/wpf/pulls/comments/238938374","pull_request_review_id":181599953,"id":238938374,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODkzODM3NA==","diff_hunk":"@@ -190,11 +185,7 @@ public virtual object Instance\n         {\n             get\n             {\n-                if (this.currentXamlNode.NodeType == XamlNodeType.StartObject)\n-                {\n-                    return this.currentInstance;\n-                }\n-                return null;\n+                return this.currentXamlNode.NodeType == XamlNodeType.StartObject ? this.currentInstance : null;","path":"src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/XamlObjectReader.cs","position":38,"original_position":38,"commit_id":"20ca0306cc1cd0ecba46a267f0842fc5daf6a7b7","original_commit_id":"20ca0306cc1cd0ecba46a267f0842fc5daf6a7b7","user":{"login":"batzen","id":1971030,"node_id":"MDQ6VXNlcjE5NzEwMzA=","avatar_url":"https://avatars0.githubusercontent.com/u/1971030?v=4","gravatar_id":"","url":"https://api.github.com/users/batzen","html_url":"https://github.com/batzen","followers_url":"https://api.github.com/users/batzen/followers","following_url":"https://api.github.com/users/batzen/following{/other_user}","gists_url":"https://api.github.com/users/batzen/gists{/gist_id}","starred_url":"https://api.github.com/users/batzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batzen/subscriptions","organizations_url":"https://api.github.com/users/batzen/orgs","repos_url":"https://api.github.com/users/batzen/repos","events_url":"https://api.github.com/users/batzen/events{/privacy}","received_events_url":"https://api.github.com/users/batzen/received_events","type":"User","site_admin":false},"body":"Adding additional \"(\" only adds noise, IMHO.","created_at":"2018-12-05T05:53:46Z","updated_at":"2018-12-05T05:53:46Z","html_url":"https://github.com/dotnet/wpf/pull/73#discussion_r238938374","pull_request_url":"https://api.github.com/repos/dotnet/wpf/pulls/73","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/dotnet/wpf/pulls/comments/238938374"},"html":{"href":"https://github.com/dotnet/wpf/pull/73#discussion_r238938374"},"pull_request":{"href":"https://api.github.com/repos/dotnet/wpf/pulls/73"}},"in_reply_to_id":238896033},"pull_request":{"url":"https://api.github.com/repos/dotnet/wpf/pulls/73","id":235988029,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1OTg4MDI5","html_url":"https://github.com/dotnet/wpf/pull/73","diff_url":"https://github.com/dotnet/wpf/pull/73.diff","patch_url":"https://github.com/dotnet/wpf/pull/73.patch","issue_url":"https://api.github.com/repos/dotnet/wpf/issues/73","number":73,"state":"open","locked":false,"title":"Simplify some syntax constructions in XamlObjectReader","user":{"login":"AndreyAkinshin","id":2259237,"node_id":"MDQ6VXNlcjIyNTkyMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/2259237?v=4","gravatar_id":"","url":"https://api.github.com/users/AndreyAkinshin","html_url":"https://github.com/AndreyAkinshin","followers_url":"https://api.github.com/users/AndreyAkinshin/followers","following_url":"https://api.github.com/users/AndreyAkinshin/following{/other_user}","gists_url":"https://api.github.com/users/AndreyAkinshin/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreyAkinshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreyAkinshin/subscriptions","organizations_url":"https://api.github.com/users/AndreyAkinshin/orgs","repos_url":"https://api.github.com/users/AndreyAkinshin/repos","events_url":"https://api.github.com/users/AndreyAkinshin/events{/privacy}","received_events_url":"https://api.github.com/users/AndreyAkinshin/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-04T22:53:17Z","updated_at":"2018-12-05T05:53:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4c12b997dfd0b4eeaed57f7d592dd0ff9af77b2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/wpf/pulls/73/commits","review_comments_url":"https://api.github.com/repos/dotnet/wpf/pulls/73/comments","review_comment_url":"https://api.github.com/repos/dotnet/wpf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/wpf/issues/73/comments","statuses_url":"https://api.github.com/repos/dotnet/wpf/statuses/20ca0306cc1cd0ecba46a267f0842fc5daf6a7b7","head":{"label":"AndreyAkinshin:XamlObjectReader","ref":"XamlObjectReader","sha":"20ca0306cc1cd0ecba46a267f0842fc5daf6a7b7","user":{"login":"AndreyAkinshin","id":2259237,"node_id":"MDQ6VXNlcjIyNTkyMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/2259237?v=4","gravatar_id":"","url":"https://api.github.com/users/AndreyAkinshin","html_url":"https://github.com/AndreyAkinshin","followers_url":"https://api.github.com/users/AndreyAkinshin/followers","following_url":"https://api.github.com/users/AndreyAkinshin/following{/other_user}","gists_url":"https://api.github.com/users/AndreyAkinshin/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreyAkinshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreyAkinshin/subscriptions","organizations_url":"https://api.github.com/users/AndreyAkinshin/orgs","repos_url":"https://api.github.com/users/AndreyAkinshin/repos","events_url":"https://api.github.com/users/AndreyAkinshin/events{/privacy}","received_events_url":"https://api.github.com/users/AndreyAkinshin/received_events","type":"User","site_admin":false},"repo":{"id":160403541,"node_id":"MDEwOlJlcG9zaXRvcnkxNjA0MDM1NDE=","name":"wpf","full_name":"AndreyAkinshin/wpf","private":false,"owner":{"login":"AndreyAkinshin","id":2259237,"node_id":"MDQ6VXNlcjIyNTkyMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/2259237?v=4","gravatar_id":"","url":"https://api.github.com/users/AndreyAkinshin","html_url":"https://github.com/AndreyAkinshin","followers_url":"https://api.github.com/users/AndreyAkinshin/followers","following_url":"https://api.github.com/users/AndreyAkinshin/following{/other_user}","gists_url":"https://api.github.com/users/AndreyAkinshin/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreyAkinshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreyAkinshin/subscriptions","organizations_url":"https://api.github.com/users/AndreyAkinshin/orgs","repos_url":"https://api.github.com/users/AndreyAkinshin/repos","events_url":"https://api.github.com/users/AndreyAkinshin/events{/privacy}","received_events_url":"https://api.github.com/users/AndreyAkinshin/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AndreyAkinshin/wpf","description":"This repo contains Windows Presentation Foundation (WPF) for .NET Core","fork":true,"url":"https://api.github.com/repos/AndreyAkinshin/wpf","forks_url":"https://api.github.com/repos/AndreyAkinshin/wpf/forks","keys_url":"https://api.github.com/repos/AndreyAkinshin/wpf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndreyAkinshin/wpf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndreyAkinshin/wpf/teams","hooks_url":"https://api.github.com/repos/AndreyAkinshin/wpf/hooks","issue_events_url":"https://api.github.com/repos/AndreyAkinshin/wpf/issues/events{/number}","events_url":"https://api.github.com/repos/AndreyAkinshin/wpf/events","assignees_url":"https://api.github.com/repos/AndreyAkinshin/wpf/assignees{/user}","branches_url":"https://api.github.com/repos/AndreyAkinshin/wpf/branches{/branch}","tags_url":"https://api.github.com/repos/AndreyAkinshin/wpf/tags","blobs_url":"https://api.github.com/repos/AndreyAkinshin/wpf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndreyAkinshin/wpf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndreyAkinshin/wpf/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndreyAkinshin/wpf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndreyAkinshin/wpf/statuses/{sha}","languages_url":"https://api.github.com/repos/AndreyAkinshin/wpf/languages","stargazers_url":"https://api.github.com/repos/AndreyAkinshin/wpf/stargazers","contributors_url":"https://api.github.com/repos/AndreyAkinshin/wpf/contributors","subscribers_url":"https://api.github.com/repos/AndreyAkinshin/wpf/subscribers","subscription_url":"https://api.github.com/repos/AndreyAkinshin/wpf/subscription","commits_url":"https://api.github.com/repos/AndreyAkinshin/wpf/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndreyAkinshin/wpf/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndreyAkinshin/wpf/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndreyAkinshin/wpf/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndreyAkinshin/wpf/contents/{+path}","compare_url":"https://api.github.com/repos/AndreyAkinshin/wpf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndreyAkinshin/wpf/merges","archive_url":"https://api.github.com/repos/AndreyAkinshin/wpf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndreyAkinshin/wpf/downloads","issues_url":"https://api.github.com/repos/AndreyAkinshin/wpf/issues{/number}","pulls_url":"https://api.github.com/repos/AndreyAkinshin/wpf/pulls{/number}","milestones_url":"https://api.github.com/repos/AndreyAkinshin/wpf/milestones{/number}","notifications_url":"https://api.github.com/repos/AndreyAkinshin/wpf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndreyAkinshin/wpf/labels{/name}","releases_url":"https://api.github.com/repos/AndreyAkinshin/wpf/releases{/id}","deployments_url":"https://api.github.com/repos/AndreyAkinshin/wpf/deployments","created_at":"2018-12-04T18:46:18Z","updated_at":"2018-12-04T20:16:18Z","pushed_at":"2018-12-04T22:52:20Z","git_url":"git://github.com/AndreyAkinshin/wpf.git","ssh_url":"git@github.com:AndreyAkinshin/wpf.git","clone_url":"https://github.com/AndreyAkinshin/wpf.git","svn_url":"https://github.com/AndreyAkinshin/wpf","homepage":"","size":948,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"b919183e0894f26bf2404b49bfe631bc33df110f","user":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":153711945,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM3MTE5NDU=","name":"wpf","full_name":"dotnet/wpf","private":false,"owner":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dotnet/wpf","description":"This repo contains Windows Presentation Foundation (WPF) for .NET Core","fork":false,"url":"https://api.github.com/repos/dotnet/wpf","forks_url":"https://api.github.com/repos/dotnet/wpf/forks","keys_url":"https://api.github.com/repos/dotnet/wpf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/wpf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/wpf/teams","hooks_url":"https://api.github.com/repos/dotnet/wpf/hooks","issue_events_url":"https://api.github.com/repos/dotnet/wpf/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/wpf/events","assignees_url":"https://api.github.com/repos/dotnet/wpf/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/wpf/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/wpf/tags","blobs_url":"https://api.github.com/repos/dotnet/wpf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/wpf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/wpf/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/wpf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/wpf/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/wpf/languages","stargazers_url":"https://api.github.com/repos/dotnet/wpf/stargazers","contributors_url":"https://api.github.com/repos/dotnet/wpf/contributors","subscribers_url":"https://api.github.com/repos/dotnet/wpf/subscribers","subscription_url":"https://api.github.com/repos/dotnet/wpf/subscription","commits_url":"https://api.github.com/repos/dotnet/wpf/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/wpf/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/wpf/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/wpf/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/wpf/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/wpf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/wpf/merges","archive_url":"https://api.github.com/repos/dotnet/wpf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/wpf/downloads","issues_url":"https://api.github.com/repos/dotnet/wpf/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/wpf/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/wpf/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/wpf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/wpf/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/wpf/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/wpf/deployments","created_at":"2018-10-19T01:55:23Z","updated_at":"2018-12-05T05:53:34Z","pushed_at":"2018-12-05T04:27:54Z","git_url":"git://github.com/dotnet/wpf.git","ssh_url":"git@github.com:dotnet/wpf.git","clone_url":"https://github.com/dotnet/wpf.git","svn_url":"https://github.com/dotnet/wpf","homepage":"","size":1089,"stargazers_count":935,"watchers_count":935,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":49,"mirror_url":null,"archived":false,"open_issues_count":24,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":49,"open_issues":24,"watchers":935,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/wpf/pulls/73"},"html":{"href":"https://github.com/dotnet/wpf/pull/73"},"issue":{"href":"https://api.github.com/repos/dotnet/wpf/issues/73"},"comments":{"href":"https://api.github.com/repos/dotnet/wpf/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/wpf/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/wpf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/wpf/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/wpf/statuses/20ca0306cc1cd0ecba46a267f0842fc5daf6a7b7"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"batzen"}}