From 15408d748fa499f327b9ebb5de8870e95e3f5ae3 Mon Sep 17 00:00:00 2001 From: Christophe Chevalier Date: Wed, 3 Jul 2024 18:25:33 +0200 Subject: [PATCH] Tuple: fix TryUnpack that could throw exceptions in some conditions, instead of returning false - fix FailLegacyTupleNotSupported to return an Exception instead of throwing --- Doxense.Core/Tuples/Encoding/TupleParser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doxense.Core/Tuples/Encoding/TupleParser.cs b/Doxense.Core/Tuples/Encoding/TupleParser.cs index 7b1101d1..82ffb1eb 100644 --- a/Doxense.Core/Tuples/Encoding/TupleParser.cs +++ b/Doxense.Core/Tuples/Encoding/TupleParser.cs @@ -1400,7 +1400,7 @@ public static T VisitNext(ref TupleReader reader, Func