{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/4719","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/4719/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/4719/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/4719/events","html_url":"https://github.com/dotnet/roslyn/issues/4719","id":102434397,"number":4719,"title":"Semantic model lookup inside crefs does not use cref rules (i.e. ignore accessibility)","user":{"login":"gafter","id":3804346,"avatar_url":"https://avatars.githubusercontent.com/u/3804346?v=3","gravatar_id":"","url":"https://api.github.com/users/gafter","html_url":"https://github.com/gafter","followers_url":"https://api.github.com/users/gafter/followers","following_url":"https://api.github.com/users/gafter/following{/other_user}","gists_url":"https://api.github.com/users/gafter/gists{/gist_id}","starred_url":"https://api.github.com/users/gafter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gafter/subscriptions","organizations_url":"https://api.github.com/users/gafter/orgs","repos_url":"https://api.github.com/users/gafter/repos","events_url":"https://api.github.com/users/gafter/events{/privacy}","received_events_url":"https://api.github.com/users/gafter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Compilers","name":"Area-Compilers","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Concept-API","name":"Concept-API","color":"fef2c0"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Question","name":"Question","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/4","html_url":"https://github.com/dotnet/roslyn/milestones/1.2","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/4/labels","id":937402,"number":4,"title":"1.2","description":"This is our 1.2 Milestone.\r\n\r\n<!---\r\n@huboard:{\"order\":2.0}\r\n-->\r\n","creator":{"login":"jaredpar","id":146967,"avatar_url":"https://avatars.githubusercontent.com/u/146967?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredpar","html_url":"https://github.com/jaredpar","followers_url":"https://api.github.com/users/jaredpar/followers","following_url":"https://api.github.com/users/jaredpar/following{/other_user}","gists_url":"https://api.github.com/users/jaredpar/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredpar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredpar/subscriptions","organizations_url":"https://api.github.com/users/jaredpar/orgs","repos_url":"https://api.github.com/users/jaredpar/repos","events_url":"https://api.github.com/users/jaredpar/events{/privacy}","received_events_url":"https://api.github.com/users/jaredpar/received_events","type":"User","site_admin":false},"open_issues":521,"closed_issues":170,"state":"open","created_at":"2015-01-15T20:48:55Z","updated_at":"2015-11-30T23:29:05Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-08-21T18:07:41Z","updated_at":"2015-11-30T23:30:01Z","closed_at":null,"body":"The following test in BasicCompilerSymbolTest fails:\r\n\r\n```vb\r\n<Fact(Skip:=\"1104815\")>\r\nPublic Sub CrefLookup()\r\nDim source =\r\n<compilation name=\"AssemblyName\">\r\n<file name=\"a.vb\">\r\n<![CDATA[\r\n''' <summary>\r\n''' See <see cref=\"C(Of U)\" />\r\n''' </summary>\r\nClass C(Of T)\r\nSub M()\r\nEnd Sub\r\nEnd Class\r\nClass Outer\r\nPrivate Class Inner\r\nEnd Class\r\nEnd Class\r\n]]>\r\n</file>\r\n</compilation>\r\nDim comp = CompileCheckDiagnosticsAndXmlDocument(source, <errors/>)\r\nDim syntaxTree = comp.SyntaxTrees(0)\r\nDim model = comp.GetSemanticModel(syntaxTree)\r\nDim outer = comp.GlobalNamespace.GetMember(Of NamedTypeSymbol)(\"Outer\")\r\nDim inner = outer.GetMember(Of NamedTypeSymbol)(\"Inner\")\r\nDim position = syntaxTree.ToString().IndexOf(\"(Of U)\")\r\nAssert.Equal(inner, model.LookupSymbols(position, outer, inner.Name).Single())\r\nEnd Sub\r\n```\r\n\r\n[This issue is migrated from TFS/DevDiv 1104815]"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/160797425","html_url":"https://github.com/dotnet/roslyn/issues/4719#issuecomment-160797425","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/4719","id":160797425,"user":{"login":"amcasey","id":10508071,"avatar_url":"https://avatars.githubusercontent.com/u/10508071?v=3","gravatar_id":"","url":"https://api.github.com/users/amcasey","html_url":"https://github.com/amcasey","followers_url":"https://api.github.com/users/amcasey/followers","following_url":"https://api.github.com/users/amcasey/following{/other_user}","gists_url":"https://api.github.com/users/amcasey/gists{/gist_id}","starred_url":"https://api.github.com/users/amcasey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcasey/subscriptions","organizations_url":"https://api.github.com/users/amcasey/orgs","repos_url":"https://api.github.com/users/amcasey/repos","events_url":"https://api.github.com/users/amcasey/events{/privacy}","received_events_url":"https://api.github.com/users/amcasey/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T23:30:01Z","updated_at":"2015-11-30T23:30:01Z","body":"@jaredpar I'm not sure where we landed but the last proposal I remember hearing was that they would ignore private symbols *in other assemblies*."}}