mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
Managed API: Refactoring and formatting.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
edc9dccbcf
commit
7defd469bb
52 changed files with 2006 additions and 1657 deletions
48
src/api/dotnet/BitVecExpr.cs
Normal file
48
src/api/dotnet/BitVecExpr.cs
Normal file
|
@ -0,0 +1,48 @@
|
|||
/*++
|
||||
Copyright (<c>) 2012 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
BitVecExpr.cs
|
||||
|
||||
Abstract:
|
||||
|
||||
Z3 Managed API: BitVec Expressions
|
||||
|
||||
Author:
|
||||
|
||||
Christoph Wintersteiger (cwinter) 2012-11-23
|
||||
|
||||
Notes:
|
||||
|
||||
--*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
using System.Diagnostics.Contracts;
|
||||
|
||||
namespace Microsoft.Z3
|
||||
{
|
||||
/// <summary>
|
||||
/// Bit-vector expressions
|
||||
/// </summary>
|
||||
public class BitVecExpr : Expr
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// The size of the sort of a bit-vector term.
|
||||
/// </summary>
|
||||
public uint SortSize
|
||||
{
|
||||
get { return ((BitVecSort)Sort).Size; }
|
||||
}
|
||||
|
||||
#region Internal
|
||||
/// <summary> Constructor for BitVecExpr </summary>
|
||||
internal protected BitVecExpr(Context ctx) : base(ctx) { Contract.Requires(ctx != null); }
|
||||
internal BitVecExpr(Context ctx, IntPtr obj) : base(ctx, obj) { Contract.Requires(ctx != null); }
|
||||
#endregion
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue