{"action":"created","issue":{"url":"https://api.github.com/repos/mono/mono/issues/9855","repository_url":"https://api.github.com/repos/mono/mono","labels_url":"https://api.github.com/repos/mono/mono/issues/9855/labels{/name}","comments_url":"https://api.github.com/repos/mono/mono/issues/9855/comments","events_url":"https://api.github.com/repos/mono/mono/issues/9855/events","html_url":"https://github.com/mono/mono/pull/9855","id":347041349,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1NzU3ODQz","number":9855,"title":"[WIP][corlib] Registry from CoreFX","user":{"login":"EgorBo","id":523221,"node_id":"MDQ6VXNlcjUyMzIyMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/523221?v=4","gravatar_id":"","url":"https://api.github.com/users/EgorBo","html_url":"https://github.com/EgorBo","followers_url":"https://api.github.com/users/EgorBo/followers","following_url":"https://api.github.com/users/EgorBo/following{/other_user}","gists_url":"https://api.github.com/users/EgorBo/gists{/gist_id}","starred_url":"https://api.github.com/users/EgorBo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EgorBo/subscriptions","organizations_url":"https://api.github.com/users/EgorBo/orgs","repos_url":"https://api.github.com/users/EgorBo/repos","events_url":"https://api.github.com/users/EgorBo/events{/privacy}","received_events_url":"https://api.github.com/users/EgorBo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-02T14:38:34Z","updated_at":"2018-08-09T06:03:30Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/mono/mono/pulls/9855","html_url":"https://github.com/mono/mono/pull/9855","diff_url":"https://github.com/mono/mono/pull/9855.diff","patch_url":"https://github.com/mono/mono/pull/9855.patch"},"body":"Needed for TimeZoneInfo.\r\nNot implemented for non-windows platforms yet (Mono had a simple file-based implementation).\r\nCoreFX issue: https://github.com/dotnet/corefx/issues/14896\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mono/mono/issues/comments/411646718","html_url":"https://github.com/mono/mono/pull/9855#issuecomment-411646718","issue_url":"https://api.github.com/repos/mono/mono/issues/9855","id":411646718,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTY0NjcxOA==","user":{"login":"EgorBo","id":523221,"node_id":"MDQ6VXNlcjUyMzIyMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/523221?v=4","gravatar_id":"","url":"https://api.github.com/users/EgorBo","html_url":"https://github.com/EgorBo","followers_url":"https://api.github.com/users/EgorBo/followers","following_url":"https://api.github.com/users/EgorBo/following{/other_user}","gists_url":"https://api.github.com/users/EgorBo/gists{/gist_id}","starred_url":"https://api.github.com/users/EgorBo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EgorBo/subscriptions","organizations_url":"https://api.github.com/users/EgorBo/orgs","repos_url":"https://api.github.com/users/EgorBo/repos","events_url":"https://api.github.com/users/EgorBo/events{/privacy}","received_events_url":"https://api.github.com/users/EgorBo/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T06:03:30Z","updated_at":"2018-08-09T06:03:30Z","author_association":"MEMBER","body":"@migueldeicaza it should not since it uses the old mono implementation for Linux and macOS (`UnixRegistryApi.cs`)\r\n.NET Core doesn't implement this API for non-windows platforms (see https://github.com/dotnet/corefx/issues/14896)\r\nit looks like our old implementation is a little bit buggy and not really efficient so I'd not recommend to upstream it\r\ne.g. on old mono (before my changes):\r\n\r\n```csharp\r\nstatic void Main()\r\n{\r\n    Registry.SetKey(\"HKEY_....\", \"MyKey\", 42);\r\n    return;\r\n}\r\n```\r\nwon't save the key as it doesn't flush the inner stream (it has some kind of a timer to flush it after 3 seconds)"}}
{"actor":{"display_login":"EgorBo"}}