{"action":"created","comment":{"url":"https://api.github.com/repos/ReactWindows/react-native-windows/pulls/comments/87661044","pull_request_review_id":8268547,"id":87661044,"diff_hunk":"@@ -17,12 +52,17 @@ public static void AssertOnDispatcher()\n \n         public static bool IsOnDispatcher()\n         {\n-            return Thread.CurrentThread == Dispatcher.CurrentDispatcher.Thread;\n+            if (CurrentDispatcher == null)\n+            {\n+                throw new NullReferenceException(\"Dispatcher has not been set\");\n+            }\n+\n+            return CurrentDispatcher.CheckAccess();\n         }\n \n         public static async void RunOnDispatcher(Action action)\n         {\n-            await Dispatcher.CurrentDispatcher.InvokeAsync(action).Task.ConfigureAwait(false);\n+            await CurrentDispatcher.InvokeAsync(action).Task.ConfigureAwait(false);","path":"ReactWindows/ReactNative.Net46/Bridge/DispatcherHelpers.cs","position":61,"original_position":61,"commit_id":"03508926f43877a9afb5d51736bb92af1d050a01","original_commit_id":"03508926f43877a9afb5d51736bb92af1d050a01","user":{"login":"rozele","id":1106239,"avatar_url":"https://avatars.githubusercontent.com/u/1106239?v=3","gravatar_id":"","url":"https://api.github.com/users/rozele","html_url":"https://github.com/rozele","followers_url":"https://api.github.com/users/rozele/followers","following_url":"https://api.github.com/users/rozele/following{/other_user}","gists_url":"https://api.github.com/users/rozele/gists{/gist_id}","starred_url":"https://api.github.com/users/rozele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rozele/subscriptions","organizations_url":"https://api.github.com/users/rozele/orgs","repos_url":"https://api.github.com/users/rozele/repos","events_url":"https://api.github.com/users/rozele/events{/privacy}","received_events_url":"https://api.github.com/users/rozele/received_events","type":"User","site_admin":false},"body":">CurrentDispatcher [](start = 18, length = 17)\r\n\r\nUse is AssertDispatcherSet","created_at":"2016-11-11T21:25:05Z","updated_at":"2016-11-11T21:25:05Z","html_url":"https://github.com/ReactWindows/react-native-windows/pull/868#discussion_r87661044","pull_request_url":"https://api.github.com/repos/ReactWindows/react-native-windows/pulls/868","_links":{"self":{"href":"https://api.github.com/repos/ReactWindows/react-native-windows/pulls/comments/87661044"},"html":{"href":"https://github.com/ReactWindows/react-native-windows/pull/868#discussion_r87661044"},"pull_request":{"href":"https://api.github.com/repos/ReactWindows/react-native-windows/pulls/868"}}},"pull_request":{"url":"https://api.github.com/repos/ReactWindows/react-native-windows/pulls/868","id":93053430,"html_url":"https://github.com/ReactWindows/react-native-windows/pull/868","diff_url":"https://github.com/ReactWindows/react-native-windows/pull/868.diff","patch_url":"https://github.com/ReactWindows/react-native-windows/pull/868.patch","issue_url":"https://api.github.com/repos/ReactWindows/react-native-windows/issues/868","number":868,"state":"open","locked":false,"title":"Implement Net46 Playground Application","user":{"login":"pre10der89","id":21279777,"avatar_url":"https://avatars.githubusercontent.com/u/21279777?v=3","gravatar_id":"","url":"https://api.github.com/users/pre10der89","html_url":"https://github.com/pre10der89","followers_url":"https://api.github.com/users/pre10der89/followers","following_url":"https://api.github.com/users/pre10der89/following{/other_user}","gists_url":"https://api.github.com/users/pre10der89/gists{/gist_id}","starred_url":"https://api.github.com/users/pre10der89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pre10der89/subscriptions","organizations_url":"https://api.github.com/users/pre10der89/orgs","repos_url":"https://api.github.com/users/pre10der89/repos","events_url":"https://api.github.com/users/pre10der89/events{/privacy}","received_events_url":"https://api.github.com/users/pre10der89/received_events","type":"User","site_admin":false},"body":"Implement the Net46 React Native Windows application.","created_at":"2016-11-09T22:43:57Z","updated_at":"2016-11-11T21:25:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c4ccdad36c8e650de993e681a0c67cf96eff5264","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ReactWindows/react-native-windows/pulls/868/commits","review_comments_url":"https://api.github.com/repos/ReactWindows/react-native-windows/pulls/868/comments","review_comment_url":"https://api.github.com/repos/ReactWindows/react-native-windows/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ReactWindows/react-native-windows/issues/868/comments","statuses_url":"https://api.github.com/repos/ReactWindows/react-native-windows/statuses/03508926f43877a9afb5d51736bb92af1d050a01","head":{"label":"pre10der89:playground-net46","ref":"playground-net46","sha":"03508926f43877a9afb5d51736bb92af1d050a01","user":{"login":"pre10der89","id":21279777,"avatar_url":"https://avatars.githubusercontent.com/u/21279777?v=3","gravatar_id":"","url":"https://api.github.com/users/pre10der89","html_url":"https://github.com/pre10der89","followers_url":"https://api.github.com/users/pre10der89/followers","following_url":"https://api.github.com/users/pre10der89/following{/other_user}","gists_url":"https://api.github.com/users/pre10der89/gists{/gist_id}","starred_url":"https://api.github.com/users/pre10der89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pre10der89/subscriptions","organizations_url":"https://api.github.com/users/pre10der89/orgs","repos_url":"https://api.github.com/users/pre10der89/repos","events_url":"https://api.github.com/users/pre10der89/events{/privacy}","received_events_url":"https://api.github.com/users/pre10der89/received_events","type":"User","site_admin":false},"repo":{"id":71837905,"name":"react-native-windows","full_name":"pre10der89/react-native-windows","owner":{"login":"pre10der89","id":21279777,"avatar_url":"https://avatars.githubusercontent.com/u/21279777?v=3","gravatar_id":"","url":"https://api.github.com/users/pre10der89","html_url":"https://github.com/pre10der89","followers_url":"https://api.github.com/users/pre10der89/followers","following_url":"https://api.github.com/users/pre10der89/following{/other_user}","gists_url":"https://api.github.com/users/pre10der89/gists{/gist_id}","starred_url":"https://api.github.com/users/pre10der89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pre10der89/subscriptions","organizations_url":"https://api.github.com/users/pre10der89/orgs","repos_url":"https://api.github.com/users/pre10der89/repos","events_url":"https://api.github.com/users/pre10der89/events{/privacy}","received_events_url":"https://api.github.com/users/pre10der89/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pre10der89/react-native-windows","description":"A framework for building native apps with React.","fork":true,"url":"https://api.github.com/repos/pre10der89/react-native-windows","forks_url":"https://api.github.com/repos/pre10der89/react-native-windows/forks","keys_url":"https://api.github.com/repos/pre10der89/react-native-windows/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pre10der89/react-native-windows/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pre10der89/react-native-windows/teams","hooks_url":"https://api.github.com/repos/pre10der89/react-native-windows/hooks","issue_events_url":"https://api.github.com/repos/pre10der89/react-native-windows/issues/events{/number}","events_url":"https://api.github.com/repos/pre10der89/react-native-windows/events","assignees_url":"https://api.github.com/repos/pre10der89/react-native-windows/assignees{/user}","branches_url":"https://api.github.com/repos/pre10der89/react-native-windows/branches{/branch}","tags_url":"https://api.github.com/repos/pre10der89/react-native-windows/tags","blobs_url":"https://api.github.com/repos/pre10der89/react-native-windows/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pre10der89/react-native-windows/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pre10der89/react-native-windows/git/refs{/sha}","trees_url":"https://api.github.com/repos/pre10der89/react-native-windows/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pre10der89/react-native-windows/statuses/{sha}","languages_url":"https://api.github.com/repos/pre10der89/react-native-windows/languages","stargazers_url":"https://api.github.com/repos/pre10der89/react-native-windows/stargazers","contributors_url":"https://api.github.com/repos/pre10der89/react-native-windows/contributors","subscribers_url":"https://api.github.com/repos/pre10der89/react-native-windows/subscribers","subscription_url":"https://api.github.com/repos/pre10der89/react-native-windows/subscription","commits_url":"https://api.github.com/repos/pre10der89/react-native-windows/commits{/sha}","git_commits_url":"https://api.github.com/repos/pre10der89/react-native-windows/git/commits{/sha}","comments_url":"https://api.github.com/repos/pre10der89/react-native-windows/comments{/number}","issue_comment_url":"https://api.github.com/repos/pre10der89/react-native-windows/issues/comments{/number}","contents_url":"https://api.github.com/repos/pre10der89/react-native-windows/contents/{+path}","compare_url":"https://api.github.com/repos/pre10der89/react-native-windows/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pre10der89/react-native-windows/merges","archive_url":"https://api.github.com/repos/pre10der89/react-native-windows/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pre10der89/react-native-windows/downloads","issues_url":"https://api.github.com/repos/pre10der89/react-native-windows/issues{/number}","pulls_url":"https://api.github.com/repos/pre10der89/react-native-windows/pulls{/number}","milestones_url":"https://api.github.com/repos/pre10der89/react-native-windows/milestones{/number}","notifications_url":"https://api.github.com/repos/pre10der89/react-native-windows/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pre10der89/react-native-windows/labels{/name}","releases_url":"https://api.github.com/repos/pre10der89/react-native-windows/releases{/id}","deployments_url":"https://api.github.com/repos/pre10der89/react-native-windows/deployments","created_at":"2016-10-24T22:37:33Z","updated_at":"2016-10-24T22:37:36Z","pushed_at":"2016-11-11T01:04:08Z","git_url":"git://github.com/pre10der89/react-native-windows.git","ssh_url":"git@github.com:pre10der89/react-native-windows.git","clone_url":"https://github.com/pre10der89/react-native-windows.git","svn_url":"https://github.com/pre10der89/react-native-windows","homepage":"http://facebook.github.io/react-native/","size":144737,"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":"ReactWindows:master","ref":"master","sha":"84abd17f54d533c4777660c6a09ae5dee4597028","user":{"login":"ReactWindows","id":18399765,"avatar_url":"https://avatars.githubusercontent.com/u/18399765?v=3","gravatar_id":"","url":"https://api.github.com/users/ReactWindows","html_url":"https://github.com/ReactWindows","followers_url":"https://api.github.com/users/ReactWindows/followers","following_url":"https://api.github.com/users/ReactWindows/following{/other_user}","gists_url":"https://api.github.com/users/ReactWindows/gists{/gist_id}","starred_url":"https://api.github.com/users/ReactWindows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReactWindows/subscriptions","organizations_url":"https://api.github.com/users/ReactWindows/orgs","repos_url":"https://api.github.com/users/ReactWindows/repos","events_url":"https://api.github.com/users/ReactWindows/events{/privacy}","received_events_url":"https://api.github.com/users/ReactWindows/received_events","type":"Organization","site_admin":false},"repo":{"id":48009214,"name":"react-native-windows","full_name":"ReactWindows/react-native-windows","owner":{"login":"ReactWindows","id":18399765,"avatar_url":"https://avatars.githubusercontent.com/u/18399765?v=3","gravatar_id":"","url":"https://api.github.com/users/ReactWindows","html_url":"https://github.com/ReactWindows","followers_url":"https://api.github.com/users/ReactWindows/followers","following_url":"https://api.github.com/users/ReactWindows/following{/other_user}","gists_url":"https://api.github.com/users/ReactWindows/gists{/gist_id}","starred_url":"https://api.github.com/users/ReactWindows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReactWindows/subscriptions","organizations_url":"https://api.github.com/users/ReactWindows/orgs","repos_url":"https://api.github.com/users/ReactWindows/repos","events_url":"https://api.github.com/users/ReactWindows/events{/privacy}","received_events_url":"https://api.github.com/users/ReactWindows/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ReactWindows/react-native-windows","description":"A framework for building native apps with React.","fork":false,"url":"https://api.github.com/repos/ReactWindows/react-native-windows","forks_url":"https://api.github.com/repos/ReactWindows/react-native-windows/forks","keys_url":"https://api.github.com/repos/ReactWindows/react-native-windows/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ReactWindows/react-native-windows/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ReactWindows/react-native-windows/teams","hooks_url":"https://api.github.com/repos/ReactWindows/react-native-windows/hooks","issue_events_url":"https://api.github.com/repos/ReactWindows/react-native-windows/issues/events{/number}","events_url":"https://api.github.com/repos/ReactWindows/react-native-windows/events","assignees_url":"https://api.github.com/repos/ReactWindows/react-native-windows/assignees{/user}","branches_url":"https://api.github.com/repos/ReactWindows/react-native-windows/branches{/branch}","tags_url":"https://api.github.com/repos/ReactWindows/react-native-windows/tags","blobs_url":"https://api.github.com/repos/ReactWindows/react-native-windows/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ReactWindows/react-native-windows/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ReactWindows/react-native-windows/git/refs{/sha}","trees_url":"https://api.github.com/repos/ReactWindows/react-native-windows/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ReactWindows/react-native-windows/statuses/{sha}","languages_url":"https://api.github.com/repos/ReactWindows/react-native-windows/languages","stargazers_url":"https://api.github.com/repos/ReactWindows/react-native-windows/stargazers","contributors_url":"https://api.github.com/repos/ReactWindows/react-native-windows/contributors","subscribers_url":"https://api.github.com/repos/ReactWindows/react-native-windows/subscribers","subscription_url":"https://api.github.com/repos/ReactWindows/react-native-windows/subscription","commits_url":"https://api.github.com/repos/ReactWindows/react-native-windows/commits{/sha}","git_commits_url":"https://api.github.com/repos/ReactWindows/react-native-windows/git/commits{/sha}","comments_url":"https://api.github.com/repos/ReactWindows/react-native-windows/comments{/number}","issue_comment_url":"https://api.github.com/repos/ReactWindows/react-native-windows/issues/comments{/number}","contents_url":"https://api.github.com/repos/ReactWindows/react-native-windows/contents/{+path}","compare_url":"https://api.github.com/repos/ReactWindows/react-native-windows/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ReactWindows/react-native-windows/merges","archive_url":"https://api.github.com/repos/ReactWindows/react-native-windows/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ReactWindows/react-native-windows/downloads","issues_url":"https://api.github.com/repos/ReactWindows/react-native-windows/issues{/number}","pulls_url":"https://api.github.com/repos/ReactWindows/react-native-windows/pulls{/number}","milestones_url":"https://api.github.com/repos/ReactWindows/react-native-windows/milestones{/number}","notifications_url":"https://api.github.com/repos/ReactWindows/react-native-windows/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ReactWindows/react-native-windows/labels{/name}","releases_url":"https://api.github.com/repos/ReactWindows/react-native-windows/releases{/id}","deployments_url":"https://api.github.com/repos/ReactWindows/react-native-windows/deployments","created_at":"2015-12-15T00:16:54Z","updated_at":"2016-11-11T15:08:45Z","pushed_at":"2016-11-11T17:50:46Z","git_url":"git://github.com/ReactWindows/react-native-windows.git","ssh_url":"git@github.com:ReactWindows/react-native-windows.git","clone_url":"https://github.com/ReactWindows/react-native-windows.git","svn_url":"https://github.com/ReactWindows/react-native-windows","homepage":"http://facebook.github.io/react-native/","size":171275,"stargazers_count":1180,"watchers_count":1180,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":94,"mirror_url":null,"open_issues_count":123,"forks":94,"open_issues":123,"watchers":1180,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ReactWindows/react-native-windows/pulls/868"},"html":{"href":"https://github.com/ReactWindows/react-native-windows/pull/868"},"issue":{"href":"https://api.github.com/repos/ReactWindows/react-native-windows/issues/868"},"comments":{"href":"https://api.github.com/repos/ReactWindows/react-native-windows/issues/868/comments"},"review_comments":{"href":"https://api.github.com/repos/ReactWindows/react-native-windows/pulls/868/comments"},"review_comment":{"href":"https://api.github.com/repos/ReactWindows/react-native-windows/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ReactWindows/react-native-windows/pulls/868/commits"},"statuses":{"href":"https://api.github.com/repos/ReactWindows/react-native-windows/statuses/03508926f43877a9afb5d51736bb92af1d050a01"}}}}
{"actor":{"display_login":"rozele"}}