{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/77","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/77/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/77/events","html_url":"https://github.com/dotnet/roslyn/issues/77","id":55454273,"number":77,"title":"Regression: XML documentation respects accessibility now?","user":{"login":"MichaelKetting","id":6972548,"avatar_url":"https://avatars.githubusercontent.com/u/6972548?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelKetting","html_url":"https://github.com/MichaelKetting","followers_url":"https://api.github.com/users/MichaelKetting/followers","following_url":"https://api.github.com/users/MichaelKetting/following{/other_user}","gists_url":"https://api.github.com/users/MichaelKetting/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelKetting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelKetting/subscriptions","organizations_url":"https://api.github.com/users/MichaelKetting/orgs","repos_url":"https://api.github.com/users/MichaelKetting/repos","events_url":"https://api.github.com/users/MichaelKetting/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelKetting/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-26T07:44:50Z","updated_at":"2015-01-26T07:45:07Z","closed_at":null,"body":"Original reported on [CodePlex](unter https://roslyn.codeplex.com/workitem/69) by [jonskeet](https://www.codeplex.com/site/users/view/jonskeet) \r\n\r\nC# 5 compiler version: 12.0.30110.0\r\nRoslyn version: 0.6.40331.3\r\n\r\nSometimes it's useful for doc comments to be able to refer to a member which that piece of code wouldn't actually be able to access. For example, a bunch of private constants in one method might have to be kept in sync with a bunch of private constants in another. It's ugly, but it can happen. Within the same assembly, it feels reasonable - outside the same assembly, less so.\r\n\r\nThe C# 5 compiler allows this when checking method references in cref attributes; Roslyn doesn't.\r\n\r\nTest file attached - under the C# 5 compiler it compiles with no warnings; under Roslyn I get:\r\n\r\n    Test.cs(7,31): warning CS1574: XML comment has cref attribute 'Ford.Method' that could not be resolved\r\n    Test.cs(20,31): warning CS1574: XML comment has cref attribute 'Zaphod.Method' that could not be resolved\r\n\r\n(As context, I discovered this when trying to build Noda Time with Roslyn - we have warnings as errors, so this broke our build.)\r\n\r\nRepro Sample on CodePlex: [Test.cs](https://www.codeplex.com/Download/AttachmentDownload.ashx?ProjectName=roslyn&WorkItemId=69&FileAttachmentId=826075)"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/71423725","html_url":"https://github.com/dotnet/roslyn/issues/77#issuecomment-71423725","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/77","id":71423725,"user":{"login":"MichaelKetting","id":6972548,"avatar_url":"https://avatars.githubusercontent.com/u/6972548?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelKetting","html_url":"https://github.com/MichaelKetting","followers_url":"https://api.github.com/users/MichaelKetting/followers","following_url":"https://api.github.com/users/MichaelKetting/following{/other_user}","gists_url":"https://api.github.com/users/MichaelKetting/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelKetting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelKetting/subscriptions","organizations_url":"https://api.github.com/users/MichaelKetting/orgs","repos_url":"https://api.github.com/users/MichaelKetting/repos","events_url":"https://api.github.com/users/MichaelKetting/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelKetting/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T07:45:07Z","updated_at":"2015-01-26T07:45:07Z","body":"I just found this item. I also got a discussion for this here: https://roslyn.codeplex.com/discussions/547624\r\nAnd the Connect issue https://connect.microsoft.com/VisualStudio/feedback/details/901988/cref-references-in-xml-doc-are-no-longer-able-to-link-to-non-public-members-from-a-different-type\r\n\r\nI'm very interested in a fix for this. With our solution, I got dozens of errors from this and I would need to disable the warn-as-error for this accross several (10+ projects). That would mean I can't try Roslyn on the trunk. And that in turn makes it no fun to try Roslyn at all, give it performance spins etc..."}}