{"action":"created","issue":{"url":"https://api.github.com/repos/mono/CppSharp/issues/435","repository_url":"https://api.github.com/repos/mono/CppSharp","labels_url":"https://api.github.com/repos/mono/CppSharp/issues/435/labels{/name}","comments_url":"https://api.github.com/repos/mono/CppSharp/issues/435/comments","events_url":"https://api.github.com/repos/mono/CppSharp/issues/435/events","html_url":"https://github.com/mono/CppSharp/issues/435","id":67453819,"number":435,"title":"Header included more than once breaks method names.","user":{"login":"jamesford42","id":155688,"avatar_url":"https://avatars.githubusercontent.com/u/155688?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesford42","html_url":"https://github.com/jamesford42","followers_url":"https://api.github.com/users/jamesford42/followers","following_url":"https://api.github.com/users/jamesford42/following{/other_user}","gists_url":"https://api.github.com/users/jamesford42/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesford42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesford42/subscriptions","organizations_url":"https://api.github.com/users/jamesford42/orgs","repos_url":"https://api.github.com/users/jamesford42/repos","events_url":"https://api.github.com/users/jamesford42/events{/privacy}","received_events_url":"https://api.github.com/users/jamesford42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-04-09T21:22:40Z","updated_at":"2016-02-23T21:38:35Z","closed_at":null,"body":"ClassA.h defines ClassA and includes ClassY.h\r\nClassB.h defines ClassB and includes ClassY.h\r\nClassA, ClassB, and ClassY are all marked for export.\r\n\r\nThe C# class generated for ClassY ends up appending '1' to all its method names. Eg, ClassY::Init() in C++ becomes ClassY.Init1() in C#.\r\n\r\nNote that ClassY.h is protected by header guards, since it needs to be included in more than one other header file. I assume this situation is not dealt with well by CppSharp and/or may be related to the problem."},"comment":{"url":"https://api.github.com/repos/mono/CppSharp/issues/comments/187924804","html_url":"https://github.com/mono/CppSharp/issues/435#issuecomment-187924804","issue_url":"https://api.github.com/repos/mono/CppSharp/issues/435","id":187924804,"user":{"login":"ddobrev","id":5193072,"avatar_url":"https://avatars.githubusercontent.com/u/5193072?v=3","gravatar_id":"","url":"https://api.github.com/users/ddobrev","html_url":"https://github.com/ddobrev","followers_url":"https://api.github.com/users/ddobrev/followers","following_url":"https://api.github.com/users/ddobrev/following{/other_user}","gists_url":"https://api.github.com/users/ddobrev/gists{/gist_id}","starred_url":"https://api.github.com/users/ddobrev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddobrev/subscriptions","organizations_url":"https://api.github.com/users/ddobrev/orgs","repos_url":"https://api.github.com/users/ddobrev/repos","events_url":"https://api.github.com/users/ddobrev/events{/privacy}","received_events_url":"https://api.github.com/users/ddobrev/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T21:38:34Z","updated_at":"2016-02-23T21:38:34Z","body":"Hello @tomspilman . Have you had any success with the test case?"}}