Z3
SetSort.cs
Go to the documentation of this file.
1 /*++
2 Copyright (c) 2012 Microsoft Corporation
3 
4 Module Name:
5 
6  SetSort.cs
7 
8 Abstract:
9 
10  Z3 Managed API: Set Sorts
11 
12 Author:
13 
14  Christoph Wintersteiger (cwinter) 2012-11-23
15 
16 Notes:
17 
18 --*/
19 
20 using System;
22 
23 namespace Microsoft.Z3
24 {
28  [ContractVerification(true)]
29  public class SetSort : Sort
30  {
31  #region Internal
32  internal SetSort(Context ctx, IntPtr obj)
33  : base(ctx, obj)
34  {
35  Contract.Requires(ctx != null);
36  }
37  internal SetSort(Context ctx, Sort ty)
38  : base(ctx, Native.Z3_mk_set_sort(ctx.nCtx, ty.NativeObject))
39  {
40  Contract.Requires(ctx != null);
41  Contract.Requires(ty != null);
42  }
43  #endregion
44  }
45 }
The main interaction with Z3 happens via the Context.
Definition: Context.cs:32
The Sort class implements type information for ASTs.
Definition: Sort.cs:29
Set sorts.
Definition: SetSort.cs:29