-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #691 from polyadic/argument-order
- Loading branch information
Showing
11 changed files
with
187 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
Funcky.Analyzers/Funcky.Analyzers.Test/TestCode/RepeatNeverFlipped.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
using System.Linq; | ||
|
||
namespace ConsoleApplication1 | ||
{ | ||
class Program | ||
{ | ||
private void Syntax() | ||
{ | ||
var single = Enumerable.Empty<string>(); | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
Funcky.Analyzers/Funcky.Analyzers.Test/TestCode/RepeatNeverFlipped.input
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
using System.Linq; | ||
|
||
namespace ConsoleApplication1 | ||
{ | ||
class Program | ||
{ | ||
private void Syntax() | ||
{ | ||
var single = Enumerable.Repeat(count: 0, element: "Hello world!"); | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
Funcky.Analyzers/Funcky.Analyzers.Test/TestCode/RepeatOnceFlipped.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
using System.Linq; | ||
using Funcky; | ||
|
||
namespace Funcky | ||
{ | ||
class Sequence | ||
{ | ||
public static string Return(string value) => value; | ||
} | ||
} | ||
|
||
namespace ConsoleApplication1 | ||
{ | ||
class Program | ||
{ | ||
private void Syntax() | ||
{ | ||
var single = Sequence.Return("Hello world!"); | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
Funcky.Analyzers/Funcky.Analyzers.Test/TestCode/RepeatOnceFlipped.input
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
using System.Linq; | ||
using Funcky; | ||
|
||
namespace Funcky | ||
{ | ||
class Sequence | ||
{ | ||
public static string Return(string value) => value; | ||
} | ||
} | ||
|
||
namespace ConsoleApplication1 | ||
{ | ||
class Program | ||
{ | ||
private void Syntax() | ||
{ | ||
var single = Enumerable.Repeat(count: 1, element: "Hello world!"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters