diff --git a/Tapeti.Cmd/ConsoleHelper/ConsoleWrapper.cs b/Tapeti.Cmd/ConsoleHelper/ConsoleWrapper.cs index 05f8541..4f5aaee 100644 --- a/Tapeti.Cmd/ConsoleHelper/ConsoleWrapper.cs +++ b/Tapeti.Cmd/ConsoleHelper/ConsoleWrapper.cs @@ -144,7 +144,7 @@ namespace Tapeti.Cmd.ConsoleHelper public void Confirm(string message) { WriteLine(message); - TryReadKey(false, out var _); + TryReadKey(false, out _); } diff --git a/Tapeti.Cmd/Verbs/PurgeVerb.cs b/Tapeti.Cmd/Verbs/PurgeVerb.cs index bd99cd2..9d7edd2 100644 --- a/Tapeti.Cmd/Verbs/PurgeVerb.cs +++ b/Tapeti.Cmd/Verbs/PurgeVerb.cs @@ -1,5 +1,4 @@ -using System; -using CommandLine; +using CommandLine; using RabbitMQ.Client; using Tapeti.Cmd.ConsoleHelper; diff --git a/Tapeti.Cmd/Verbs/RemoveQueueVerb.cs b/Tapeti.Cmd/Verbs/RemoveQueueVerb.cs index 59066c3..9b7695b 100644 --- a/Tapeti.Cmd/Verbs/RemoveQueueVerb.cs +++ b/Tapeti.Cmd/Verbs/RemoveQueueVerb.cs @@ -1,5 +1,4 @@ -using System; -using CommandLine; +using CommandLine; using RabbitMQ.Client; using RabbitMQ.Client.Exceptions; using Tapeti.Cmd.ConsoleHelper; diff --git a/Tapeti.Flow/Default/FlowStore.cs b/Tapeti.Flow/Default/FlowStore.cs index 2a9a8ad..9f3b508 100644 --- a/Tapeti.Flow/Default/FlowStore.cs +++ b/Tapeti.Flow/Default/FlowStore.cs @@ -30,7 +30,7 @@ namespace Tapeti.Flow.Default private readonly ConcurrentDictionary flowStates = new ConcurrentDictionary(); private readonly ConcurrentDictionary continuationLookup = new ConcurrentDictionary(); private readonly LockCollection locks = new LockCollection(EqualityComparer.Default); - private HashSet validatedMethods = null; + private HashSet validatedMethods; private readonly IFlowRepository repository; private readonly ITapetiConfig config; diff --git a/Tapeti.Flow/FlowHelpers/MethodSerializer.cs b/Tapeti.Flow/FlowHelpers/MethodSerializer.cs index 1784873..9f8b09e 100644 --- a/Tapeti.Flow/FlowHelpers/MethodSerializer.cs +++ b/Tapeti.Flow/FlowHelpers/MethodSerializer.cs @@ -1,5 +1,4 @@ -using System; -using System.Reflection; +using System.Reflection; using System.Text.RegularExpressions; namespace Tapeti.Flow.FlowHelpers diff --git a/Tapeti/Config/IMessageContext.cs b/Tapeti/Config/IMessageContext.cs index e3a0e05..ac6a0e5 100644 --- a/Tapeti/Config/IMessageContext.cs +++ b/Tapeti/Config/IMessageContext.cs @@ -1,6 +1,7 @@ using System; // ReSharper disable UnusedMemberInSuper.Global - public API +// ReSharper disable UnusedMember.Global namespace Tapeti.Config { diff --git a/Tapeti/Default/ConsoleLogger.cs b/Tapeti/Default/ConsoleLogger.cs index d2787f3..ff1f626 100644 --- a/Tapeti/Default/ConsoleLogger.cs +++ b/Tapeti/Default/ConsoleLogger.cs @@ -3,6 +3,8 @@ using System.Collections.Generic; using System.Text; using Tapeti.Config; +// ReSharper disable UnusedMember.Global - public API + namespace Tapeti.Default { /// @@ -17,9 +19,6 @@ namespace Tapeti.Default /// public class WithMessageLogging : ConsoleLogger { - /// - public WithMessageLogging() : base() { } - internal override bool IncludeMessageBody() => true; }