{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/docs/issues/9225","repository_url":"https://api.github.com/repos/dotnet/docs","labels_url":"https://api.github.com/repos/dotnet/docs/issues/9225/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/docs/issues/9225/comments","events_url":"https://api.github.com/repos/dotnet/docs/issues/9225/events","html_url":"https://github.com/dotnet/docs/issues/9225","id":384050058,"node_id":"MDU6SXNzdWUzODQwNTAwNTg=","number":9225,"title":"Ref returns for container types","user":{"login":"samir105","id":33775059,"node_id":"MDQ6VXNlcjMzNzc1MDU5","avatar_url":"https://avatars3.githubusercontent.com/u/33775059?v=4","gravatar_id":"","url":"https://api.github.com/users/samir105","html_url":"https://github.com/samir105","followers_url":"https://api.github.com/users/samir105/followers","following_url":"https://api.github.com/users/samir105/following{/other_user}","gists_url":"https://api.github.com/users/samir105/gists{/gist_id}","starred_url":"https://api.github.com/users/samir105/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samir105/subscriptions","organizations_url":"https://api.github.com/users/samir105/orgs","repos_url":"https://api.github.com/users/samir105/repos","events_url":"https://api.github.com/users/samir105/events{/privacy}","received_events_url":"https://api.github.com/users/samir105/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-25T05:47:07Z","updated_at":"2018-11-25T05:47:07Z","closed_at":null,"author_association":"NONE","body":"Thanks for the article. I wonder is there a plan to make index operator of generic container types like list to return ref? (So we can write listOfStruct[i].field=value)\n\n---\n#### Document Details\n\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\n\n* ID: a6968c8f-19ab-f79f-021a-265108870371\n* Version Independent ID: 6b4f1fec-b9d1-f501-1fcf-2c6f15209a29\n* Content: [Ref return values and ref locals (C# Guide)](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/ref-returns)\n* Content Source: [docs/csharp/programming-guide/classes-and-structs/ref-returns.md](https://github.com/dotnet/docs/blob/master/docs/csharp/programming-guide/classes-and-structs/ref-returns.md)\n* Product: **dotnet-csharp**\n* GitHub Login: @rpetrusha\n* Microsoft Alias: **ronpet**"}}
{"actor":{"display_login":"samir105"}}