From 79c261736bf6a6b2018813f4e33519cab4256fb0 Mon Sep 17 00:00:00 2001 From: Nikolaj Bjorner Date: Tue, 13 Jul 2021 19:50:41 +0200 Subject: [PATCH] charsort Signed-off-by: Nikolaj Bjorner --- src/api/dotnet/Context.cs | 4 ++-- src/api/dotnet/SeqSort.cs | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/api/dotnet/Context.cs b/src/api/dotnet/Context.cs index e63f86ca0..d40281a81 100644 --- a/src/api/dotnet/Context.cs +++ b/src/api/dotnet/Context.cs @@ -156,11 +156,11 @@ namespace Microsoft.Z3 /// /// Retrieves the String sort of the context. /// - public SeqSort CharSort + public CharSort CharSort { get { - if (m_charSort == null) m_charSort = new CharSort(this, Native.Z3_mk_char_sort(nCtx)); return m_charSort; + if (m_charSort == null) m_charSort = new CharSort(this); return m_charSort; } } diff --git a/src/api/dotnet/SeqSort.cs b/src/api/dotnet/SeqSort.cs index 2902b1e9e..ae57885ca 100644 --- a/src/api/dotnet/SeqSort.cs +++ b/src/api/dotnet/SeqSort.cs @@ -33,11 +33,6 @@ namespace Microsoft.Z3 { Debug.Assert(ctx != null); } - internal SeqSort(Context ctx) - : base(ctx, Native.Z3_mk_int_sort(ctx.nCtx)) - { - Debug.Assert(ctx != null); - } #endregion } }