mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 19:27:06 +00:00
add multi-argument select for C#
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
9bc4914268
commit
d953bdd2e4
|
@ -44,5 +44,10 @@ namespace Microsoft.Z3
|
|||
get { return Context.MkSelect(this, index); }
|
||||
}
|
||||
|
||||
public Expr this[IEnumerable<Expr> index]
|
||||
{
|
||||
get { return Context.MkSelect(this, index.ToArray()); }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2079,6 +2079,7 @@ namespace Microsoft.Z3
|
|||
return Expr.Create(this, Native.Z3_mk_select_n(nCtx, a.NativeObject, AST.ArrayLength(args), AST.ArrayToNative(args)));
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Array update.
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in a new issue