{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/38993973","id":38993973,"diff_hunk":"@@ -32,12 +32,12 @@ public static bool MatchesKind(this SyntaxTrivia trivia, params SyntaxKind[] kin\n \n         public static bool IsRegularComment(this SyntaxTrivia trivia)\n         {\n-            return trivia.IsSingleLineComment() || trivia.IsMultiLineComment();\n+            return trivia.IsSingleLineComment() || trivia.IsMultiLineComment() || trivia.IsShebangComment();","path":"src/Workspaces/CSharp/Portable/Extensions/SyntaxTriviaExtensions.cs","position":5,"original_position":5,"commit_id":"31e5cc8646847b8a69d3bbb052cf5a4c041d77ef","original_commit_id":"10efda8e4759fa7f706141657f32a7da81fe571b","user":{"login":"CyrusNajmabadi","id":4564579,"avatar_url":"https://avatars.githubusercontent.com/u/4564579?v=3","gravatar_id":"","url":"https://api.github.com/users/CyrusNajmabadi","html_url":"https://github.com/CyrusNajmabadi","followers_url":"https://api.github.com/users/CyrusNajmabadi/followers","following_url":"https://api.github.com/users/CyrusNajmabadi/following{/other_user}","gists_url":"https://api.github.com/users/CyrusNajmabadi/gists{/gist_id}","starred_url":"https://api.github.com/users/CyrusNajmabadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyrusNajmabadi/subscriptions","organizations_url":"https://api.github.com/users/CyrusNajmabadi/orgs","repos_url":"https://api.github.com/users/CyrusNajmabadi/repos","events_url":"https://api.github.com/users/CyrusNajmabadi/events{/privacy}","received_events_url":"https://api.github.com/users/CyrusNajmabadi/received_events","type":"User","site_admin":false},"body":"ShebangCommentTrivia seems like the wrong name.  It should be ShebangTrivia.","created_at":"2015-09-08T23:49:43Z","updated_at":"2015-09-08T23:49:43Z","html_url":"https://github.com/dotnet/roslyn/pull/5019#discussion_r38993973","pull_request_url":"https://api.github.com/repos/dotnet/roslyn/pulls/5019","_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/38993973"},"html":{"href":"https://github.com/dotnet/roslyn/pull/5019#discussion_r38993973"},"pull_request":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/5019"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/5019","id":44263207,"html_url":"https://github.com/dotnet/roslyn/pull/5019","diff_url":"https://github.com/dotnet/roslyn/pull/5019.diff","patch_url":"https://github.com/dotnet/roslyn/pull/5019.patch","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/5019","number":5019,"state":"open","locked":false,"title":"properly classify shebang comments in the IDE","user":{"login":"brettfo","id":926281,"avatar_url":"https://avatars.githubusercontent.com/u/926281?v=3","gravatar_id":"","url":"https://api.github.com/users/brettfo","html_url":"https://github.com/brettfo","followers_url":"https://api.github.com/users/brettfo/followers","following_url":"https://api.github.com/users/brettfo/following{/other_user}","gists_url":"https://api.github.com/users/brettfo/gists{/gist_id}","starred_url":"https://api.github.com/users/brettfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettfo/subscriptions","organizations_url":"https://api.github.com/users/brettfo/orgs","repos_url":"https://api.github.com/users/brettfo/repos","events_url":"https://api.github.com/users/brettfo/events{/privacy}","received_events_url":"https://api.github.com/users/brettfo/received_events","type":"User","site_admin":false},"body":"Building off of PR #4470, this ensures the file-leading shebang comment is classified as trivia so it gets colorized in the IDE.\r\n\r\nTagging @Pilchie @dpoeschl @jasonmalinowski @rchande @balajikris @CyrusNajmabadi @jmarolf @davkean @KevinH-MS for review.","created_at":"2015-09-04T21:27:30Z","updated_at":"2015-09-08T23:49:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"559780f653ded885645cfe33ee933a68175f2300","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/roslyn/pulls/5019/commits","review_comments_url":"https://api.github.com/repos/dotnet/roslyn/pulls/5019/comments","review_comment_url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/5019/comments","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/31e5cc8646847b8a69d3bbb052cf5a4c041d77ef","head":{"label":"brettfo:classify-shebang","ref":"classify-shebang","sha":"31e5cc8646847b8a69d3bbb052cf5a4c041d77ef","user":{"login":"brettfo","id":926281,"avatar_url":"https://avatars.githubusercontent.com/u/926281?v=3","gravatar_id":"","url":"https://api.github.com/users/brettfo","html_url":"https://github.com/brettfo","followers_url":"https://api.github.com/users/brettfo/followers","following_url":"https://api.github.com/users/brettfo/following{/other_user}","gists_url":"https://api.github.com/users/brettfo/gists{/gist_id}","starred_url":"https://api.github.com/users/brettfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettfo/subscriptions","organizations_url":"https://api.github.com/users/brettfo/orgs","repos_url":"https://api.github.com/users/brettfo/repos","events_url":"https://api.github.com/users/brettfo/events{/privacy}","received_events_url":"https://api.github.com/users/brettfo/received_events","type":"User","site_admin":false},"repo":{"id":30557497,"name":"roslyn","full_name":"brettfo/roslyn","owner":{"login":"brettfo","id":926281,"avatar_url":"https://avatars.githubusercontent.com/u/926281?v=3","gravatar_id":"","url":"https://api.github.com/users/brettfo","html_url":"https://github.com/brettfo","followers_url":"https://api.github.com/users/brettfo/followers","following_url":"https://api.github.com/users/brettfo/following{/other_user}","gists_url":"https://api.github.com/users/brettfo/gists{/gist_id}","starred_url":"https://api.github.com/users/brettfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettfo/subscriptions","organizations_url":"https://api.github.com/users/brettfo/orgs","repos_url":"https://api.github.com/users/brettfo/repos","events_url":"https://api.github.com/users/brettfo/events{/privacy}","received_events_url":"https://api.github.com/users/brettfo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brettfo/roslyn","description":"The .NET Compiler Platform (\"Roslyn\") provides open-source C# and Visual Basic compilers with rich code analysis APIs.","fork":true,"url":"https://api.github.com/repos/brettfo/roslyn","forks_url":"https://api.github.com/repos/brettfo/roslyn/forks","keys_url":"https://api.github.com/repos/brettfo/roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brettfo/roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brettfo/roslyn/teams","hooks_url":"https://api.github.com/repos/brettfo/roslyn/hooks","issue_events_url":"https://api.github.com/repos/brettfo/roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/brettfo/roslyn/events","assignees_url":"https://api.github.com/repos/brettfo/roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/brettfo/roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/brettfo/roslyn/tags","blobs_url":"https://api.github.com/repos/brettfo/roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brettfo/roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brettfo/roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/brettfo/roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brettfo/roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/brettfo/roslyn/languages","stargazers_url":"https://api.github.com/repos/brettfo/roslyn/stargazers","contributors_url":"https://api.github.com/repos/brettfo/roslyn/contributors","subscribers_url":"https://api.github.com/repos/brettfo/roslyn/subscribers","subscription_url":"https://api.github.com/repos/brettfo/roslyn/subscription","commits_url":"https://api.github.com/repos/brettfo/roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/brettfo/roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/brettfo/roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/brettfo/roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/brettfo/roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/brettfo/roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brettfo/roslyn/merges","archive_url":"https://api.github.com/repos/brettfo/roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brettfo/roslyn/downloads","issues_url":"https://api.github.com/repos/brettfo/roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/brettfo/roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/brettfo/roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/brettfo/roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brettfo/roslyn/labels{/name}","releases_url":"https://api.github.com/repos/brettfo/roslyn/releases{/id}","created_at":"2015-02-09T20:43:48Z","updated_at":"2015-05-06T18:17:34Z","pushed_at":"2015-09-08T23:27:43Z","git_url":"git://github.com/brettfo/roslyn.git","ssh_url":"git@github.com:brettfo/roslyn.git","clone_url":"https://github.com/brettfo/roslyn.git","svn_url":"https://github.com/brettfo/roslyn","homepage":"","size":93541,"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":"dotnet:master","ref":"master","sha":"1bd00171058e231a88d566c149b17baa91f595b3","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","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":29078997,"name":"roslyn","full_name":"dotnet/roslyn","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","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},"private":false,"html_url":"https://github.com/dotnet/roslyn","description":"The .NET Compiler Platform (\"Roslyn\") provides open-source C# and Visual Basic compilers with rich code analysis APIs.","fork":false,"url":"https://api.github.com/repos/dotnet/roslyn","forks_url":"https://api.github.com/repos/dotnet/roslyn/forks","keys_url":"https://api.github.com/repos/dotnet/roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/roslyn/teams","hooks_url":"https://api.github.com/repos/dotnet/roslyn/hooks","issue_events_url":"https://api.github.com/repos/dotnet/roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/roslyn/events","assignees_url":"https://api.github.com/repos/dotnet/roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/roslyn/tags","blobs_url":"https://api.github.com/repos/dotnet/roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/roslyn/languages","stargazers_url":"https://api.github.com/repos/dotnet/roslyn/stargazers","contributors_url":"https://api.github.com/repos/dotnet/roslyn/contributors","subscribers_url":"https://api.github.com/repos/dotnet/roslyn/subscribers","subscription_url":"https://api.github.com/repos/dotnet/roslyn/subscription","commits_url":"https://api.github.com/repos/dotnet/roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/roslyn/merges","archive_url":"https://api.github.com/repos/dotnet/roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/roslyn/downloads","issues_url":"https://api.github.com/repos/dotnet/roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/roslyn/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/roslyn/releases{/id}","created_at":"2015-01-11T02:39:03Z","updated_at":"2015-09-08T20:47:43Z","pushed_at":"2015-09-08T23:40:47Z","git_url":"git://github.com/dotnet/roslyn.git","ssh_url":"git@github.com:dotnet/roslyn.git","clone_url":"https://github.com/dotnet/roslyn.git","svn_url":"https://github.com/dotnet/roslyn","homepage":"","size":185437,"stargazers_count":3216,"watchers_count":3216,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":742,"mirror_url":null,"open_issues_count":1444,"forks":742,"open_issues":1444,"watchers":3216,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/5019"},"html":{"href":"https://github.com/dotnet/roslyn/pull/5019"},"issue":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/5019"},"comments":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/5019/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/5019/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/5019/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/roslyn/statuses/31e5cc8646847b8a69d3bbb052cf5a4c041d77ef"}}}}