From 7ae5745adf5de888103715b7710b3efb1e784812 Mon Sep 17 00:00:00 2001 From: Jon Sagara Date: Tue, 30 Jun 2020 10:53:08 -0700 Subject: [PATCH] Enable nullable reference types. --- src/CrockfordBase32/CrockfordBase32.csproj | 6 +++++- src/CrockfordBase32/SymbolDefinition.cs | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/CrockfordBase32/CrockfordBase32.csproj b/src/CrockfordBase32/CrockfordBase32.csproj index 4dd27e7..fbe882a 100644 --- a/src/CrockfordBase32/CrockfordBase32.csproj +++ b/src/CrockfordBase32/CrockfordBase32.csproj @@ -3,7 +3,7 @@ netstandard2.0;netstandard2.1 CrockfordBase32 - 2.0.0-alpha2 + 2.0.0-alpha3 Tatham Oddie, jonsagara A .NET Standard implementation of Crockford's Base32 encoding that works great for URLs and humans. Tatham Oddie @@ -27,6 +27,10 @@ $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb + + + 8.0 + enable diff --git a/src/CrockfordBase32/SymbolDefinition.cs b/src/CrockfordBase32/SymbolDefinition.cs index 8ad3c5b..c521ae7 100644 --- a/src/CrockfordBase32/SymbolDefinition.cs +++ b/src/CrockfordBase32/SymbolDefinition.cs @@ -5,7 +5,7 @@ namespace CrockfordBase32 internal class SymbolDefinition { public int Value { get; set; } - public IEnumerable DecodeSymbols { get; set; } + public IEnumerable DecodeSymbols { get; set; } = null!; public char EncodeSymbol { get; set; } } } \ No newline at end of file