{"action":"opened","issue":{"url":"https://api.github.com/repos/giacomelli/DocsByReflection/issues/11","repository_url":"https://api.github.com/repos/giacomelli/DocsByReflection","labels_url":"https://api.github.com/repos/giacomelli/DocsByReflection/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/giacomelli/DocsByReflection/issues/11/comments","events_url":"https://api.github.com/repos/giacomelli/DocsByReflection/issues/11/events","html_url":"https://github.com/giacomelli/DocsByReflection/issues/11","id":308943900,"number":11,"title":"Method that returns a collection of an inner class is ignored","user":{"login":"pablopioli","id":15127047,"avatar_url":"https://avatars2.githubusercontent.com/u/15127047?v=4","gravatar_id":"","url":"https://api.github.com/users/pablopioli","html_url":"https://github.com/pablopioli","followers_url":"https://api.github.com/users/pablopioli/followers","following_url":"https://api.github.com/users/pablopioli/following{/other_user}","gists_url":"https://api.github.com/users/pablopioli/gists{/gist_id}","starred_url":"https://api.github.com/users/pablopioli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pablopioli/subscriptions","organizations_url":"https://api.github.com/users/pablopioli/orgs","repos_url":"https://api.github.com/users/pablopioli/repos","events_url":"https://api.github.com/users/pablopioli/events{/privacy}","received_events_url":"https://api.github.com/users/pablopioli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-27T12:16:51Z","updated_at":"2018-03-27T12:16:51Z","closed_at":null,"author_association":"NONE","body":"I found an edge case that it's not handled. \r\n\r\n> \r\n> class outerclass\r\n> {\r\n>    void SomeFunction(innerclass[] input)\r\n>    {}\r\n> \r\n>    class innerclass\r\n>    {}\r\n> }\r\n> \r\n\r\nIn this case SomeFunction is ignored and the library cannot find the documentation for the element.\r\n\r\nI added support for this case, it's really simple. In DocsTypeService add \r\n\r\n>             else if (type.IsNested)\r\n>             {\r\n>                 return String.Format(CultureInfo.InvariantCulture, \"{0}{1}.{2}{3}\", typeNamespace, type.DeclaringType.Name, type.Name, isOut ? \"@\" : \"\").Replace(\"&\", \"\");\r\n>             }\r\n>             else if (type.GetElementType() != null && type.GetElementType().IsNested)\r\n>             { // this is new\r\n>                 return String.Format(CultureInfo.InvariantCulture, \"{0}{1}.{2}{3}\", typeNamespace, type.GetElementType().DeclaringType.Name, type.Name, isOut ? \"@\" : \"\").Replace(\"&\", \"\");\r\n>             }\r\n>             else\r\n>             {\r\n>                 return String.Format(CultureInfo.InvariantCulture, \"{0}{1}{2}\", typeNamespace, type.Name, isOut ? \"@\" : \"\").Replace(\"&\", \"\");\r\n>             }\r\n> \r\n\r\nAre the maintainer interested in adding this case?\r\nAnyway, hope this modification helps someone. \r\n"}}
{"actor":{"display_login":"pablopioli"}}