{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/dotnet-apiport/pulls/comments/46843016","id":46843016,"diff_hunk":"@@ -0,0 +1,33 @@\n+﻿// Copyright (c) Microsoft. All rights reserved.\n+// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n+\n+using Xunit;\n+\n+namespace Microsoft.Fx.Portability.Tests\n+{\n+    public class BreakingChangeTests\n+    {\n+        [Fact]\n+        public void EqualityTests()\n+        {\n+            var breakingChangeSame1 = new BreakingChange { Id = \"id1\" };\n+            var breakingChangeSame2 = new BreakingChange { Id = \"id1\" };\n+            var breakingChangeDifferent1 = new BreakingChange { Id = \"ID1\" };\n+            var breakingChangeDifferent2 = new BreakingChange { Id = \"id2\" };","path":"tests/Microsoft.Fx.Portability.Tests/BreakingChangeTests.cs","position":16,"original_position":16,"commit_id":"1fad5ff16eb78d566c7b77dabcd678b3b063d43a","original_commit_id":"1fad5ff16eb78d566c7b77dabcd678b3b063d43a","user":{"login":"mjrousos","id":10077254,"avatar_url":"https://avatars.githubusercontent.com/u/10077254?v=3","gravatar_id":"","url":"https://api.github.com/users/mjrousos","html_url":"https://github.com/mjrousos","followers_url":"https://api.github.com/users/mjrousos/followers","following_url":"https://api.github.com/users/mjrousos/following{/other_user}","gists_url":"https://api.github.com/users/mjrousos/gists{/gist_id}","starred_url":"https://api.github.com/users/mjrousos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjrousos/subscriptions","organizations_url":"https://api.github.com/users/mjrousos/orgs","repos_url":"https://api.github.com/users/mjrousos/repos","events_url":"https://api.github.com/users/mjrousos/events{/privacy}","received_events_url":"https://api.github.com/users/mjrousos/received_events","type":"User","site_admin":false},"body":"Since the equality is case sensitive (which I think is probably correct), we should maybe add a test case to confirm that id1 and ID1 are not equal (just to make sure that behavior isn't inadvertently changed in the future).","created_at":"2015-12-07T16:39:07Z","updated_at":"2015-12-07T16:39:07Z","html_url":"https://github.com/Microsoft/dotnet-apiport/pull/222#discussion_r46843016","pull_request_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/pulls/222","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/dotnet-apiport/pulls/comments/46843016"},"html":{"href":"https://github.com/Microsoft/dotnet-apiport/pull/222#discussion_r46843016"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/dotnet-apiport/pulls/222"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/dotnet-apiport/pulls/222","id":52867572,"html_url":"https://github.com/Microsoft/dotnet-apiport/pull/222","diff_url":"https://github.com/Microsoft/dotnet-apiport/pull/222.diff","patch_url":"https://github.com/Microsoft/dotnet-apiport/pull/222.patch","issue_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/issues/222","number":222,"state":"open","locked":false,"title":"Override GetHashCode and Equals in BreakingChange class","user":{"login":"twsouthwick","id":583206,"avatar_url":"https://avatars.githubusercontent.com/u/583206?v=3","gravatar_id":"","url":"https://api.github.com/users/twsouthwick","html_url":"https://github.com/twsouthwick","followers_url":"https://api.github.com/users/twsouthwick/followers","following_url":"https://api.github.com/users/twsouthwick/following{/other_user}","gists_url":"https://api.github.com/users/twsouthwick/gists{/gist_id}","starred_url":"https://api.github.com/users/twsouthwick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twsouthwick/subscriptions","organizations_url":"https://api.github.com/users/twsouthwick/orgs","repos_url":"https://api.github.com/users/twsouthwick/repos","events_url":"https://api.github.com/users/twsouthwick/events{/privacy}","received_events_url":"https://api.github.com/users/twsouthwick/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-07T16:34:42Z","updated_at":"2015-12-07T16:39:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e805684b1c912a24e04b89b9eba52b0b6950cfef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/pulls/222/commits","review_comments_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/pulls/222/comments","review_comment_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/issues/222/comments","statuses_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/statuses/1fad5ff16eb78d566c7b77dabcd678b3b063d43a","head":{"label":"twsouthwick:breakingchange-hashcode","ref":"breakingchange-hashcode","sha":"1fad5ff16eb78d566c7b77dabcd678b3b063d43a","user":{"login":"twsouthwick","id":583206,"avatar_url":"https://avatars.githubusercontent.com/u/583206?v=3","gravatar_id":"","url":"https://api.github.com/users/twsouthwick","html_url":"https://github.com/twsouthwick","followers_url":"https://api.github.com/users/twsouthwick/followers","following_url":"https://api.github.com/users/twsouthwick/following{/other_user}","gists_url":"https://api.github.com/users/twsouthwick/gists{/gist_id}","starred_url":"https://api.github.com/users/twsouthwick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twsouthwick/subscriptions","organizations_url":"https://api.github.com/users/twsouthwick/orgs","repos_url":"https://api.github.com/users/twsouthwick/repos","events_url":"https://api.github.com/users/twsouthwick/events{/privacy}","received_events_url":"https://api.github.com/users/twsouthwick/received_events","type":"User","site_admin":false},"repo":{"id":38777218,"name":"dotnet-apiport","full_name":"twsouthwick/dotnet-apiport","owner":{"login":"twsouthwick","id":583206,"avatar_url":"https://avatars.githubusercontent.com/u/583206?v=3","gravatar_id":"","url":"https://api.github.com/users/twsouthwick","html_url":"https://github.com/twsouthwick","followers_url":"https://api.github.com/users/twsouthwick/followers","following_url":"https://api.github.com/users/twsouthwick/following{/other_user}","gists_url":"https://api.github.com/users/twsouthwick/gists{/gist_id}","starred_url":"https://api.github.com/users/twsouthwick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twsouthwick/subscriptions","organizations_url":"https://api.github.com/users/twsouthwick/orgs","repos_url":"https://api.github.com/users/twsouthwick/repos","events_url":"https://api.github.com/users/twsouthwick/events{/privacy}","received_events_url":"https://api.github.com/users/twsouthwick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/twsouthwick/dotnet-apiport","description":"This repo contains APIPort client tools and libraries","fork":true,"url":"https://api.github.com/repos/twsouthwick/dotnet-apiport","forks_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/forks","keys_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/teams","hooks_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/hooks","issue_events_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/issues/events{/number}","events_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/events","assignees_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/assignees{/user}","branches_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/branches{/branch}","tags_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/tags","blobs_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/git/refs{/sha}","trees_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/statuses/{sha}","languages_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/languages","stargazers_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/stargazers","contributors_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/contributors","subscribers_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/subscribers","subscription_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/subscription","commits_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/commits{/sha}","git_commits_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/git/commits{/sha}","comments_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/comments{/number}","issue_comment_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/issues/comments{/number}","contents_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/contents/{+path}","compare_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/merges","archive_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/downloads","issues_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/issues{/number}","pulls_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/pulls{/number}","milestones_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/milestones{/number}","notifications_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/labels{/name}","releases_url":"https://api.github.com/repos/twsouthwick/dotnet-apiport/releases{/id}","created_at":"2015-07-08T20:10:50Z","updated_at":"2015-07-08T20:10:50Z","pushed_at":"2015-12-07T16:18:32Z","git_url":"git://github.com/twsouthwick/dotnet-apiport.git","ssh_url":"git@github.com:twsouthwick/dotnet-apiport.git","clone_url":"https://github.com/twsouthwick/dotnet-apiport.git","svn_url":"https://github.com/twsouthwick/dotnet-apiport","homepage":"http://dotnetstatus.azurewebsites.net/","size":1225,"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":"Microsoft:master","ref":"master","sha":"10623c7a7f184a4800beb33e5030cdf10cdd3262","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":27931923,"name":"dotnet-apiport","full_name":"Microsoft/dotnet-apiport","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/dotnet-apiport","description":"This repo contains APIPort client tools and libraries","fork":false,"url":"https://api.github.com/repos/Microsoft/dotnet-apiport","forks_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/forks","keys_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/teams","hooks_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/events","assignees_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/tags","blobs_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/languages","stargazers_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/subscription","commits_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/merges","archive_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/downloads","issues_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/dotnet-apiport/releases{/id}","created_at":"2014-12-12T18:04:11Z","updated_at":"2015-11-18T21:55:54Z","pushed_at":"2015-12-07T16:34:42Z","git_url":"git://github.com/Microsoft/dotnet-apiport.git","ssh_url":"git@github.com:Microsoft/dotnet-apiport.git","clone_url":"https://github.com/Microsoft/dotnet-apiport.git","svn_url":"https://github.com/Microsoft/dotnet-apiport","homepage":"http://dotnetstatus.azurewebsites.net/","size":1757,"stargazers_count":9,"watchers_count":9,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":28,"forks":13,"open_issues":28,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/dotnet-apiport/pulls/222"},"html":{"href":"https://github.com/Microsoft/dotnet-apiport/pull/222"},"issue":{"href":"https://api.github.com/repos/Microsoft/dotnet-apiport/issues/222"},"comments":{"href":"https://api.github.com/repos/Microsoft/dotnet-apiport/issues/222/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/dotnet-apiport/pulls/222/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/dotnet-apiport/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/dotnet-apiport/pulls/222/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/dotnet-apiport/statuses/1fad5ff16eb78d566c7b77dabcd678b3b063d43a"}}}}