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