{"action":"closed","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/9135","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/9135/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/9135/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/9135/events","html_url":"https://github.com/dotnet/roslyn/issues/9135","id":136092625,"number":9135,"title":"Listening to rename events in Code editor","user":{"login":"Mylan719","id":3776116,"avatar_url":"https://avatars.githubusercontent.com/u/3776116?v=3","gravatar_id":"","url":"https://api.github.com/users/Mylan719","html_url":"https://github.com/Mylan719","followers_url":"https://api.github.com/users/Mylan719/followers","following_url":"https://api.github.com/users/Mylan719/following{/other_user}","gists_url":"https://api.github.com/users/Mylan719/gists{/gist_id}","starred_url":"https://api.github.com/users/Mylan719/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mylan719/subscriptions","organizations_url":"https://api.github.com/users/Mylan719/orgs","repos_url":"https://api.github.com/users/Mylan719/repos","events_url":"https://api.github.com/users/Mylan719/events{/privacy}","received_events_url":"https://api.github.com/users/Mylan719/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/Concept-API","name":"Concept-API","color":"fef2c0"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Question","name":"Question","color":"fc2929"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Resolution-Duplicate","name":"Resolution-Duplicate","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-24T15:23:56Z","updated_at":"2016-02-25T18:07:54Z","closed_at":"2016-02-25T18:07:54Z","body":"Hi,\r\nI am writing visual studio 2015 extension for a framework. Basic idea is that we have viewmodel in C# that is bound to Html martkup. For example:\r\n**code:**\r\n```cs\r\npublic class MyViewModel {\r\n     public string MyProperty { get; set; }\r\n}  \r\n```\r\nmarkup:\r\n```html\r\n@viewmodel MyViewModel \r\n<div>\r\n{{value: MyProperty}}\r\n</div>\r\n```\r\nWhat I need to do is I need to be able to be notified when MyViewModel or MyProperty gets renamed in the code editor. This is essential, because I need to update MyViewModel or MyProperty references in my markup file accordingly. Otherwise users will get errors in the markup.\r\n\r\nI found out there is IRefactorNotifyService interface in roslyn that seems to do just what I need. It looks well documented too. The problem is, it's internal. Could you please make it public? \r\nOr could you advise me on how to get the renaming to work correctly without it?  \r\n"}}