-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge nullable reference type support
- Loading branch information
Showing
14 changed files
with
1,366 additions
and
189 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
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,56 @@ | ||
#pragma warning disable CS8618 | ||
|
||
namespace Chr.Avro.Fixtures | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
public class NullableMemberClass | ||
{ | ||
public Guid ObliviousGuidProperty { get; set; } | ||
|
||
public Guid? ObliviousNullableGuidProperty { get; set; } | ||
|
||
public string ObliviousStringProperty { get; set; } | ||
|
||
public string[] ObliviousArrayOfStringsProperty { get; set; } | ||
|
||
public List<string> ObliviousListOfStringsProperty { get; set; } | ||
|
||
public Dictionary<string, object> ObliviousDictionaryOfObjectsProperty { get; set; } | ||
|
||
#nullable enable | ||
public Guid GuidProperty { get; set; } | ||
|
||
public Guid? NullableGuidProperty { get; set; } | ||
|
||
public string StringProperty { get; set; } | ||
|
||
public string? NullableStringProperty { get; set; } | ||
|
||
public string[] ArrayOfStringsProperty { get; set; } | ||
|
||
public string?[] ArrayOfNullableStringsProperty { get; set; } | ||
|
||
public string[]? NullableArrayOfStringsProperty { get; set; } | ||
|
||
public string?[]? NullableArrayOfNullableStringsProperty { get; set; } | ||
|
||
public List<string> ListOfStringsProperty { get; set; } | ||
|
||
public List<string?> ListOfNullableStringsProperty { get; set; } | ||
|
||
public List<string>? NullableListOfStringsProperty { get; set; } | ||
|
||
public List<string?>? NullableListOfNullableStringsProperty { get; set; } | ||
|
||
public Dictionary<string, object> DictionaryOfObjectsProperty { get; set; } | ||
|
||
public Dictionary<string, object?> DictionaryOfNullableObjectsProperty { get; set; } | ||
|
||
public Dictionary<string, object>? NullableDictionaryOfObjectsProperty { get; set; } | ||
|
||
public Dictionary<string, object?>? NullableDictionaryOfNullableObjectsProperty { get; set; } | ||
#nullable disable | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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.