From 2e60bb517a13e3a7fbd99cc60b4ab407d985dbb1 Mon Sep 17 00:00:00 2001 From: Sebastien Lebreton Date: Fri, 30 Aug 2024 10:21:10 +0200 Subject: [PATCH] Update suppressions --- src/.editorconfig | 1 + src/Microsoft.Unity.Analyzers/Nullability.cs | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/.editorconfig b/src/.editorconfig index 129ba53..f55e581 100644 --- a/src/.editorconfig +++ b/src/.editorconfig @@ -143,6 +143,7 @@ dotnet_diagnostic.CA2007.severity = none dotnet_diagnostic.CA2211.severity = none dotnet_diagnostic.IDE1006.severity = none dotnet_diagnostic.IDE0060.severity = none +dotnet_diagnostic.IDE0130.severity = none dotnet_diagnostic.RS2008.severity = none # C++ Files diff --git a/src/Microsoft.Unity.Analyzers/Nullability.cs b/src/Microsoft.Unity.Analyzers/Nullability.cs index 134af43..4be8c66 100644 --- a/src/Microsoft.Unity.Analyzers/Nullability.cs +++ b/src/Microsoft.Unity.Analyzers/Nullability.cs @@ -3,9 +3,7 @@ * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------------------------------*/ -#pragma warning disable IDE0130 namespace System.Diagnostics.CodeAnalysis; -#pragma warning restore IDE0130 [AttributeUsage(AttributeTargets.Parameter)] internal sealed class NotNullWhenAttribute(bool returnValue) : Attribute