{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/3301","repository_url":"https://api.github.com/repos/dotnet/coreclr","labels_url":"https://api.github.com/repos/dotnet/coreclr/issues/3301/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/coreclr/issues/3301/comments","events_url":"https://api.github.com/repos/dotnet/coreclr/issues/3301/events","html_url":"https://github.com/dotnet/coreclr/pull/3301","id":135527379,"number":3301,"title":"Fix Guid.TryParse to not throw FormatException","user":{"login":"stephentoub","id":2642209,"avatar_url":"https://avatars.githubusercontent.com/u/2642209?v=3","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":[{"url":"https://api.github.com/repos/dotnet/coreclr/labels/2%20-%20In%20Progress","name":"2 - In Progress","color":"CCCCCC"},{"url":"https://api.github.com/repos/dotnet/coreclr/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-02-22T20:00:31Z","updated_at":"2016-02-23T00:04:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dotnet/coreclr/pulls/3301","html_url":"https://github.com/dotnet/coreclr/pull/3301","diff_url":"https://github.com/dotnet/coreclr/pull/3301.diff","patch_url":"https://github.com/dotnet/coreclr/pull/3301.patch"},"body":"In certain situations, e.g.\r\n```\r\nGuid g;\r\nGuid.TryParse(\"{0xdddddddd, 0xdddd, 0xdddd,{0xdd0xdd,0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}\", out g);\r\n```\r\nGuid.TryParse is throwing a FormatException rather than returning false.  This is due to a call to Convert.ToInt32 on one code path that's throwing.\r\n\r\ncc: @jkotas, @bartonjs, @hughbe \r\nFixes https://github.com/dotnet/corefx/issues/6316"},"comment":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/comments/187445029","html_url":"https://github.com/dotnet/coreclr/pull/3301#issuecomment-187445029","issue_url":"https://api.github.com/repos/dotnet/coreclr/issues/3301","id":187445029,"user":{"login":"ellismg","id":9602953,"avatar_url":"https://avatars.githubusercontent.com/u/9602953?v=3","gravatar_id":"","url":"https://api.github.com/users/ellismg","html_url":"https://github.com/ellismg","followers_url":"https://api.github.com/users/ellismg/followers","following_url":"https://api.github.com/users/ellismg/following{/other_user}","gists_url":"https://api.github.com/users/ellismg/gists{/gist_id}","starred_url":"https://api.github.com/users/ellismg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellismg/subscriptions","organizations_url":"https://api.github.com/users/ellismg/orgs","repos_url":"https://api.github.com/users/ellismg/repos","events_url":"https://api.github.com/users/ellismg/events{/privacy}","received_events_url":"https://api.github.com/users/ellismg/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T00:04:49Z","updated_at":"2016-02-23T00:04:49Z","body":"> For us, we did it because we could repro the issue 100% of the time, but it sounds that you guys can only repro from time to time?\r\n\r\nCorrect.  What makes things more frustrating is we've been unable to reproduce it outside for CI (and because the machine get reclaimed I've been unable to get a live repro to look at).\r\n\r\nLooking at the logs for both the passing and failing case, we call FindPackagesById for dotnet-core, dotnet-buildtools and nuget in both the failing and successful case (and the command line says that operation was OK) but when it comes to download packages we pick up this one:\r\n\r\n`https://dotnet.myget.org/F/dotnet-core/api/v2/package/runtime.osx.10.10.System.Runtime.Extensions/4.0.11-beta-23504`\r\n\r\nDoes this mean that myget is giving us back that reference?  Is NuGet making a bad decision about what version to restore?  Do we have any reason to believe that switching to the v3 versions of the feeds would work any better?"}}