Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up build warnings #5884

Merged
merged 3 commits into from
Mar 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions src/api/dotnet/NativeContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -308,25 +308,25 @@ public Z3_ast MkImplies(Z3_ast t1, Z3_ast t2)
/// Integer Sort
/// </summary>
public Z3_sort IntSort => Native.Z3_mk_int_sort(nCtx);

/// <summary>
/// Boolean Sort
/// Returns the "singleton" BoolSort for this NativeContext
/// </summary>
public Z3_sort BoolSort => Native.Z3_mk_bool_sort(nCtx);

/// <summary>
/// Real Sort
/// Returns the "singleton" RealSort for this NativeContext
/// </summary>
public Z3_sort RealSort => Native.Z3_mk_real_sort(nCtx);


/// <summary>
/// Bit-vector sort
/// Returns the BvSort for size in this NativeContext
/// </summary>
/// <param name="size"></param>
/// <returns></returns>
public Z3_sort MkBvSort(uint size) => Native.Z3_mk_bv_sort(nCtx, size);

/// <summary>
/// Given an elemSort create a List of elemSort
/// The function returns the list sort, constructors, accessors and recognizers
/// returns ListSort
/// </summary>
/// <param name="name"></param>
/// <param name="elemSort"></param>
Expand Down Expand Up @@ -436,7 +436,7 @@ public Z3_ast MkConst(string name, Z3_sort range)

#region Symbol
/// <summary>
/// Create a symbol from a string
/// Return a ptr to symbol for string
/// </summary>
/// <param name="name"></param>
/// <returns></returns>
Expand Down Expand Up @@ -809,6 +809,7 @@ public Z3_ast MkForall(Z3_sort[] sorts, Z3_symbol[] names, Z3_ast body, uint wei
}

/// <summary>
/// Same as MkForAll but defaults to "forall" = false
/// Create an existential Quantifier.
/// </summary>
/// <param name="sorts"></param>
Expand Down Expand Up @@ -1142,7 +1143,7 @@ public Z3_ast[] GetAppArgs(Z3_app app)
}

/// <summary>
/// Retrieve number of arguments to a function application
/// Return number of arguments for app
/// </summary>
/// <param name="app"></param>
/// <returns></returns>
Expand Down
4 changes: 3 additions & 1 deletion src/api/dotnet/NativeModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,14 @@ public class ArrayValue
public Z3_ast Else;

/// <summary>
/// Domain for array
/// Updates.Keys
/// </summary>
public Z3_ast[] Domain;

/// <summary>
/// Updates.Range
/// Range for array
/// Updates.Values
/// </summary>
public Z3_ast[] Range;
}
Expand Down