{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/corefx/pulls/comments/29802167","id":29802167,"diff_hunk":"@@ -0,0 +1,233 @@\n+// Copyright (c) Microsoft. All rights reserved.\n+// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n+\n+/*============================================================\n+**\n+** Class:  Random\n+**\n+**\n+** Purpose: A random number generator.\n+**\n+** \n+===========================================================*/\n+\n+using System;\n+using System.Runtime;\n+using System.Runtime.CompilerServices;\n+using System.Globalization;\n+using System.Diagnostics.Contracts;\n+\n+namespace System\n+{\n+    [System.Runtime.InteropServices.ComVisible(true)]\n+    public class Random\n+    {\n+        //\n+        // Private Constants \n+        //\n+        private const int MBIG = Int32.MaxValue;\n+        private const int MSEED = 161803398;\n+        private const int MZ = 0;\n+\n+\n+        //\n+        // Member Variables\n+        //\n+        private int inext;\n+        private int inextp;\n+        private int[] SeedArray = new int[56];","path":"src/System.Runtime.Extensions/src/System/Random.cs","position":38,"original_position":38,"commit_id":"b489fb355395e1305706aad397198ad2c662241a","original_commit_id":"b489fb355395e1305706aad397198ad2c662241a","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},"body":"Not listed in the csproj, so I'm not going to touch it, inline with the other stuff.","created_at":"2015-05-06T21:05:54Z","updated_at":"2015-05-06T21:05:54Z","html_url":"https://github.com/dotnet/corefx/pull/1646#discussion_r29802167","pull_request_url":"https://api.github.com/repos/dotnet/corefx/pulls/1646","_links":{"self":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/comments/29802167"},"html":{"href":"https://github.com/dotnet/corefx/pull/1646#discussion_r29802167"},"pull_request":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/1646"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/corefx/pulls/1646","id":34855328,"html_url":"https://github.com/dotnet/corefx/pull/1646","diff_url":"https://github.com/dotnet/corefx/pull/1646.diff","patch_url":"https://github.com/dotnet/corefx/pull/1646.patch","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/1646","number":1646,"state":"open","locked":false,"title":"Merge changes from TFS","user":{"login":"dotnet-bot","id":9011267,"avatar_url":"https://avatars.githubusercontent.com/u/9011267?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet-bot","html_url":"https://github.com/dotnet-bot","followers_url":"https://api.github.com/users/dotnet-bot/followers","following_url":"https://api.github.com/users/dotnet-bot/following{/other_user}","gists_url":"https://api.github.com/users/dotnet-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet-bot/subscriptions","organizations_url":"https://api.github.com/users/dotnet-bot/orgs","repos_url":"https://api.github.com/users/dotnet-bot/repos","events_url":"https://api.github.com/users/dotnet-bot/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet-bot/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-05-06T20:14:55Z","updated_at":"2015-05-06T21:05:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/corefx/pulls/1646/commits","review_comments_url":"https://api.github.com/repos/dotnet/corefx/pulls/1646/comments","review_comment_url":"https://api.github.com/repos/dotnet/corefx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/1646/comments","statuses_url":"https://api.github.com/repos/dotnet/corefx/statuses/b489fb355395e1305706aad397198ad2c662241a","head":{"label":"dotnet-bot:from-tfs","ref":"from-tfs","sha":"b489fb355395e1305706aad397198ad2c662241a","user":{"login":"dotnet-bot","id":9011267,"avatar_url":"https://avatars.githubusercontent.com/u/9011267?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet-bot","html_url":"https://github.com/dotnet-bot","followers_url":"https://api.github.com/users/dotnet-bot/followers","following_url":"https://api.github.com/users/dotnet-bot/following{/other_user}","gists_url":"https://api.github.com/users/dotnet-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet-bot/subscriptions","organizations_url":"https://api.github.com/users/dotnet-bot/orgs","repos_url":"https://api.github.com/users/dotnet-bot/repos","events_url":"https://api.github.com/users/dotnet-bot/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet-bot/received_events","type":"User","site_admin":false},"repo":{"id":29887423,"name":"corefx","full_name":"dotnet-bot/corefx","owner":{"login":"dotnet-bot","id":9011267,"avatar_url":"https://avatars.githubusercontent.com/u/9011267?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet-bot","html_url":"https://github.com/dotnet-bot","followers_url":"https://api.github.com/users/dotnet-bot/followers","following_url":"https://api.github.com/users/dotnet-bot/following{/other_user}","gists_url":"https://api.github.com/users/dotnet-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet-bot/subscriptions","organizations_url":"https://api.github.com/users/dotnet-bot/orgs","repos_url":"https://api.github.com/users/dotnet-bot/repos","events_url":"https://api.github.com/users/dotnet-bot/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet-bot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dotnet-bot/corefx","description":"This repository contains the foundational libraries that make up the .NET Core development stack.","fork":true,"url":"https://api.github.com/repos/dotnet-bot/corefx","forks_url":"https://api.github.com/repos/dotnet-bot/corefx/forks","keys_url":"https://api.github.com/repos/dotnet-bot/corefx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet-bot/corefx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet-bot/corefx/teams","hooks_url":"https://api.github.com/repos/dotnet-bot/corefx/hooks","issue_events_url":"https://api.github.com/repos/dotnet-bot/corefx/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet-bot/corefx/events","assignees_url":"https://api.github.com/repos/dotnet-bot/corefx/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet-bot/corefx/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet-bot/corefx/tags","blobs_url":"https://api.github.com/repos/dotnet-bot/corefx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet-bot/corefx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet-bot/corefx/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet-bot/corefx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet-bot/corefx/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet-bot/corefx/languages","stargazers_url":"https://api.github.com/repos/dotnet-bot/corefx/stargazers","contributors_url":"https://api.github.com/repos/dotnet-bot/corefx/contributors","subscribers_url":"https://api.github.com/repos/dotnet-bot/corefx/subscribers","subscription_url":"https://api.github.com/repos/dotnet-bot/corefx/subscription","commits_url":"https://api.github.com/repos/dotnet-bot/corefx/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet-bot/corefx/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet-bot/corefx/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet-bot/corefx/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet-bot/corefx/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet-bot/corefx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet-bot/corefx/merges","archive_url":"https://api.github.com/repos/dotnet-bot/corefx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet-bot/corefx/downloads","issues_url":"https://api.github.com/repos/dotnet-bot/corefx/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet-bot/corefx/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet-bot/corefx/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet-bot/corefx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet-bot/corefx/labels{/name}","releases_url":"https://api.github.com/repos/dotnet-bot/corefx/releases{/id}","created_at":"2015-01-26T23:30:19Z","updated_at":"2015-02-05T17:14:25Z","pushed_at":"2015-05-06T20:14:54Z","git_url":"git://github.com/dotnet-bot/corefx.git","ssh_url":"git@github.com:dotnet-bot/corefx.git","clone_url":"https://github.com/dotnet-bot/corefx.git","svn_url":"https://github.com/dotnet-bot/corefx","homepage":"","size":7883,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"7b17ba5400d0a652d74d87392e4272dc65075feb","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":26295345,"name":"corefx","full_name":"dotnet/corefx","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/corefx","description":"This repo contains the .NET Core foundational libraries, called CoreFX. It includes classes for collections, file systems, console, XML, async and many others.","fork":false,"url":"https://api.github.com/repos/dotnet/corefx","forks_url":"https://api.github.com/repos/dotnet/corefx/forks","keys_url":"https://api.github.com/repos/dotnet/corefx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/corefx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/corefx/teams","hooks_url":"https://api.github.com/repos/dotnet/corefx/hooks","issue_events_url":"https://api.github.com/repos/dotnet/corefx/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/corefx/events","assignees_url":"https://api.github.com/repos/dotnet/corefx/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/corefx/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/corefx/tags","blobs_url":"https://api.github.com/repos/dotnet/corefx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/corefx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/corefx/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/corefx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/corefx/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/corefx/languages","stargazers_url":"https://api.github.com/repos/dotnet/corefx/stargazers","contributors_url":"https://api.github.com/repos/dotnet/corefx/contributors","subscribers_url":"https://api.github.com/repos/dotnet/corefx/subscribers","subscription_url":"https://api.github.com/repos/dotnet/corefx/subscription","commits_url":"https://api.github.com/repos/dotnet/corefx/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/corefx/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/corefx/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/corefx/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/corefx/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/corefx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/corefx/merges","archive_url":"https://api.github.com/repos/dotnet/corefx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/corefx/downloads","issues_url":"https://api.github.com/repos/dotnet/corefx/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/corefx/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/corefx/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/corefx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/corefx/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/corefx/releases{/id}","created_at":"2014-11-06T23:42:48Z","updated_at":"2015-05-06T20:55:42Z","pushed_at":"2015-05-06T20:55:41Z","git_url":"git://github.com/dotnet/corefx.git","ssh_url":"git@github.com:dotnet/corefx.git","clone_url":"https://github.com/dotnet/corefx.git","svn_url":"https://github.com/dotnet/corefx","homepage":"","size":40668,"stargazers_count":7716,"watchers_count":7716,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1530,"mirror_url":null,"open_issues_count":369,"forks":1530,"open_issues":369,"watchers":7716,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/1646"},"html":{"href":"https://github.com/dotnet/corefx/pull/1646"},"issue":{"href":"https://api.github.com/repos/dotnet/corefx/issues/1646"},"comments":{"href":"https://api.github.com/repos/dotnet/corefx/issues/1646/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/1646/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/1646/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/corefx/statuses/b489fb355395e1305706aad397198ad2c662241a"}}}}