diff --git a/src/api/dotnet/Context.cs b/src/api/dotnet/Context.cs
index 68cca046e..ae8b233d1 100644
--- a/src/api/dotnet/Context.cs
+++ b/src/api/dotnet/Context.cs
@@ -303,6 +303,9 @@ namespace Microsoft.Z3
///
/// Create a new finite domain sort.
+ /// The name used to identify the sort
+ /// The size of the sort
+ /// The result is a sort
///
public FiniteDomainSort MkFiniteDomainSort(Symbol name, ulong size)
{
@@ -315,6 +318,11 @@ namespace Microsoft.Z3
///
/// Create a new finite domain sort.
+ /// The name used to identify the sort
+ /// The size of the sort
+ /// The result is a sort
+ /// Elements of the sort are created using ,
+ /// and the elements range from 0 to size-1.
///
public FiniteDomainSort MkFiniteDomainSort(string name, ulong size)
{
diff --git a/src/api/z3_api.h b/src/api/z3_api.h
index 458e2f53f..2b8c74e65 100644
--- a/src/api/z3_api.h
+++ b/src/api/z3_api.h
@@ -1721,6 +1721,8 @@ extern "C" {
To create constants that belong to the finite domain,
use the APIs for creating numerals and pass a numeric
constant together with the sort returned by this call.
+ The numeric constant should be between 0 and the less
+ than the size of the domain.
\sa Z3_get_finite_domain_sort_size