{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/corefx/pulls/comments/26626783","id":26626783,"diff_hunk":"@@ -0,0 +1,35 @@\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+using Microsoft.Win32.SafeHandles;\n+using System;\n+using System.Runtime.InteropServices;\n+\n+internal partial class Interop\n+{\n+    internal partial class mincore\n+    {\n+        [DllImport(Libraries.Handle, SetLastError = true, BestFitMapping = false)]\n+        public static extern bool DuplicateHandle(","path":"src/Common/src/Interop/Windows/mincore/Interop.DuplicateHandle.cs","position":13,"original_position":13,"commit_id":"4b92acba44cf822183f8cab22d11152c934cfc1e","original_commit_id":"4b92acba44cf822183f8cab22d11152c934cfc1e","user":{"login":"Maxwe11","id":1083827,"avatar_url":"https://avatars.githubusercontent.com/u/1083827?v=3","gravatar_id":"","url":"https://api.github.com/users/Maxwe11","html_url":"https://github.com/Maxwe11","followers_url":"https://api.github.com/users/Maxwe11/followers","following_url":"https://api.github.com/users/Maxwe11/following{/other_user}","gists_url":"https://api.github.com/users/Maxwe11/gists{/gist_id}","starred_url":"https://api.github.com/users/Maxwe11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maxwe11/subscriptions","organizations_url":"https://api.github.com/users/Maxwe11/orgs","repos_url":"https://api.github.com/users/Maxwe11/repos","events_url":"https://api.github.com/users/Maxwe11/events{/privacy}","received_events_url":"https://api.github.com/users/Maxwe11/received_events","type":"User","site_admin":false},"body":"`internal`","created_at":"2015-03-17T23:28:02Z","updated_at":"2015-03-17T23:28:02Z","html_url":"https://github.com/dotnet/corefx/pull/1162#discussion_r26626783","pull_request_url":"https://api.github.com/repos/dotnet/corefx/pulls/1162","_links":{"self":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/comments/26626783"},"html":{"href":"https://github.com/dotnet/corefx/pull/1162#discussion_r26626783"},"pull_request":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/1162"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/corefx/pulls/1162","id":31385498,"html_url":"https://github.com/dotnet/corefx/pull/1162","diff_url":"https://github.com/dotnet/corefx/pull/1162.diff","patch_url":"https://github.com/dotnet/corefx/pull/1162.patch","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/1162","number":1162,"state":"open","locked":false,"title":"Consolidate interop calls for System.Diagnostics.Process","user":{"login":"pallavit","id":10713359,"avatar_url":"https://avatars.githubusercontent.com/u/10713359?v=3","gravatar_id":"","url":"https://api.github.com/users/pallavit","html_url":"https://github.com/pallavit","followers_url":"https://api.github.com/users/pallavit/followers","following_url":"https://api.github.com/users/pallavit/following{/other_user}","gists_url":"https://api.github.com/users/pallavit/gists{/gist_id}","starred_url":"https://api.github.com/users/pallavit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pallavit/subscriptions","organizations_url":"https://api.github.com/users/pallavit/orgs","repos_url":"https://api.github.com/users/pallavit/repos","events_url":"https://api.github.com/users/pallavit/events{/privacy}","received_events_url":"https://api.github.com/users/pallavit/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-17T22:42:51Z","updated_at":"2015-03-17T23:28:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c5c93465e83099288ca7238860e2e131c132996","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/corefx/pulls/1162/commits","review_comments_url":"https://api.github.com/repos/dotnet/corefx/pulls/1162/comments","review_comment_url":"https://api.github.com/repos/dotnet/corefx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/1162/comments","statuses_url":"https://api.github.com/repos/dotnet/corefx/statuses/4b92acba44cf822183f8cab22d11152c934cfc1e","head":{"label":"pallavit:ConsolidateInteropCalls","ref":"ConsolidateInteropCalls","sha":"4b92acba44cf822183f8cab22d11152c934cfc1e","user":{"login":"pallavit","id":10713359,"avatar_url":"https://avatars.githubusercontent.com/u/10713359?v=3","gravatar_id":"","url":"https://api.github.com/users/pallavit","html_url":"https://github.com/pallavit","followers_url":"https://api.github.com/users/pallavit/followers","following_url":"https://api.github.com/users/pallavit/following{/other_user}","gists_url":"https://api.github.com/users/pallavit/gists{/gist_id}","starred_url":"https://api.github.com/users/pallavit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pallavit/subscriptions","organizations_url":"https://api.github.com/users/pallavit/orgs","repos_url":"https://api.github.com/users/pallavit/repos","events_url":"https://api.github.com/users/pallavit/events{/privacy}","received_events_url":"https://api.github.com/users/pallavit/received_events","type":"User","site_admin":false},"repo":{"id":31432680,"name":"corefx","full_name":"pallavit/corefx","owner":{"login":"pallavit","id":10713359,"avatar_url":"https://avatars.githubusercontent.com/u/10713359?v=3","gravatar_id":"","url":"https://api.github.com/users/pallavit","html_url":"https://github.com/pallavit","followers_url":"https://api.github.com/users/pallavit/followers","following_url":"https://api.github.com/users/pallavit/following{/other_user}","gists_url":"https://api.github.com/users/pallavit/gists{/gist_id}","starred_url":"https://api.github.com/users/pallavit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pallavit/subscriptions","organizations_url":"https://api.github.com/users/pallavit/orgs","repos_url":"https://api.github.com/users/pallavit/repos","events_url":"https://api.github.com/users/pallavit/events{/privacy}","received_events_url":"https://api.github.com/users/pallavit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pallavit/corefx","description":"This repo contains the foundational libraries that make up the .NET Core development stack.","fork":true,"url":"https://api.github.com/repos/pallavit/corefx","forks_url":"https://api.github.com/repos/pallavit/corefx/forks","keys_url":"https://api.github.com/repos/pallavit/corefx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pallavit/corefx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pallavit/corefx/teams","hooks_url":"https://api.github.com/repos/pallavit/corefx/hooks","issue_events_url":"https://api.github.com/repos/pallavit/corefx/issues/events{/number}","events_url":"https://api.github.com/repos/pallavit/corefx/events","assignees_url":"https://api.github.com/repos/pallavit/corefx/assignees{/user}","branches_url":"https://api.github.com/repos/pallavit/corefx/branches{/branch}","tags_url":"https://api.github.com/repos/pallavit/corefx/tags","blobs_url":"https://api.github.com/repos/pallavit/corefx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pallavit/corefx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pallavit/corefx/git/refs{/sha}","trees_url":"https://api.github.com/repos/pallavit/corefx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pallavit/corefx/statuses/{sha}","languages_url":"https://api.github.com/repos/pallavit/corefx/languages","stargazers_url":"https://api.github.com/repos/pallavit/corefx/stargazers","contributors_url":"https://api.github.com/repos/pallavit/corefx/contributors","subscribers_url":"https://api.github.com/repos/pallavit/corefx/subscribers","subscription_url":"https://api.github.com/repos/pallavit/corefx/subscription","commits_url":"https://api.github.com/repos/pallavit/corefx/commits{/sha}","git_commits_url":"https://api.github.com/repos/pallavit/corefx/git/commits{/sha}","comments_url":"https://api.github.com/repos/pallavit/corefx/comments{/number}","issue_comment_url":"https://api.github.com/repos/pallavit/corefx/issues/comments{/number}","contents_url":"https://api.github.com/repos/pallavit/corefx/contents/{+path}","compare_url":"https://api.github.com/repos/pallavit/corefx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pallavit/corefx/merges","archive_url":"https://api.github.com/repos/pallavit/corefx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pallavit/corefx/downloads","issues_url":"https://api.github.com/repos/pallavit/corefx/issues{/number}","pulls_url":"https://api.github.com/repos/pallavit/corefx/pulls{/number}","milestones_url":"https://api.github.com/repos/pallavit/corefx/milestones{/number}","notifications_url":"https://api.github.com/repos/pallavit/corefx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pallavit/corefx/labels{/name}","releases_url":"https://api.github.com/repos/pallavit/corefx/releases{/id}","created_at":"2015-02-27T18:16:49Z","updated_at":"2015-03-05T19:20:13Z","pushed_at":"2015-03-17T22:40:15Z","git_url":"git://github.com/pallavit/corefx.git","ssh_url":"git@github.com:pallavit/corefx.git","clone_url":"https://github.com/pallavit/corefx.git","svn_url":"https://github.com/pallavit/corefx","homepage":"","size":12240,"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":"d012f266a3412f63c6958d7328a37b632348f767","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-03-17T23:19:07Z","pushed_at":"2015-03-17T21:13:01Z","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":26371,"stargazers_count":7218,"watchers_count":7218,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1370,"mirror_url":null,"open_issues_count":299,"forks":1370,"open_issues":299,"watchers":7218,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/1162"},"html":{"href":"https://github.com/dotnet/corefx/pull/1162"},"issue":{"href":"https://api.github.com/repos/dotnet/corefx/issues/1162"},"comments":{"href":"https://api.github.com/repos/dotnet/corefx/issues/1162/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/1162/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/1162/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/corefx/statuses/4b92acba44cf822183f8cab22d11152c934cfc1e"}}}}