-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use built-in
NullabilityInfoContext
when available
- Loading branch information
Showing
4 changed files
with
8 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -9,10 +9,11 @@ namespace Chr.Avro.Abstract | |
using System.Runtime.Serialization; | ||
using System.Text.RegularExpressions; | ||
using Chr.Avro.Infrastructure; | ||
#if !NET6_0_OR_GREATER | ||
using NullabilityInfoContext = Chr.Avro.Infrastructure.NullabilityInfoContext; | ||
using NullabilityState = Chr.Avro.Infrastructure.NullabilityState; | ||
using NullabilityInfo = Chr.Avro.Infrastructure.NullabilityInfo; | ||
Check warning on line 15 in src/Chr.Avro/Abstract/RecordSchemaBuilderCase.cs GitHub Actions / Run library tests (net462, windows-latest)
|
||
|
||
#endif | ||
|
||
/// <summary> | ||
/// Implements a <see cref="SchemaBuilder" /> case that matches any non-array or non-primitive | ||
|
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