Add nullability to nucache & lucene projects

This commit is contained in:
Nikolaj Geisle
2022-03-30 13:34:56 +02:00
parent b52c4e50cf
commit 05a08bef63
105 changed files with 736 additions and 619 deletions

View File

@@ -17,7 +17,7 @@ namespace Umbraco.Cms.Core.Collections
/// <summary>
/// Initializes a new instance of the <see cref="CompositeStringStringKey"/> struct.
/// </summary>
public CompositeStringStringKey(string key1, string key2)
public CompositeStringStringKey(string? key1, string? key2)
{
_key1 = key1?.ToLowerInvariant() ?? throw new ArgumentNullException(nameof(key1));
_key2 = key2?.ToLowerInvariant() ?? throw new ArgumentNullException(nameof(key2));