diff --git a/Tests/Testably.Abstractions.Testing.Tests/Statistics/StatisticsTests.Helpers.cs b/Tests/Testably.Abstractions.Testing.Tests/Statistics/StatisticsTests.Helpers.cs index 98f780a3f..08fa2a935 100644 --- a/Tests/Testably.Abstractions.Testing.Tests/Statistics/StatisticsTests.Helpers.cs +++ b/Tests/Testably.Abstractions.Testing.Tests/Statistics/StatisticsTests.Helpers.cs @@ -331,6 +331,7 @@ private static string GetName(Type type, bool firstCharUpperCase) return type.Name; } + #pragma warning disable CS0436 // Nullable is also declared in Testable.Abstractions.Testing which internals are visible to this project private static bool HasSpecialNameInLowerCase(Type type, [NotNullWhen(true)] out string? name) { @@ -392,5 +393,6 @@ private static bool HasSpecialNameInUpperCase(Type type, name = null; return false; } + #pragma warning restore CS0436 } }