{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/157","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/157/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/157/events","html_url":"https://github.com/dotnet/roslyn/issues/157","id":55911899,"number":157,"title":"RenameSymbolAsync misses indirectly accessed private fields ","user":{"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},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-IDE","name":"Area-IDE","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-29T15:20:39Z","updated_at":"2015-01-29T21:09:29Z","closed_at":null,"body":"Consider the following code:\r\n\r\n``` csharp\r\nclass B\r\n{\r\n  internal C Owner { get {... } }\r\n}\r\n\r\nclass C\r\n{\r\n   private int id;\r\n\r\n   void M(B b) \r\n   {\r\n      Console.WriteLine(b.Owner.id);\r\n   }\r\n}\r\n```\r\n\r\nIf `Renamer.RenameSymbol` is run on the field`C.id` the rename operation will not update the reference in the expression `b.Owner.id`. "},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/72104510","html_url":"https://github.com/dotnet/roslyn/issues/157#issuecomment-72104510","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/157","id":72104510,"user":{"login":"dpoeschl","id":235241,"avatar_url":"https://avatars.githubusercontent.com/u/235241?v=3","gravatar_id":"","url":"https://api.github.com/users/dpoeschl","html_url":"https://github.com/dpoeschl","followers_url":"https://api.github.com/users/dpoeschl/followers","following_url":"https://api.github.com/users/dpoeschl/following{/other_user}","gists_url":"https://api.github.com/users/dpoeschl/gists{/gist_id}","starred_url":"https://api.github.com/users/dpoeschl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpoeschl/subscriptions","organizations_url":"https://api.github.com/users/dpoeschl/orgs","repos_url":"https://api.github.com/users/dpoeschl/repos","events_url":"https://api.github.com/users/dpoeschl/events{/privacy}","received_events_url":"https://api.github.com/users/dpoeschl/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T21:09:29Z","updated_at":"2015-01-29T21:09:29Z","body":"@jaredpar Rename Tracking works in this scenario for me, and Rename Tracking [uses the RenameSymbolAsync API](https://github.com/dotnet/roslyn/blob/master/src/EditorFeatures/Core/Implementation/RenameTracking/RenameTrackingTaggerProvider.RenameTrackingCommitter.cs#L106\r\n) directly, so I'm confused about why this would fail. \r\nAre you seeing this in Rename Tracking / Inline Rename, or just through the API? Can you confirm that you see this failure on this simple case, or was this reduced from a larger failing case?"}}