{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/177279111","pull_request_review_id":107122572,"id":177279111,"diff_hunk":"@@ -0,0 +1,715 @@\n+﻿// Copyright (c) Microsoft.  All Rights Reserved.  Licensed under the Apache License, Version 2.0.  See License.txt in the project root for license information.\n+\n+using System.Threading.Tasks;\n+using Microsoft.CodeAnalysis.CodeRefactorings;\n+using Microsoft.CodeAnalysis.CSharp.CodeRefactorings.InvertIf;\n+using Microsoft.CodeAnalysis.Test.Utilities;\n+using Roslyn.Test.Utilities;\n+using Xunit;\n+\n+namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.CodeRefactorings.InvertIf\n+{\n+    public class InvertIfTests : AbstractCSharpCodeActionTest\n+    {\n+        private async Task TestFixOneAsync(\n+            string initial,\n+            string expected)\n+        {\n+            await TestInRegularAndScriptAsync(CreateTreeText(initial), CreateTreeText(expected));\n+        }\n+\n+        protected override CodeRefactoringProvider CreateCodeRefactoringProvider(Workspace workspace, TestParameters parameters)\n+            => new InvertIfCodeRefactoringProvider();\n+\n+        private string CreateTreeText(string initial)\n+        {\n+            return\n+@\"class A\n+{\n+    void Goo()\n+    {\n+\" + initial + @\"\n+    }\n+}\";\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestIdentifier()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (a) { a(); } else { b(); }\",\n+@\"if (!a) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestNotIdentifier()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (!a) { a(); } else { b(); }\",\n+@\"if (a) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestEqualsEquals()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (a == b) { a(); } else { b(); }\",\n+@\"if (a != b) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestNotEquals()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (a != b) { a(); } else { b(); }\",\n+@\"if (a == b) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestGreaterThan()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (a > b) { a(); } else { b(); }\",\n+@\"if (a <= b) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestGreaterThanEquals()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (a >= b) { a(); } else { b(); }\",\n+@\"if (a < b) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestLessThan()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (a < b) { a(); } else { b(); }\",\n+@\"if (a >= b) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestLessThanEquals()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (a <= b) { a(); } else { b(); }\",\n+@\"if (a > b) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestParens()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if ((a)) { a(); } else { b(); }\",\n+@\"if (!a) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestIs()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (a is Goo) { a(); } else { b(); }\",\n+@\"if (!(a is Goo)) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestCall()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (a.Goo()) { a(); } else { b(); }\",\n+@\"if (!a.Goo()) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestOr()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (a || b) { a(); } else { b(); }\",\n+@\"if (!a && !b) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestOr2()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (!a || !b) { a(); } else { b(); }\",\n+@\"if (a && b) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestAnd()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (a && b) { a(); } else { b(); }\",\n+@\"if (!a || !b) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestAnd2()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (!a && !b) { a(); } else { b(); }\",\n+@\"if (a || b) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestParenthesizeAndForPrecedence()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (a && b || c) { a(); } else { b(); }\",\n+@\"if ((!a || !b) && !c) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestPlus()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (a + b) { a(); } else { b(); }\",\n+@\"if (!(a + b)) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestTrue()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (true) { a(); } else { b(); }\",\n+@\"if (false) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestFalse()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (false) { a(); } else { b(); }\",\n+@\"if (true) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestTrueAndFalse()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (true && false) { a(); } else { b(); }\",\n+@\"if (false || true) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestNoCurlyBraces()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (a) a(); else b();\",\n+@\"if (!a) b(); else a();\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestCurlyBracesOnIf()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (a) { a(); } else b();\",\n+@\"if (!a) b(); else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestCurlyBracesOnElse()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (a) a(); else { b(); }\",\n+@\"if (!a) { b(); } else a();\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestIfElseIf()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (a) { a(); } else if (b) { b(); }\",\n+@\"if (!a) { if (b) { b(); } } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestIfElseIf2()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (a) { a(); } else if (b) { b(); } else { c(); }\",\n+@\"if (!a) { if (b) { b(); } else { c(); } } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestNested()\n+        {\n+            await TestFixOneAsync(\n+@\"[||]if (((a == b) && (c != d)) || ((e < f) && (!g))) { a(); } else { b(); }\",\n+@\"if ((a != b || c == d) && (e >= f || g)) { b(); } else { a(); }\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestKeepTriviaWithinExpression()\n+        {\n+            await TestInRegularAndScriptAsync(\n+@\"class A\n+{\n+    void Goo()\n+    {\n+        [||]if (a ||\n+        b &&\n+        c < // comment\n+        d)\n+        {\n+            a();\n+        }\n+        else\n+        {\n+            b();\n+        }\n+    }\n+}\",\n+@\"class A\n+{\n+    void Goo()\n+    {\n+        if (!a &&\n+        (!b ||\n+        c >= // comment\n+        d))\n+        {\n+            b();\n+        }\n+        else\n+        {\n+            a();\n+        }\n+    }\n+}\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestMultiLineElseIf()\n+        {\n+            await TestInRegularAndScriptAsync(\n+@\"class A\n+{\n+    void Goo()\n+    {\n+        [||]if (a)\n+        {\n+            a();\n+        }\n+        else if (b)\n+        {\n+            b();\n+        }\n+        else\n+        {\n+            c();\n+        }\n+    }\n+}\",\n+@\"class A\n+{\n+    void Goo()\n+    {\n+        if (!a)\n+        {\n+            if (b)\n+            {\n+                b();\n+            }\n+            else\n+            {\n+                c();\n+            }\n+        }\n+        else\n+        {\n+            a();\n+        }\n+    }\n+}\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestMultiLineTrivia()\n+        {\n+            await TestInRegularAndScriptAsync(\n+@\"class A\n+{\n+    void Goo()\n+    { /*1*/\n+        [||]if (a) /*2*/\n+        { /*3*/\n+            /*4*/\n+            goo(); /*5*/\n+            /*6*/\n+        } /*7*/\n+        else if (b) /*8*/\n+        { /*9*/\n+            /*10*/\n+            goo(); /*11*/\n+            /*12*/\n+        } /*13*/\n+        else /*14*/\n+        { /*15*/\n+            /*16*/\n+            goo(); /*17*/\n+            /*18*/\n+        } /*19*/\n+        /*20*/\n+    }\n+}\",\n+@\"class A\n+{\n+    void Goo()\n+    { /*1*/\n+        if (!a) /*2*/\n+        {\n+            if (b) /*8*/\n+            { /*9*/\n+              /*10*/\n+                goo(); /*11*/\n+                       /*12*/\n+            } /*13*/\n+            else /*14*/\n+            { /*15*/\n+              /*16*/\n+                goo(); /*17*/\n+                       /*18*/\n+            } /*19*/\n+        }\n+        else\n+        { /*3*/\n+            /*4*/\n+            goo(); /*5*/\n+            /*6*/\n+        } /*7*/\n+        /*20*/\n+    }\n+}\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestMissingOnNonEmptySpan()\n+        {\n+            await TestMissingInRegularAndScriptAsync(\n+@\"class C\n+{\n+    void F()\n+    {\n+        [|if (a)\n+        {\n+            a();\n+        }\n+        else\n+        {\n+            b();\n+        }|]\n+    }\n+}\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestOverlapsHiddenPosition1()\n+        {\n+            await TestMissingInRegularAndScriptAsync(\n+@\"class C\n+{\n+    void F()\n+    {\n+#line hidden\n+        [||]if (a)\n+        {\n+            a();\n+        }\n+        else\n+        {\n+            b();\n+        }\n+#line default\n+    }\n+}\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestOverlapsHiddenPosition2()\n+        {\n+            await TestMissingInRegularAndScriptAsync(\n+@\"class C\n+{\n+    void F()\n+    {\n+        [||]if (a)\n+        {\n+#line hidden\n+            a();\n+#line default\n+        }\n+        else\n+        {\n+            b();\n+        }\n+    }\n+}\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestOverlapsHiddenPosition3()\n+        {\n+            await TestMissingInRegularAndScriptAsync(\n+@\"class C\n+{\n+    void F()\n+    {\n+        [||]if (a)\n+        {\n+            a();\n+        }\n+        else\n+        {\n+#line hidden\n+            b();\n+#line default\n+        }\n+    }\n+}\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestOverlapsHiddenPosition4()\n+        {\n+            await TestMissingInRegularAndScriptAsync(\n+@\"class C\n+{\n+    void F()\n+    {\n+        [||]if (a)\n+        {\n+#line hidden\n+            a();\n+        }\n+        else\n+        {\n+            b();\n+#line default\n+        }\n+    }\n+}\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestOverlapsHiddenPosition5()\n+        {\n+            await TestMissingInRegularAndScriptAsync(\n+@\"class C\n+{\n+    void F()\n+    {\n+        [||]if (a)\n+        {\n+            a();\n+#line hidden\n+        }\n+        else\n+        {\n+#line default\n+            b();\n+        }\n+    }\n+}\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestOverlapsHiddenPosition6()\n+        {\n+            await TestInRegularAndScriptAsync(\n+@\"\n+#line hidden\n+class C \n+{\n+    void F()\n+    {\n+#line default\n+        [||]if (a)\n+        {\n+            a();\n+        }\n+        else\n+        {\n+            b();\n+        }\n+    }\n+}\",\n+\n+@\"\n+#line hidden\n+class C \n+{\n+    void F()\n+    {\n+#line default\n+        if (!a)\n+        {\n+            b();\n+        }\n+        else\n+        {\n+            a();\n+        }\n+    }\n+}\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestOverlapsHiddenPosition7()\n+        {\n+            await TestInRegularAndScriptAsync(\n+@\"\n+#line hidden\n+class C \n+{\n+    void F()\n+    {\n+#line default\n+        [||]if (a)\n+        {\n+            a();\n+        }\n+        else\n+        {\n+            b();\n+        }\n+#line hidden\n+    }\n+}\n+#line default\",\n+\n+@\"\n+#line hidden\n+class C \n+{\n+    void F()\n+    {\n+#line default\n+        if (!a)\n+        {\n+            b();\n+        }\n+        else\n+        {\n+            a();\n+        }\n+#line hidden\n+    }\n+}\n+#line default\");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestSimplifyToLengthEqualsZero()\n+        {\n+            await TestFixOneAsync(\n+@\"string x; [||]if (x.Length > 0) { GreaterThanZero(); } else { EqualsZero(); } } } \",\n+@\"string x; if (x.Length == 0) { EqualsZero(); } else { GreaterThanZero(); } } } \");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestSimplifyToLengthEqualsZero2()\n+        {\n+            await TestFixOneAsync(\n+@\"string[] x; [||]if (x.Length > 0) { GreaterThanZero(); } else { EqualsZero(); } } } \",\n+@\"string[] x; if (x.Length == 0) { EqualsZero(); } else { GreaterThanZero(); } } } \");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestSimplifyToLengthEqualsZero3()\n+        {\n+            await TestFixOneAsync(\n+@\"string x; [||]if (x.Length > 0x0) { a(); } else { b(); } } } \",\n+@\"string x; if (x.Length == 0x0) { b(); } else { a(); } } } \");\n+        }\n+\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestSimplifyToLengthEqualsZero4()\n+        {\n+            await TestFixOneAsync(\n+@\"string x; [||]if (0 < x.Length) { a(); } else { b(); } } } \",\n+@\"string x; if (0 == x.Length) { b(); } else { a(); } } } \");\n+        }\n+\n+        [WorkItem(545986, \"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/545986\")]\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestSimplifyToLengthEqualsZero5()\n+        {\n+            await TestFixOneAsync(\n+@\"byte x = 1; [||]if (0 < x) { a(); } else { b(); } } } \",\n+@\"byte x = 1; if (0 == x) { b(); } else { a(); } } } \");\n+        }\n+\n+        [WorkItem(545986, \"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/545986\")]\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestSimplifyToLengthEqualsZero6()\n+        {\n+            await TestFixOneAsync(\n+@\"ushort x = 1; [||]if (0 < x) { a(); } else { b(); } } } \",\n+@\"ushort x = 1; if (0 == x) { b(); } else { a(); } } } \");\n+        }\n+\n+        [WorkItem(545986, \"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/545986\")]\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestSimplifyToLengthEqualsZero7()\n+        {\n+            await TestFixOneAsync(\n+@\"uint x = 1; [||]if (0 < x) { a(); } else { b(); } } } \",\n+@\"uint x = 1; if (0 == x) { b(); } else { a(); } } } \");\n+        }\n+\n+        [WorkItem(545986, \"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/545986\")]\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestSimplifyToLengthEqualsZero8()\n+        {\n+            await TestFixOneAsync(\n+@\"ulong x = 1; [||]if (0 < x) { a(); } else { b(); } } } \",\n+@\"ulong x = 1; if (0 == x) { b(); } else { a(); } } } \");\n+        }\n+\n+        [WorkItem(545986, \"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/545986\")]\n+        [Fact, Trait(Traits.Feature, Traits.Features.CodeActionsInvertIf)]\n+        public async Task TestSimplifyToLengthEqualsZero9()\n+        {\n+            await TestFixOneAsync(\n+@\"ulong x = 1; [||]if (0 == x) { a(); } else { b(); } } } \",\n+@\"ulong x = 1; if (0 < x) { b(); } else { a(); } } } \");","path":"src/EditorFeatures/CSharpTest/CodeActions/InvertIf/InvertIfTests.cs","position":678,"original_position":678,"commit_id":"09cb9a978e3dcdab7e7e37175064a1b499c9258d","original_commit_id":"09cb9a978e3dcdab7e7e37175064a1b499c9258d","user":{"login":"CyrusNajmabadi","id":4564579,"avatar_url":"https://avatars3.githubusercontent.com/u/4564579?v=4","gravatar_id":"","url":"https://api.github.com/users/CyrusNajmabadi","html_url":"https://github.com/CyrusNajmabadi","followers_url":"https://api.github.com/users/CyrusNajmabadi/followers","following_url":"https://api.github.com/users/CyrusNajmabadi/following{/other_user}","gists_url":"https://api.github.com/users/CyrusNajmabadi/gists{/gist_id}","starred_url":"https://api.github.com/users/CyrusNajmabadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyrusNajmabadi/subscriptions","organizations_url":"https://api.github.com/users/CyrusNajmabadi/orgs","repos_url":"https://api.github.com/users/CyrusNajmabadi/repos","events_url":"https://api.github.com/users/CyrusNajmabadi/events{/privacy}","received_events_url":"https://api.github.com/users/CyrusNajmabadi/received_events","type":"User","site_admin":false},"body":"i do not like that this flipped from ```==``` to  ```<```.  I think flipping hte other direction is fine.  But i do not want my strict equality relationals becoming comparisons.","created_at":"2018-03-27T01:01:10Z","updated_at":"2018-03-27T01:01:10Z","html_url":"https://github.com/dotnet/roslyn/pull/25233#discussion_r177279111","pull_request_url":"https://api.github.com/repos/dotnet/roslyn/pulls/25233","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/177279111"},"html":{"href":"https://github.com/dotnet/roslyn/pull/25233#discussion_r177279111"},"pull_request":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/25233"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/25233","id":172994186,"html_url":"https://github.com/dotnet/roslyn/pull/25233","diff_url":"https://github.com/dotnet/roslyn/pull/25233.diff","patch_url":"https://github.com/dotnet/roslyn/pull/25233.patch","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/25233","number":25233,"state":"open","locked":false,"title":"Enable InvertIf","user":{"login":"chborl","id":25776963,"avatar_url":"https://avatars0.githubusercontent.com/u/25776963?v=4","gravatar_id":"","url":"https://api.github.com/users/chborl","html_url":"https://github.com/chborl","followers_url":"https://api.github.com/users/chborl/followers","following_url":"https://api.github.com/users/chborl/following{/other_user}","gists_url":"https://api.github.com/users/chborl/gists{/gist_id}","starred_url":"https://api.github.com/users/chborl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chborl/subscriptions","organizations_url":"https://api.github.com/users/chborl/orgs","repos_url":"https://api.github.com/users/chborl/repos","events_url":"https://api.github.com/users/chborl/events{/privacy}","received_events_url":"https://api.github.com/users/chborl/received_events","type":"User","site_admin":false},"body":"PR to reenable the InvertIf feature.  ","created_at":"2018-03-05T21:40:11Z","updated_at":"2018-03-27T01:01:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dc20aba722ba0dd4adeb4857b9bd5518c8104297","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[{"name":"roslyn-ide","id":1781706,"slug":"roslyn-ide","description":"Roslyn IDE Team","privacy":"closed","url":"https://api.github.com/teams/1781706","members_url":"https://api.github.com/teams/1781706/members{/member}","repositories_url":"https://api.github.com/teams/1781706/repos","permission":"pull"}],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/roslyn/pulls/25233/commits","review_comments_url":"https://api.github.com/repos/dotnet/roslyn/pulls/25233/comments","review_comment_url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/25233/comments","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/09cb9a978e3dcdab7e7e37175064a1b499c9258d","head":{"label":"chborl:enableinvertif","ref":"enableinvertif","sha":"09cb9a978e3dcdab7e7e37175064a1b499c9258d","user":{"login":"chborl","id":25776963,"avatar_url":"https://avatars0.githubusercontent.com/u/25776963?v=4","gravatar_id":"","url":"https://api.github.com/users/chborl","html_url":"https://github.com/chborl","followers_url":"https://api.github.com/users/chborl/followers","following_url":"https://api.github.com/users/chborl/following{/other_user}","gists_url":"https://api.github.com/users/chborl/gists{/gist_id}","starred_url":"https://api.github.com/users/chborl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chborl/subscriptions","organizations_url":"https://api.github.com/users/chborl/orgs","repos_url":"https://api.github.com/users/chborl/repos","events_url":"https://api.github.com/users/chborl/events{/privacy}","received_events_url":"https://api.github.com/users/chborl/received_events","type":"User","site_admin":false},"repo":{"id":86380614,"name":"roslyn","full_name":"chborl/roslyn","owner":{"login":"chborl","id":25776963,"avatar_url":"https://avatars0.githubusercontent.com/u/25776963?v=4","gravatar_id":"","url":"https://api.github.com/users/chborl","html_url":"https://github.com/chborl","followers_url":"https://api.github.com/users/chborl/followers","following_url":"https://api.github.com/users/chborl/following{/other_user}","gists_url":"https://api.github.com/users/chborl/gists{/gist_id}","starred_url":"https://api.github.com/users/chborl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chborl/subscriptions","organizations_url":"https://api.github.com/users/chborl/orgs","repos_url":"https://api.github.com/users/chborl/repos","events_url":"https://api.github.com/users/chborl/events{/privacy}","received_events_url":"https://api.github.com/users/chborl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chborl/roslyn","description":"The .NET Compiler Platform (\"Roslyn\") provides open-source C# and Visual Basic compilers with rich code analysis APIs.","fork":true,"url":"https://api.github.com/repos/chborl/roslyn","forks_url":"https://api.github.com/repos/chborl/roslyn/forks","keys_url":"https://api.github.com/repos/chborl/roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chborl/roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chborl/roslyn/teams","hooks_url":"https://api.github.com/repos/chborl/roslyn/hooks","issue_events_url":"https://api.github.com/repos/chborl/roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/chborl/roslyn/events","assignees_url":"https://api.github.com/repos/chborl/roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/chborl/roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/chborl/roslyn/tags","blobs_url":"https://api.github.com/repos/chborl/roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chborl/roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chborl/roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/chborl/roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chborl/roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/chborl/roslyn/languages","stargazers_url":"https://api.github.com/repos/chborl/roslyn/stargazers","contributors_url":"https://api.github.com/repos/chborl/roslyn/contributors","subscribers_url":"https://api.github.com/repos/chborl/roslyn/subscribers","subscription_url":"https://api.github.com/repos/chborl/roslyn/subscription","commits_url":"https://api.github.com/repos/chborl/roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/chborl/roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/chborl/roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/chborl/roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/chborl/roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/chborl/roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chborl/roslyn/merges","archive_url":"https://api.github.com/repos/chborl/roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chborl/roslyn/downloads","issues_url":"https://api.github.com/repos/chborl/roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/chborl/roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/chborl/roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/chborl/roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chborl/roslyn/labels{/name}","releases_url":"https://api.github.com/repos/chborl/roslyn/releases{/id}","deployments_url":"https://api.github.com/repos/chborl/roslyn/deployments","created_at":"2017-03-27T20:24:35Z","updated_at":"2018-03-26T21:25:43Z","pushed_at":"2018-03-27T00:48:13Z","git_url":"git://github.com/chborl/roslyn.git","ssh_url":"git@github.com:chborl/roslyn.git","clone_url":"https://github.com/chborl/roslyn.git","svn_url":"https://github.com/chborl/roslyn","homepage":"","size":305885,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"10177d01ef4aa9eb9588c0459cd0ba9589825df9","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","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":29078997,"name":"roslyn","full_name":"dotnet/roslyn","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","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/roslyn","description":"The .NET Compiler Platform (\"Roslyn\") provides open-source C# and Visual Basic compilers with rich code analysis APIs.","fork":false,"url":"https://api.github.com/repos/dotnet/roslyn","forks_url":"https://api.github.com/repos/dotnet/roslyn/forks","keys_url":"https://api.github.com/repos/dotnet/roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/roslyn/teams","hooks_url":"https://api.github.com/repos/dotnet/roslyn/hooks","issue_events_url":"https://api.github.com/repos/dotnet/roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/roslyn/events","assignees_url":"https://api.github.com/repos/dotnet/roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/roslyn/tags","blobs_url":"https://api.github.com/repos/dotnet/roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/roslyn/languages","stargazers_url":"https://api.github.com/repos/dotnet/roslyn/stargazers","contributors_url":"https://api.github.com/repos/dotnet/roslyn/contributors","subscribers_url":"https://api.github.com/repos/dotnet/roslyn/subscribers","subscription_url":"https://api.github.com/repos/dotnet/roslyn/subscription","commits_url":"https://api.github.com/repos/dotnet/roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/roslyn/merges","archive_url":"https://api.github.com/repos/dotnet/roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/roslyn/downloads","issues_url":"https://api.github.com/repos/dotnet/roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/roslyn/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/roslyn/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/roslyn/deployments","created_at":"2015-01-11T02:39:03Z","updated_at":"2018-03-27T00:26:50Z","pushed_at":"2018-03-27T00:48:15Z","git_url":"git://github.com/dotnet/roslyn.git","ssh_url":"git@github.com:dotnet/roslyn.git","clone_url":"https://github.com/dotnet/roslyn.git","svn_url":"https://github.com/dotnet/roslyn","homepage":"","size":322842,"stargazers_count":9053,"watchers_count":9053,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2179,"mirror_url":null,"archived":false,"open_issues_count":4656,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":2179,"open_issues":4656,"watchers":9053,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/25233"},"html":{"href":"https://github.com/dotnet/roslyn/pull/25233"},"issue":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/25233"},"comments":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/25233/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/25233/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/25233/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/roslyn/statuses/09cb9a978e3dcdab7e7e37175064a1b499c9258d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"CyrusNajmabadi"}}