{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/4686","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/4686/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/4686/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/4686/events","html_url":"https://github.com/dotnet/roslyn/issues/4686","id":102201337,"number":4686,"title":"VB spec says that Me.M() operates on a COPY of Me in a struct","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-Language%20Design","name":"Area-Language Design","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Language-VB","name":"Language-VB","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"ljw1004","id":3316258,"avatar_url":"https://avatars.githubusercontent.com/u/3316258?v=3","gravatar_id":"","url":"https://api.github.com/users/ljw1004","html_url":"https://github.com/ljw1004","followers_url":"https://api.github.com/users/ljw1004/followers","following_url":"https://api.github.com/users/ljw1004/following{/other_user}","gists_url":"https://api.github.com/users/ljw1004/gists{/gist_id}","starred_url":"https://api.github.com/users/ljw1004/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljw1004/subscriptions","organizations_url":"https://api.github.com/users/ljw1004/orgs","repos_url":"https://api.github.com/users/ljw1004/repos","events_url":"https://api.github.com/users/ljw1004/events{/privacy}","received_events_url":"https://api.github.com/users/ljw1004/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-08-20T18:24:05Z","updated_at":"2015-08-20T18:25:16Z","closed_at":null,"body":"The current state of the VB spec says that \"Me\" is a value, not a variable.\r\n \r\nTherefore, in a struct type an invocation such as\r\n \r\nMe.M()\r\n \r\nIs required to operate on a copy of the current object and not modify it.\r\n \r\nWorse, the simple invocation\r\n \r\nM()\r\n \r\nis defined to operate on the method group Me.M, so it too may not modify the current object.\r\n \r\n Migrated from TFS/DevDiv 1040115"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/133109009","html_url":"https://github.com/dotnet/roslyn/issues/4686#issuecomment-133109009","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/4686","id":133109009,"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},"created_at":"2015-08-20T18:25:16Z","updated_at":"2015-08-20T18:25:16Z","body":"@gafter wrote\r\n\r\n> I suggest that Me should be specified to be a value in a class, but a variable in a struct.\r\n\r\n@AlekseyTs wrote\r\n\r\n> It looks like value receiver isn't copied if it is backed by a variable or it is \"Me\", see bug #1026678.\r\n"}}