From 9908d795e7756e193d7568a0ed5deeee52f531d0 Mon Sep 17 00:00:00 2001 From: xtqqczze <45661989+xtqqczze@users.noreply.github.com> Date: Fri, 17 Oct 2025 16:36:28 +0100 Subject: [PATCH] Fix SA1505: Opening braces should not be followed by blank line --- src/SoapCore/CachedDataContractSerializer.cs | 1 - src/SoapCore/MemberWithAttribute.cs | 1 - src/SoapCore/SoapEndpointMiddleware.cs | 1 - 3 files changed, 3 deletions(-) diff --git a/src/SoapCore/CachedDataContractSerializer.cs b/src/SoapCore/CachedDataContractSerializer.cs index 0abe0f29..12d2770a 100644 --- a/src/SoapCore/CachedDataContractSerializer.cs +++ b/src/SoapCore/CachedDataContractSerializer.cs @@ -6,7 +6,6 @@ namespace SoapCore { - public static class CachedDataContractSerializer { private static readonly ConcurrentDictionary CachedSerializers = new ConcurrentDictionary(); diff --git a/src/SoapCore/MemberWithAttribute.cs b/src/SoapCore/MemberWithAttribute.cs index 29a06e57..a033aa10 100644 --- a/src/SoapCore/MemberWithAttribute.cs +++ b/src/SoapCore/MemberWithAttribute.cs @@ -7,7 +7,6 @@ namespace SoapCore { - public class MemberWithAttribute(MemberInfo member, TAttribute attribute) where TAttribute : Attribute { diff --git a/src/SoapCore/SoapEndpointMiddleware.cs b/src/SoapCore/SoapEndpointMiddleware.cs index 4d5bcae5..43f3712f 100644 --- a/src/SoapCore/SoapEndpointMiddleware.cs +++ b/src/SoapCore/SoapEndpointMiddleware.cs @@ -836,7 +836,6 @@ private void DeserializeParameters( MessageContractAttribute messageContractAttribute, object[] arguments) { - var messageHeadersMembers = (from p in parameterType.GetPropertyOrFieldMembers() let attr = p.GetCustomAttribute() where attr != null