Z3
src
api
dotnet
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
;
21
using
System
.Diagnostics.Contracts;
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
}
System
using System
Definition:
InterpolationContext.cs:7
Microsoft.Z3.Native
Definition:
Native.cs:40
System
Microsoft
Microsoft.Z3.Native.Z3_mk_set_sort
static Z3_sort Z3_mk_set_sort(Z3_context a0, Z3_sort a1)
Definition:
Native.cs:2958
Microsoft.Z3.Context
The main interaction with Z3 happens via the Context.
Definition:
Context.cs:31
Microsoft.Z3.Sort
The Sort class implements type information for ASTs.
Definition:
Sort.cs:29
Microsoft.Z3.SetSort
Set sorts.
Definition:
SetSort.cs:29
Generated on Tue Jul 19 2016 21:26:48 for Z3 by
1.8.11