{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/standard/issues/240","repository_url":"https://api.github.com/repos/dotnet/standard","labels_url":"https://api.github.com/repos/dotnet/standard/issues/240/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/standard/issues/240/comments","events_url":"https://api.github.com/repos/dotnet/standard/issues/240/events","html_url":"https://github.com/dotnet/standard/issues/240","id":213841464,"number":240,"title":"System.Drawing.SystemColors available in netcoreapp2.0 but not in netstandard2.0","user":{"login":"danmosemsft","id":6385855,"avatar_url":"https://avatars0.githubusercontent.com/u/6385855?v=3","gravatar_id":"","url":"https://api.github.com/users/danmosemsft","html_url":"https://github.com/danmosemsft","followers_url":"https://api.github.com/users/danmosemsft/followers","following_url":"https://api.github.com/users/danmosemsft/following{/other_user}","gists_url":"https://api.github.com/users/danmosemsft/gists{/gist_id}","starred_url":"https://api.github.com/users/danmosemsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danmosemsft/subscriptions","organizations_url":"https://api.github.com/users/danmosemsft/orgs","repos_url":"https://api.github.com/users/danmosemsft/repos","events_url":"https://api.github.com/users/danmosemsft/events{/privacy}","received_events_url":"https://api.github.com/users/danmosemsft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-13T17:32:01Z","updated_at":"2017-03-15T22:54:08Z","closed_at":null,"body":"@qmfrederik commented on [Sun Mar 12 2017](https://github.com/dotnet/corefx/issues/17024)\n\n`System.Drawing.SystemColors` exists in System.Drawing.Primitives 4.1.0.0 for netcoreapp2.0 (as part of Microsoft.Netcore.App 2.0.0-beta-001737-00), but does not exist in System.Drawing or System.Drawing.Primitives for netstandard2.0\r\n\r\nAlthough not a bug per se, since netcoreapp2.0 implements SystemColors, and NetFX and Mono also do, all .NET platforms implement SystemColors so it might be a candidate to end up in the netstandard2.0 specification.\r\n\r\nAlternatively, if it is deemed it SystemColors should not be part of netstandard2.0, I'm not sure it makes much sense to have it in netcoreapp2.0, either.\r\n\r\nBackground: I have ported Mono's System.Drawing to .NET Core and repeating the excercise for netstandard2.0. \r\n\r\nWhen compiling Mono's System.Drawing for netstandard2.0, I have to include SystemColors as it is not part of the netstandard2.0 specification. This version can then be consumed on NetFX (given System.Drawing is not referenced) but not on netcoreapp2.0 because you'll get compiler errors trying to distinguish between System.Drawing.SystemColors in netcoreapp2.0 and Mono's System.Drawing.\r\n\r\nNet, the gist of this issues is to request to have the same API surface for System.Drawing on netcoreapp2.0 and netstandard2.0.\r\n\r\nMakes sense?\n\n---\n\n@danmosemsft commented on [Mon Mar 13 2017](https://github.com/dotnet/corefx/issues/17024#issuecomment-286182403)\n\nWe already have some small pieces of System.Drawing in standard including `System.Drawing.Color`. Looks like bringing `SystemColors` would not pull with it much more. Moving there for consideration.\n\n"},"comment":{"url":"https://api.github.com/repos/dotnet/standard/issues/comments/286905113","html_url":"https://github.com/dotnet/standard/issues/240#issuecomment-286905113","issue_url":"https://api.github.com/repos/dotnet/standard/issues/240","id":286905113,"user":{"login":"weshaggard","id":9010698,"avatar_url":"https://avatars1.githubusercontent.com/u/9010698?v=3","gravatar_id":"","url":"https://api.github.com/users/weshaggard","html_url":"https://github.com/weshaggard","followers_url":"https://api.github.com/users/weshaggard/followers","following_url":"https://api.github.com/users/weshaggard/following{/other_user}","gists_url":"https://api.github.com/users/weshaggard/gists{/gist_id}","starred_url":"https://api.github.com/users/weshaggard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weshaggard/subscriptions","organizations_url":"https://api.github.com/users/weshaggard/orgs","repos_url":"https://api.github.com/users/weshaggard/repos","events_url":"https://api.github.com/users/weshaggard/events{/privacy}","received_events_url":"https://api.github.com/users/weshaggard/received_events","type":"User","site_admin":false},"created_at":"2017-03-15T22:54:08Z","updated_at":"2017-03-15T22:54:08Z","body":"The reason this was left out is because they aren't in Xamarin. If we can get them included there then we could consider putting them in the standard. cc @marek-safar @akoeplinger "}}
{"actor":{"display_login":"weshaggard"}}