{"action":"closed","issue":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1776","repository_url":"https://api.github.com/repos/bridgedotnet/Bridge","labels_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1776/labels{/name}","comments_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1776/comments","events_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1776/events","html_url":"https://github.com/bridgedotnet/Bridge/issues/1776","id":175930877,"number":1776,"title":"Dictionary TryGetValue method returning incorrect result if Tuple is used as key","user":{"login":"geoffreymcgill","id":62210,"avatar_url":"https://avatars.githubusercontent.com/u/62210?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffreymcgill","html_url":"https://github.com/geoffreymcgill","followers_url":"https://api.github.com/users/geoffreymcgill/followers","following_url":"https://api.github.com/users/geoffreymcgill/following{/other_user}","gists_url":"https://api.github.com/users/geoffreymcgill/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffreymcgill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffreymcgill/subscriptions","organizations_url":"https://api.github.com/users/geoffreymcgill/orgs","repos_url":"https://api.github.com/users/geoffreymcgill/repos","events_url":"https://api.github.com/users/geoffreymcgill/events{/privacy}","received_events_url":"https://api.github.com/users/geoffreymcgill/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bridgedotnet/Bridge/labels/defect","name":"defect","color":"FF4136"}],"state":"closed","locked":false,"assignee":{"login":"vladsch","id":378225,"avatar_url":"https://avatars.githubusercontent.com/u/378225?v=3","gravatar_id":"","url":"https://api.github.com/users/vladsch","html_url":"https://github.com/vladsch","followers_url":"https://api.github.com/users/vladsch/followers","following_url":"https://api.github.com/users/vladsch/following{/other_user}","gists_url":"https://api.github.com/users/vladsch/gists{/gist_id}","starred_url":"https://api.github.com/users/vladsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladsch/subscriptions","organizations_url":"https://api.github.com/users/vladsch/orgs","repos_url":"https://api.github.com/users/vladsch/repos","events_url":"https://api.github.com/users/vladsch/events{/privacy}","received_events_url":"https://api.github.com/users/vladsch/received_events","type":"User","site_admin":false},"assignees":[{"login":"vladsch","id":378225,"avatar_url":"https://avatars.githubusercontent.com/u/378225?v=3","gravatar_id":"","url":"https://api.github.com/users/vladsch","html_url":"https://github.com/vladsch","followers_url":"https://api.github.com/users/vladsch/followers","following_url":"https://api.github.com/users/vladsch/following{/other_user}","gists_url":"https://api.github.com/users/vladsch/gists{/gist_id}","starred_url":"https://api.github.com/users/vladsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladsch/subscriptions","organizations_url":"https://api.github.com/users/vladsch/orgs","repos_url":"https://api.github.com/users/vladsch/repos","events_url":"https://api.github.com/users/vladsch/events{/privacy}","received_events_url":"https://api.github.com/users/vladsch/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/milestones/25","html_url":"https://github.com/bridgedotnet/Bridge/milestones/15.0","labels_url":"https://api.github.com/repos/bridgedotnet/Bridge/milestones/25/labels","id":1753384,"number":25,"title":"15.0","description":"","creator":{"login":"geoffreymcgill","id":62210,"avatar_url":"https://avatars.githubusercontent.com/u/62210?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffreymcgill","html_url":"https://github.com/geoffreymcgill","followers_url":"https://api.github.com/users/geoffreymcgill/followers","following_url":"https://api.github.com/users/geoffreymcgill/following{/other_user}","gists_url":"https://api.github.com/users/geoffreymcgill/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffreymcgill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffreymcgill/subscriptions","organizations_url":"https://api.github.com/users/geoffreymcgill/orgs","repos_url":"https://api.github.com/users/geoffreymcgill/repos","events_url":"https://api.github.com/users/geoffreymcgill/events{/privacy}","received_events_url":"https://api.github.com/users/geoffreymcgill/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":238,"state":"open","created_at":"2016-05-07T23:58:29Z","updated_at":"2016-09-11T22:21:17Z","due_on":"2016-09-12T00:00:00Z","closed_at":null},"comments":0,"created_at":"2016-09-09T05:26:34Z","updated_at":"2016-09-11T22:21:17Z","closed_at":"2016-09-11T22:21:17Z","body":"Forum thread:\r\nhttp://forums.bridge.net/forum/bridge-net-pro/bugs/2651-dictionary-trygetvalue-method-is-not-returning-correct-result-if-tuple-is-use-as-key\r\n\r\n### Steps To Reproduce\r\n\r\nSample ([Deck](http://deck.net/ea9eaf9b89712b5b4a6a8dda98281b1d)):\r\n\r\n```csharp\r\npublic class Program\r\n{\r\n    public static void Main()\r\n    {   \r\n        int output;\r\n        Tuple<int, int> key1 = new Tuple<int, int>(1, 2);\r\n        Tuple<int, int> key2 = new Tuple<int, int>(1, 2);\r\n        Console.WriteLine(key1.Equals(key2)); // correct\r\n        \r\n        Dictionary<Tuple<int, int>, int> dic = new Dictionary<Tuple<int, int>, int>();\r\n        dic.Add(key1, 1);\r\n        \r\n        dic.TryGetValue(key1, out output);\r\n        Console.WriteLine(output); // correct\r\n        dic.TryGetValue(key2, out output);\r\n        Console.WriteLine(output); // incorrect\r\n    }\r\n}\r\n```"}}
{"actor":{"display_login":"LeonidVeriga"}}