{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/25413","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/25413/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/25413/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/25413/events","html_url":"https://github.com/dotnet/corefx/issues/25413","id":275823929,"number":25413,"title":"Add implicit cast from string to ReadOnlySpan<char>","user":{"login":"stephentoub","id":2642209,"avatar_url":"https://avatars0.githubusercontent.com/u/2642209?v=4","gravatar_id":"","url":"https://api.github.com/users/stephentoub","html_url":"https://github.com/stephentoub","followers_url":"https://api.github.com/users/stephentoub/followers","following_url":"https://api.github.com/users/stephentoub/following{/other_user}","gists_url":"https://api.github.com/users/stephentoub/gists{/gist_id}","starred_url":"https://api.github.com/users/stephentoub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephentoub/subscriptions","organizations_url":"https://api.github.com/users/stephentoub/orgs","repos_url":"https://api.github.com/users/stephentoub/repos","events_url":"https://api.github.com/users/stephentoub/events{/privacy}","received_events_url":"https://api.github.com/users/stephentoub/received_events","type":"User","site_admin":false},"labels":[{"id":165998434,"url":"https://api.github.com/repos/dotnet/corefx/labels/api-ready-for-review","name":"api-ready-for-review","color":"5319e7","default":false},{"id":547241922,"url":"https://api.github.com/repos/dotnet/corefx/labels/area-System.Memory","name":"area-System.Memory","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotnet/corefx/milestones/12","html_url":"https://github.com/dotnet/corefx/milestone/12","labels_url":"https://api.github.com/repos/dotnet/corefx/milestones/12/labels","id":2323293,"number":12,"title":"2.1.0","description":".NET Core 2.1, next major release. See [official release dates](https://github.com/dotnet/core/blob/master/roadmap.md) for details.","creator":{"login":"karelz","id":5776068,"avatar_url":"https://avatars2.githubusercontent.com/u/5776068?v=4","gravatar_id":"","url":"https://api.github.com/users/karelz","html_url":"https://github.com/karelz","followers_url":"https://api.github.com/users/karelz/followers","following_url":"https://api.github.com/users/karelz/following{/other_user}","gists_url":"https://api.github.com/users/karelz/gists{/gist_id}","starred_url":"https://api.github.com/users/karelz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karelz/subscriptions","organizations_url":"https://api.github.com/users/karelz/orgs","repos_url":"https://api.github.com/users/karelz/repos","events_url":"https://api.github.com/users/karelz/events{/privacy}","received_events_url":"https://api.github.com/users/karelz/received_events","type":"User","site_admin":false},"open_issues":409,"closed_issues":3504,"state":"open","created_at":"2017-02-15T02:14:11Z","updated_at":"2017-11-22T06:52:18Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2017-11-21T18:59:58Z","updated_at":"2017-11-22T07:10:05Z","closed_at":null,"author_association":"MEMBER","body":"Proposal:\r\n```C#\r\npublic class String\r\n{\r\n    public static implicit operator ReadOnlySpan<char>(string value) =>\r\n        value != null ? new ReadOnlySpan<char>(ref value.GetRawStringData(), value.Length) : default;\r\n    ...\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/346262470","html_url":"https://github.com/dotnet/corefx/issues/25413#issuecomment-346262470","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/25413","id":346262470,"user":{"login":"VSadov","id":8218165,"avatar_url":"https://avatars0.githubusercontent.com/u/8218165?v=4","gravatar_id":"","url":"https://api.github.com/users/VSadov","html_url":"https://github.com/VSadov","followers_url":"https://api.github.com/users/VSadov/followers","following_url":"https://api.github.com/users/VSadov/following{/other_user}","gists_url":"https://api.github.com/users/VSadov/gists{/gist_id}","starred_url":"https://api.github.com/users/VSadov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VSadov/subscriptions","organizations_url":"https://api.github.com/users/VSadov/orgs","repos_url":"https://api.github.com/users/VSadov/repos","events_url":"https://api.github.com/users/VSadov/events{/privacy}","received_events_url":"https://api.github.com/users/VSadov/received_events","type":"User","site_admin":false},"created_at":"2017-11-22T07:10:05Z","updated_at":"2017-11-22T07:10:05Z","author_association":"MEMBER","body":"We may also need a similar solution for the  `new ReadOnlySpan<int>{1,2,3,4}`, or whatever syntax will be for that, and possibly for the indexable fixed size buffers too. - No need to design it right here. Just saying that it should be possible. As a last resort there are pointers..."}}
{"actor":{"display_login":"VSadov"}}