{"action":"created","issue":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/470","labels_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/470/labels{/name}","comments_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/470/comments","events_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/470/events","html_url":"https://github.com/bridgedotnet/Bridge/issues/470","id":106713650,"number":470,"title":"IEqualityComparer<in T> inherits IEqualityComparer, but it shouldn't","user":{"login":"DaniilVeriga","id":1510884,"avatar_url":"https://avatars.githubusercontent.com/u/1510884?v=3","gravatar_id":"","url":"https://api.github.com/users/DaniilVeriga","html_url":"https://github.com/DaniilVeriga","followers_url":"https://api.github.com/users/DaniilVeriga/followers","following_url":"https://api.github.com/users/DaniilVeriga/following{/other_user}","gists_url":"https://api.github.com/users/DaniilVeriga/gists{/gist_id}","starred_url":"https://api.github.com/users/DaniilVeriga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaniilVeriga/subscriptions","organizations_url":"https://api.github.com/users/DaniilVeriga/orgs","repos_url":"https://api.github.com/users/DaniilVeriga/repos","events_url":"https://api.github.com/users/DaniilVeriga/events{/privacy}","received_events_url":"https://api.github.com/users/DaniilVeriga/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bridgedotnet/Bridge/labels/defect","name":"defect","color":"e11d21"}],"state":"open","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},"milestone":null,"comments":1,"created_at":"2015-09-16T07:11:28Z","updated_at":"2015-09-16T08:01:32Z","closed_at":null,"body":"http://forums.bridge.net/forum/bridge-net-pro/bugs/683\r\nhttps://msdn.microsoft.com/en-us/library/ms132151%28v=vs.110%29.aspx"},"comment":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/comments/140660839","html_url":"https://github.com/bridgedotnet/Bridge/issues/470#issuecomment-140660839","issue_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/470","id":140660839,"user":{"login":"DaniilVeriga","id":1510884,"avatar_url":"https://avatars.githubusercontent.com/u/1510884?v=3","gravatar_id":"","url":"https://api.github.com/users/DaniilVeriga","html_url":"https://github.com/DaniilVeriga","followers_url":"https://api.github.com/users/DaniilVeriga/followers","following_url":"https://api.github.com/users/DaniilVeriga/following{/other_user}","gists_url":"https://api.github.com/users/DaniilVeriga/gists{/gist_id}","starred_url":"https://api.github.com/users/DaniilVeriga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaniilVeriga/subscriptions","organizations_url":"https://api.github.com/users/DaniilVeriga/orgs","repos_url":"https://api.github.com/users/DaniilVeriga/repos","events_url":"https://api.github.com/users/DaniilVeriga/events{/privacy}","received_events_url":"https://api.github.com/users/DaniilVeriga/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T08:01:32Z","updated_at":"2015-09-16T08:01:32Z","body":"It is not enough just to remove inheriting of the `IEqualityComparer` interface (which should be done, though). There is a deeper problem. `IEqualityComparer<in T>` interface defines `Equals(T, T)` and `GetHashCode(T)`. That is no problem to define them in C# and they are emitted correctly in generated JavaScript code. But internally in Bridge JavaScript part, there are `a.equals(b)` and `a.getHashCode()` class that fails with an \"undefined\" JavaScript error, because `Equals(T, T)` and `GetHashCode(T)` methods expect more parameter to be passed."}}