-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving the reflection based prototype into a separate folder
- Loading branch information
1 parent
d340a62
commit 7627edb
Showing
3 changed files
with
25 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace ExampleApp; | ||
|
||
internal static class Program | ||
{ | ||
private static void Main() | ||
{ | ||
JS_Tools.ValueEquality.CheckAssembly(); | ||
|
||
// rest of your code goes here | ||
} | ||
} |
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,12 @@ | ||
# Reflection based prototype | ||
|
||
This is some earlier work on using reflection at runtime to search for problematic records. Use the Roslyn code analyser in preference to this. | ||
|
||
Call the method once at the start of your `main()` method. The code is DEBUG mode only, and is not compiled in RELEASE mode. In `main` add: | ||
|
||
``` | ||
JS_Tools.ValueEquality.CheckAssembly(); | ||
``` | ||
|
||
It will throw a `ValueEqualityException` if any problems are detected. |
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