From a0875717d8a3b214a6ed9727a300b1a53b10b33f Mon Sep 17 00:00:00 2001 From: Niko Uusitalo <983351+nikouu@users.noreply.github.com> Date: Mon, 14 Oct 2024 18:45:27 +1300 Subject: [PATCH] pragma warning disable for ServiceRegistrationTests --- .../ServiceRegistration/ServiceRegistrationTests.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ZeroRedact.UnitTest/ServiceRegistration/ServiceRegistrationTests.cs b/src/ZeroRedact.UnitTest/ServiceRegistration/ServiceRegistrationTests.cs index d00f2ab..c1703af 100644 --- a/src/ZeroRedact.UnitTest/ServiceRegistration/ServiceRegistrationTests.cs +++ b/src/ZeroRedact.UnitTest/ServiceRegistration/ServiceRegistrationTests.cs @@ -1,4 +1,7 @@ -using Microsoft.Extensions.DependencyInjection; +#pragma warning disable CS8600 // Converting null literal or possible null value to non-nullable type. +#pragma warning disable CS8602 // Dereference of a possibly null reference. +#pragma warning disable CS8604 // Possible null reference argument. +using Microsoft.Extensions.DependencyInjection; namespace ZeroRedact.UnitTest.ServiceRegistration {