Fix nullability of parameter

This commit is contained in:
2024-10-16 14:29:51 +02:00
parent 25eae4061b
commit 818240fcea
6 changed files with 7 additions and 7 deletions
@@ -9,7 +9,7 @@ public class ObjectExtensionsTests
[TestMethod]
public void ThrowIfNull_NetCore_ThrowsWithCorrectName()
{
object obj = null;
object? obj = null;
try
{
System.Core.Extensions.ObjectExtensions.ThrowIfNull(obj);
@@ -26,7 +26,7 @@ public class ObjectExtensionsTests
[TestMethod]
public void ThrowIfNull_NetStandard_ThrowsWithCorrectName()
{
object obj = null;
object? obj = null;
try
{
ObjectExtensions.ThrowIfNull(obj, nameof(obj));