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 } }