From 840654524e597d5e5675dd8e0c40c00be4fe0488 Mon Sep 17 00:00:00 2001 From: Mark van Renswoude Date: Wed, 23 Nov 2022 09:25:46 +0100 Subject: [PATCH] Fixed build --- Tapeti.Flow/Default/FlowBindingMiddleware.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Tapeti.Flow/Default/FlowBindingMiddleware.cs b/Tapeti.Flow/Default/FlowBindingMiddleware.cs index 8fd3d20..c5db483 100644 --- a/Tapeti.Flow/Default/FlowBindingMiddleware.cs +++ b/Tapeti.Flow/Default/FlowBindingMiddleware.cs @@ -10,6 +10,17 @@ using Tapeti.Helpers; namespace Tapeti.Flow.Default { + #if !NET7_0_OR_GREATER + #pragma warning disable CS1591 + public class UnreachableException : Exception + { + public UnreachableException(string message) : base(message) + { + } + } + #pragma warning restore CS1591 + #endif + internal class FlowBindingMiddleware : IControllerBindingMiddleware { public void Handle(IControllerBindingContext context, Action next)