{"action":"closed","issue":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1915","repository_url":"https://api.github.com/repos/bridgedotnet/Bridge","labels_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1915/labels{/name}","comments_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1915/comments","events_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1915/events","html_url":"https://github.com/bridgedotnet/Bridge/issues/1915","id":180526175,"number":1915,"title":"Incorrect generated method name / alias when implementing an interface from another library","user":{"login":"yuvaltz","id":8875279,"avatar_url":"https://avatars.githubusercontent.com/u/8875279?v=3","gravatar_id":"","url":"https://api.github.com/users/yuvaltz","html_url":"https://github.com/yuvaltz","followers_url":"https://api.github.com/users/yuvaltz/followers","following_url":"https://api.github.com/users/yuvaltz/following{/other_user}","gists_url":"https://api.github.com/users/yuvaltz/gists{/gist_id}","starred_url":"https://api.github.com/users/yuvaltz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuvaltz/subscriptions","organizations_url":"https://api.github.com/users/yuvaltz/orgs","repos_url":"https://api.github.com/users/yuvaltz/repos","events_url":"https://api.github.com/users/yuvaltz/events{/privacy}","received_events_url":"https://api.github.com/users/yuvaltz/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/31","html_url":"https://github.com/bridgedotnet/Bridge/milestones/15.3","labels_url":"https://api.github.com/repos/bridgedotnet/Bridge/milestones/31/labels","id":2035948,"number":31,"title":"15.3","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":8,"closed_issues":21,"state":"open","created_at":"2016-09-28T20:29:47Z","updated_at":"2016-10-08T20:05:14Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-10-02T18:21:22Z","updated_at":"2016-10-08T20:05:14Z","closed_at":"2016-10-08T20:05:14Z","body":"I have a class library with these interfaces\r\n```csharp\r\npublic interface IItem\r\n{\r\n    object Value { get; }\r\n}\r\n\r\npublic interface IWriteableItem : IItem\r\n{\r\n    bool SetValue(object value);\r\n}\r\n```\r\n\r\nAnd implementation that results in a slightly different methods names\r\n```csharp\r\npublic class WriteableItem : IWriteableItem\r\n{\r\n    private object value;\r\n    public object Value { get { return value; } }\r\n\r\n    public bool SetValue(object value)\r\n    {\r\n        this.value = value;\r\n        return true;\r\n    }\r\n}\r\n```\r\n\r\nFrom the same class library the generated `SetValue` method name ( / alias) will be\r\n```js\r\nClassLibrary1$IWriteableItem$setValue$1\r\n```\r\n\r\n([Deck](http://deck.net/e62add91aa2d82a8789003826eb7a503))\r\n\r\nAnd from a referencing project it will be\r\n```js\r\nClassLibrary1$IWriteableItem$setValue\r\n```\r\n(Sorry, no Deck)\r\n\r\nThe wrong name causes in some cases an \"Object doesn't support property or method ..\" exception.\r\n\r\nI've attached a solution with the full configuration:\r\n[BridgeClassLibraryTest.zip](https://github.com/bridgedotnet/Bridge/files/505161/BridgeClassLibraryTest.zip)"}}
{"actor":{"display_login":"LeonidVeriga"}}