-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require stub With method in order to satisfy IntelliSense and Resharper
- Loading branch information
1 parent
32166ea
commit 6d14964
Showing
13 changed files
with
109 additions
and
40 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace AssemblyToProcess | ||
namespace AssemblyToProcess | ||
{ | ||
public class NoConstructor | ||
{ | ||
public int Value1 { get; set; } | ||
|
||
public string Value2 { get; set; } | ||
|
||
public NoConstructor With(object value) => this; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace AssemblyToProcess | ||
{ | ||
public class NoWithStub | ||
{ | ||
public NoWithStub(int value1, string value2) | ||
{ | ||
this.Value1 = value1; | ||
this.Value2 = value2; | ||
} | ||
|
||
public int Value1 { get; set; } | ||
|
||
public string Value2 { get; set; } | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,27 @@ | ||
| ||
namespace AssemblyToProcess | ||
{ | ||
using System; | ||
|
||
public class PropertiesOfSameType | ||
{ | ||
public PropertiesOfSameType(int value1, int value2, int value3) | ||
public PropertiesOfSameType(int? value1, int? value2, int? value3) | ||
{ | ||
this.Value1 = value1; | ||
this.Value2 = value2; | ||
this.Value3 = value3; | ||
} | ||
|
||
public int Value1 { get; } | ||
public int? Value1 { get; } | ||
|
||
public int? Value2 { get; } | ||
|
||
public int? Value3 { get; } | ||
|
||
public PropertiesOfSameType WithValue1(object value) => this; | ||
|
||
public int Value2 { get; } | ||
public PropertiesOfSameType WithValue2(object value) => this; | ||
|
||
public int Value3 { get; } | ||
public PropertiesOfSameType WithValue3(object value) => this; | ||
} | ||
} |
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,18 @@ | ||
| ||
namespace AssemblyToProcess | ||
{ | ||
public class PropertyCasing | ||
{ | ||
public PropertyCasing(int value1, string value2) | ||
{ | ||
this.VALUE1 = value1; | ||
this.vaLue2 = value2; | ||
} | ||
|
||
public int VALUE1 { get; } | ||
|
||
public string vaLue2 { get; } | ||
|
||
public PropertyCasing With(object value) => this; | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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