Replace traditional if-null-then-throw patterns with the more concise ArgumentNullException.ThrowIfNull() method introduced in .NET 6/C# 10.
Replace traditional if-null-then-throw patterns with the more concise
ArgumentNullException.ThrowIfNull() method introduced in .NET 6/C# 10.