Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support C# nullable references (#3606)
* feat: support C# nullable references fixes #2690 * Nullable reflection support for .net standard 2.0+ Include source files for targets lower than .net 6.0. * Work with unsupported nullable reflection * Attempt to fix NotImplementedEx. in reflection. Looks like we have our own MemberInfo-derivative. * Add new UseNullableTypesMetadata option * Attempt to ignore warnings from imported c# code. * Nullable Associations Does not apply to collections. * Added tests * Use new ThrowHelper * Maybe fix compilation?? * Fix warning in Release build * Fix runtime targets once more * Upgrade Nullability.Source and fix one build error * Fix lint-errors in CI build * Factor out code dealing with C# NRT * fix merge * Update Source/LinqToDB/Mapping/ColumnDescriptor.cs Co-authored-by: Shane Krueger <shane@acdmail.com> * Update Source/LinqToDB/Mapping/Nullability.cs Co-authored-by: Shane Krueger <shane@acdmail.com> * Update Source/LinqToDB/Mapping/Nullability.cs Co-authored-by: Shane Krueger <shane@acdmail.com> * Update Tests/Linq/Mapping/CanBeNullTests.cs Co-authored-by: Shane Krueger <shane@acdmail.com> * Update Source/LinqToDB/Properties/GlobalSuppressions.cs Co-authored-by: Shane Krueger <shane@acdmail.com> * Update Source/LinqToDB/Mapping/Nullability.cs Co-authored-by: Shane Krueger <shane@acdmail.com> * Update .gitignore Co-authored-by: MaceWindu <MaceWindu@users.noreply.github.com> Co-authored-by: Shane Krueger <shane@acdmail.com>
- Loading branch information
1 parent
13fbe5f
commit 14ee4c8
Showing
15 changed files
with
379 additions
and
53 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 |
---|---|---|
|
@@ -24,3 +24,4 @@ linq2db.sln.ide/ | |
/.temp | ||
.vs/ | ||
packages/ | ||
.vscode/ |
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
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
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
Oops, something went wrong.