3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 20:05:51 +00:00

Managed API: bugfixes

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2012-11-28 22:20:02 +00:00
parent 00ebabcc6e
commit 1ed4e7c480
3 changed files with 11 additions and 7 deletions

View file

@ -113,7 +113,6 @@ namespace Microsoft.Z3
get
{
Contract.Ensures(Contract.Result<BoolSort>() != null);
if (m_boolSort == null) m_boolSort = new BoolSort(this); return m_boolSort;
}
}
@ -134,7 +133,14 @@ namespace Microsoft.Z3
/// <summary>
/// Retrieves the Real sort of the context.
/// </summary>
public RealSort RealSort { get { Contract.Ensures(Contract.Result<RealSort>() != null); if (m_realSort == null) m_realSort = new RealSort(this); return m_realSort; } }
public RealSort RealSort
{
get
{
Contract.Ensures(Contract.Result<RealSort>() != null);
if (m_realSort == null) m_realSort = new RealSort(this); return m_realSort;
}
}
/// <summary>
/// Create a new Boolean sort.