From 7be6e8dfd94d04d7324e4de8e29d0836b0b74a01 Mon Sep 17 00:00:00 2001 From: xtqqczze <45661989+xtqqczze@users.noreply.github.com> Date: Mon, 8 Apr 2024 21:55:56 +0100 Subject: [PATCH] fixup! --- .../src/System/Net/Security/NetSecurityTelemetry.cs | 2 -- .../src/System/SearchValues/ProbabilisticMap.cs | 1 - .../System.Private.CoreLib/src/System/SpanHelpers.Packed.cs | 1 - .../System.Private.CoreLib/src/System/SpanHelpers.T.cs | 1 - 4 files changed, 5 deletions(-) diff --git a/src/libraries/System.Net.Security/src/System/Net/Security/NetSecurityTelemetry.cs b/src/libraries/System.Net.Security/src/System/Net/Security/NetSecurityTelemetry.cs index a2d4e411e75af5..c751742175af92 100644 --- a/src/libraries/System.Net.Security/src/System/Net/Security/NetSecurityTelemetry.cs +++ b/src/libraries/System.Net.Security/src/System/Net/Security/NetSecurityTelemetry.cs @@ -164,7 +164,6 @@ public void HandshakeFailed(bool isServer, long startingTimestamp, string except HandshakeStop(SslProtocols.None); } -#pragma warning disable IDE0060 // https://github.com/dotnet/roslyn-analyzers/issues/6228 [NonEvent] public void HandshakeCompleted(SslProtocols protocol, long startingTimestamp, bool connectionOpen) { @@ -213,7 +212,6 @@ public void HandshakeCompleted(SslProtocols protocol, long startingTimestamp, bo HandshakeStop(protocol); } -#pragma warning restore IDE0060 // https://github.com/dotnet/roslyn-analyzers/issues/6228 [NonEvent] public void ConnectionClosed(SslProtocols protocol) diff --git a/src/libraries/System.Private.CoreLib/src/System/SearchValues/ProbabilisticMap.cs b/src/libraries/System.Private.CoreLib/src/System/SearchValues/ProbabilisticMap.cs index 076340bebebad9..60f9ea43f1cf9d 100644 --- a/src/libraries/System.Private.CoreLib/src/System/SearchValues/ProbabilisticMap.cs +++ b/src/libraries/System.Private.CoreLib/src/System/SearchValues/ProbabilisticMap.cs @@ -10,7 +10,6 @@ using System.Runtime.Intrinsics.Wasm; using System.Runtime.Intrinsics.X86; - namespace System.Buffers { /// Data structure used to optimize checks for whether a char is in a set of chars. diff --git a/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Packed.cs b/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Packed.cs index 37f90c695090c2..99232b3a7f7d78 100644 --- a/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Packed.cs +++ b/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Packed.cs @@ -7,7 +7,6 @@ using System.Runtime.Intrinsics; using System.Runtime.Intrinsics.X86; - #pragma warning disable 8500 // sizeof of managed types namespace System diff --git a/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs b/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs index ee378b7646b5cb..0bf32e62744023 100644 --- a/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs +++ b/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs @@ -8,7 +8,6 @@ using System.Runtime.InteropServices; using System.Runtime.Intrinsics; - #pragma warning disable 8500 // sizeof of managed types namespace System